Cov txheej txheem:
- Kauj ruam 1: Cov ntaub ntawv
- Kauj Ruam 2: Cov Taub Hau Solder
- Kauj Ruam 3: Txhim Kho Cov Hluav Taws Xob
- Kauj Ruam 4: Hluav Taws Up Arduino IDE
- Kauj ruam 5: Code Sketch
- Kauj Ruam 6: Saib Qhov tshwm sim
Video: Yuav ua li cas cuam tshuam 16x4 LCD Nrog Arduino: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Taw qhia
Tsis ntev los no kuv tau txais qee qhov qauv dawb LCD los ntawm kuv cov phooj ywg ntawm FocusLCDs.com. Ib qho uas yog 16x4 LCD; P/N: C164AXBSYLY6WT. Nws siv tus tswj ST7066U (saib cov ntawv teev cia ntawm no) hloov qhov HD44780 feem ntau pom hauv LCD cov ntaub thaiv npog. Kuv tsis paub meej tias nws yuav ua haujlwm nrog Arduino thiab nws cov tsev qiv ntawv, yog li kuv xav sim nws.
Cov ntsiab lus ntawm cov yam ntxwv
- Cov Duab Zoo, Pom Pom Lub Zos
- Tsav tsheb: ST7066U
- Tom Qab Daj
- Y/G Backlight
- Kub ntau: -20 ° C txog +70 ° C
- Ua raws ROHS
Kauj ruam 1: Cov ntaub ntawv
Sau cov ntaub ntawv teev tseg hauv qab no:
- Arduino (UNO lossis MEGA)
- 16 x 4 LCD; C164AXBSYLY6WT
- Tsis Siv Neeg Breadboard
- Dupont Jumper Wires
- 2.54mm-Suab Headers
- 10k Ohm Potentiometer
- Arduino IDE Cov
- USB Cable
Kauj Ruam 2: Cov Taub Hau Solder
Solder lub taub hau rau lub LCD module. Tag nrho 16 tus pin. Xa mus rau daim duab no rau pinouts.
Kauj Ruam 3: Txhim Kho Cov Hluav Taws Xob
Hlau lub Circuit Court raws li qhia; ua nws nrog Fritzing. Lub potentiometer yog rau sib txawv teeb pom kev zoo.
Kauj Ruam 4: Hluav Taws Up Arduino IDE
Tua koj tus Arduino IDE. Saib xyuas kom xaiv lub rooj tsav xwm raug cai xws li Arduino UNO lossis MEGA, thiab lwm yam thiab xaiv qhov chaw nres nkoj raug.
Kauj ruam 5: Code Sketch
Ntaus hauv daim duab no hauv IDE thiab rub tawm.
/* Nov yog cov duab kos los ntsuas 16x4 LCD:
* FocusLCD P/N: C164AXBSYLY6WT
*/
#suav nrog LiquidCrystal lcd (8, 9, 4, 5, 6, 7);
void teeb tsa () {
lcd.begin (16, 4);
lcd.setCursor (0, 0);
lcd.print ("FocusLCDs.com");
lcd.setCursor (0, 1);
lcd.print ("Qhov zoo tshaj plaws LCDs!");
lcd.setCursor (0, 2);
lcd.print ("P/N:");
lcd.setCursor (0, 3);
lcd.print ("C164AXBSYLY6WT");
}
void voj () {
}
Kauj Ruam 6: Saib Qhov tshwm sim
Nrog koj zoo siab! Koj lub LCD yuav tsum qhia qee yam zoo li no.
Pom zoo:
Yuav Ua Li Cas Cuam Tshuam Analog & Digital Moos Nrog Led Sawb Siv Arduino: 3 Kauj Ruam
Yuav Ua Li Cas Analog Clock & Digital Clock Nrog Led Sawb Siv Arduino: Hnub no peb yuav ua Tus Analog Clock & Digital moos nrog Led Sawb thiab MAX7219 Dot module nrog Arduino. Lub moos sib piv tuaj yeem siv cov kab hluav taws xob LED ntev dua, yog li nws tuaj yeem dai ntawm phab ntsa los ua tus kws kos duab
Yuav ua li cas cuam tshuam Dual Axis Joystick Nrog Arduino Uno: 5 Kauj Ruam
Yuav ua li cas cuam tshuam Dual Axis Joystick Nrog Arduino Uno: Ntawm no peb tab tom cuam tshuam ib qho duel axis joystick nrog arduino uno. Qhov joystick no muaj ob tus lej sib piv rau x axis thiab y axis thiab ib tus lej digital rau hloov
Yuav ua li cas cuam tshuam GPS Module (NEO-6m) Nrog Arduino: 7 Kauj Ruam (nrog Duab)
Yuav ua li cas cuam tshuam GPS Module (NEO-6m) Nrog Arduino: Hauv qhov haujlwm no, kuv tau qhia yuav ua li cas cuam tshuam GPS module nrog Arduino UNO. Cov ntaub ntawv rau qhov ntev thiab txoj kab nruab nrab tau tshwm ntawm LCD thiab qhov chaw tuaj yeem pom ntawm app.List ntawm cov khoom Arduino Uno == > $ 8 Ublox NEO-6m GPS module == > $ 1516x… nyeem ntxiv
Yuav Ua Li Cas Cuam Tshuam TV lossis Lwm Yam Nrog Arduino Irlib: 3 Kauj Ruam (nrog Duab)
Hnub no peb yuav kawm, raws li lub npe hais, kom ua raws lub TV nyob deb lossis qee yam zoo sib xws uas ua haujlwm nrog Infrared teeb liab siv Arduino (txhua tus qauv) .Qhov teeb meem yog: Kuv tuaj yeem xa cov lej mus rau
Tus Cuam Tshuam Cuam Tshuam (ntsuas phoo Cam Cuam Tshuam Cuam Tshuam): 4 Cov Kauj Ruam
Solder Saver (txhav tas Cam Cuam Tshuam Cuam Tshuam): "Yuav ua li cas kuv thiaj yuav tsum qhia ua ntej Cov Lus Qhia no?" Kuv nug kuv tus kheej. Zoo li, txij li thaum pib ntawm lub sijhawm, tus txiv neej muaj qhov xav kom lo lo rau hauv tus cwj mem thiab tshaj tawm cov duab online. Zoo, Kuv tau txiav txim siab luv luv delving rau hauv keeb kwm loj dua ntawm tus cwj mem yaj, b