Cov txheej txheem:
- Kauj Ruam 1: LCD (kua Crystal Display)
- Kauj Ruam 2: TUS KHEEJ
- Kauj ruam 3: HARDWARE
- Kauj ruam 4: CODING
Video: Nyob zoo ntiaj teb! ntawm LCD Siv CloudX M633: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Hauv qhov kev qhia no, peb tab tom yuav tso tawm ntawm LCD (Cov Khoom Siv Ua Kua Crystal).
Kauj Ruam 1: LCD (kua Crystal Display)
Cov LCDs muaj qhov sib txuas sib luag, txhais tau tias lub microcontroller yuav tsum tau siv ntau tus lej sib cuam tshuam ib zaug los tswj cov zaub. Lub interface muaj cov pins hauv qab no:
Sau npe xaiv (RS) tus pin uas tswj hwm qhov twg hauv LCD lub cim xeeb koj tab tom sau cov ntaub ntawv rau. Koj tuaj yeem xaiv ob qho ntaub ntawv sau npe, uas tuav dab tsi mus rau ntawm lub vijtsam, lossis daim ntawv qhia sau npe, uas yog qhov LCD tus tswj xyuas saib rau cov lus qhia yuav ua dab tsi ntxiv.
Nyeem/Sau (R/W) tus pin uas xaiv hom nyeem lossis sau hom
Enable tus pin uas ua rau sau ntawv mus rau npe
8 cov ntaub ntawv pins (D0 -D7). Cov xeev ntawm cov pins (siab lossis qis) yog cov khoom uas koj tab tom sau rau npe thaum koj sau, lossis qhov tseem ceeb uas koj tab tom nyeem thaum koj nyeem.
Kuj tseem muaj cov duab teeb pom kev zoo tus pin (Vo), lub hwj huam muab pins (+ 5V thiab Gnd) thiab LED Backlight (Bklt+ thiab BKlt-) pins uas koj tuaj yeem siv los ua lub zog LCD, tswj cov teeb pom kev zoo, thiab qhib thiab tua LED backlight, feem.
Cov txheej txheem ntawm kev tswj cov zaub cuam tshuam nrog muab cov ntaub ntawv uas tsim cov duab ntawm yam koj xav kom tso rau hauv cov ntaub ntawv sau npe, tom qab ntawd muab cov lus qhia tso rau hauv cov ntawv qhia. Lub Tsev Qiv Ntawv LiquidCrystal ua qhov no yooj yim rau koj yog li koj tsis tas yuav paub cov lus qhia qis.
Hitachi-sib xws LCDs tuaj yeem tswj tau hauv ob hom: 4-ntsis lossis 8-ntsis. Hom 4-ntsis xav tau xya I/O pins los ntawm Arduino, thaum 8-ntsis hom xav tau 11 tus pin. Txhawm rau pom cov ntawv ntawm lub vijtsam, koj tuaj yeem ua txhua yam hauv 4-ntsis hom, yog li piv txwv qhia tias yuav tswj hwm 2x16 LCD hauv 4-ntsis hom li cas.
Kauj Ruam 2: TUS KHEEJ
- CloudX M633
- CloudX SoftCard
- V3 kab
- LCD 16 x 2
- 10k Ohm Potentiometer
- Jumper hlau
- 220 ohm resistor
- BreadBoard
koj tuaj yeem yuav koj cov khoom ntawm no
Kauj ruam 3: HARDWARE
- LCD RS tus pin rau tus lej digital 1 ntawm Cloudx M633
- LCD Pab tus pin rau tus lej digital 2 ntawm Cloudx M633
- LCD D4 tus pin rau tus lej digital 3 ntawm Cloudx M633
- LCD D5 tus pin rau tus lej digital 4 ntawm Cloudx M633
- LCD D6 tus pin rau tus lej lej 5 ntawm Cloudx M633
- LCD D7 tus pin rau tus lej digital 6 ntawm Cloudx M633
Ib qho ntxiv, xaim 10k lauj kaub rau +5V thiab GND, nrog nws lub wiper (tso tawm) rau LCD cov ntxaij vO pin. 220 ohm resistor tau siv los txhawb lub teeb pom kev ntawm cov zaub, feem ntau ntawm tus pin 15 thiab 16 ntawm LCD txuas
Kauj ruam 4: CODING
Luam cov cai no rau koj li CloudX IDE
#suav nrog#suav nrog
teeb tsa () {
lcdSetting (1, 2, 3, 4, 5, 6); lcdCmd (meej); lcdCmd (cursorOff);
rov () {
lcdWriteText (1, 2, "HELLO NTIAJ TEB!"); lcdWriteText (2, 2, "Kuv Siv CLOUDX");
}
}
Pom zoo:
Tsim Yooj Yim "Nyob Zoo Ntiaj Teb" App Los Ntawm Kos hauv Flutter: 7 Cov Kauj Ruam
Tsim Yooj Yim "Nyob Zoo Ntiaj Teb" App Los Ntawm Kos hauv Flutter: Nyob zoo cov neeg, Kuv tau tsim Flutter Tutorial rau Cov Pib Pib
Yuav Ua Li Cas Tsim Lub Ntiaj Teb Ntse Hauv Ntiaj Teb hauv 10 Hnub: 12 Kauj Ruam
Yuav Tsim Li Cas Lub Ntiaj Teb Ntse Hauv Ntiaj Teb hauv 10 Hnub: Kuv tab tom ua haujlwm uas coj cov tub ntxhais kawm los ntawm Tuam Tshoj, Philippines thiab Asmeskas ua ke ntawm pab pawg los sib tw hauv World Robot Olympiad hauv Long Beach, California. Lub ntsiab lus ntawm xyoo no yog Lub Nroog Ntse. Yog li peb tab tom tsim Lub Nroog Ntse los ntawm Ju
Thoob Ntiaj Teb (Ntiaj Teb Ntse): 5 Kauj Ruam
Nyob ib ncig ntawm lub Ntiaj Teb (Smart Globe): Txoj haujlwm no tau tsim rau chav kawm MIT, Qhia Ua (15.351). Peb txoj haujlwm, hu ua "Thoob Ntiaj Teb", yog lub ntiaj teb ntse uas teb rau cov neeg siv nkag mus hauv ib lub nroog mus rau hauv lub davhlau ya nyob twg. Thaum lub nroog nkag mus, lub ntiaj teb tig ntawm lub cav txuas rau kuv
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
Python Nyob Zoo Ntiaj Teb!: 8 Cov Kauj Ruam
Python Nyob Zoo Hauv Ntiaj Teb!: Nov yog ib qib los ntawm kev qhia ib qib ntawm kev tsim cov program Python yooj yim siv PyCharm Community Edition