Cov txheej txheem:

Pib Nrog 0.5 "OLED Zaub: 4 Cov Kauj Ruam
Pib Nrog 0.5 "OLED Zaub: 4 Cov Kauj Ruam

Video: Pib Nrog 0.5 "OLED Zaub: 4 Cov Kauj Ruam

Video: Pib Nrog 0.5
Video: Суп на Всю Семью из Огромной Рыбьей ГОЛОВЫ! БОРЩ в КАЗАНЕ! 2024, Kaum ib hlis
Anonim
Image
Image

Koj puas tau xav tau lub vijtsam me me rau txoj haujlwm tab sis tsuas yog qhov uas koj pom yog 16x2 LCD zaub?

Tam sim no qhov kev thov loj dua, thiab lawv tuaj nyob hauv txhua qhov ntau thiab tsawg. DFRobot xa SPI/I2C Monochrome 60x32 0.5 OLED Display rau Arduino rau kuv qhov haujlwm tom ntej.

Kauj Ruam 1: Cheeb Tsam

Schematic
Schematic

Hauv pob koj yuav tau txais:

- 0.5 OLED zaub

- OLED Tsav tsheb

- 2x Poj niam lub taub hau

Kauj ruam 2: Schematic

Txuas:

Tsav PCB >>> Arduino UNO

Cov Ntaub Ntawv Hauv >>> Digital Pin 8

Moos >>> Digital Pin 9

A0 (Sau Npe Xaiv) >>> Digital Pin 10

CS (Chip Xaiv) >>> Digital Pin 11

Pib dua >>> Digital Pin 12

3.3V (pin 7) >>> 3.3V

GND (tus pin 9) >>> GND

Kauj ruam 3: Code

Code
Code

Nruab U8glib lub tsev qiv ntawv hauv koj phau ntawv Arduino Library.

Mus rau nplooj ntawv DFRobot wiki.

Luam cov qauv qauv thiab muab tso rau hauv koj li Arduino IDE. Tso nws.

Kauj ruam 4: Xaus

Xaus
Xaus

Kuv tau koj nyiam txoj haujlwm no, tsis txhob hnov qab nyem nws li Favorite.

Kuv tab tom pib kuv tus Youtube channel, yog li ntawd tsis txhob tso tseg los ntawm thiab sau npe yuav kom tau txais kev ceeb toom txog cov vis dis aus tshiab.

Txheeb xyuas kuv cov kev qhia yav dhau los.

Tsis tas li, txhua qhov kev tawm tswv yim thiab kev txhim kho tau txais tos.

"Tsis txhob poob siab, ua ib yam dab tsi"

Pom zoo: