Cov txheej txheem:
- Kauj Ruam 1: Lwm Lub Sijhawm
- Kauj Ruam 2: Cov Ntaub Ntawv thiab Kos Duab
- Kauj Ruam 3: Kev Sib Txuas
- Kauj ruam 4: Tiav lawm
- Kauj ruam 5: Ua tiav
Video: DS1302 Moos Nrog 2.4 TFT LCD: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nyob zoo!
Hnub no kuv yuav qhia koj yuav ua li cas thiaj ua lub moos yooj yim nrog RTC thiab TFT LCD rau Arduino.
Txoj haujlwm yooj yim rau cov pib, nws tuaj yeem sib sau ua ke thiab teeb tsa tsawg dua 30 feeb.
Kauj Ruam 1: Lwm Lub Sijhawm
Ob peb lub hlis dhau los kuv txiav txim siab los ua kuv tus kheej lub moos yooj yim nrog 2.4 nti LCD.
Kuv siv nws hauv chav nyob thiab nws yog lub teeb pom kev zoo hmo ntuj. Nws tiv thaiv kuv ntawm ncaws hauv rooj tog los ntawm kev sib tsoo; thiab niam nyiam nws ib yam:)
Qhov RTC module no tsis kim thiab siv tau yooj yim heev nrog Arduino. Nws tsis zoo li cov uas siv I2C raws tu qauv (DS3231, 1307).
DS1302:
Tus qauv muaj 5 tus pin: VCC, Hauv av, RST, CLK, DAT 3 tus pin tuaj yeem txuas nrog txhua tus lej digital ntawm arduino.
Qhov zoo tshaj plaws ntawm rtc yog tias nws tsis siv I2C (SCL, SDA) BUS.
Qhov tsis zoo tshaj plaws: Rtc nti tsis tau them cua sov. Nws txhais li cas ?? Nws txhais tau tias qhov ntsuas kub feem ntau yuav muaj qhov cuam tshuam rau lub sijhawm drift. Hauv chav sov, lub sijhawm drift yog 2-4 feeb hauv ib hlis. Yog li peb tsis tuaj yeem hais qhov no yog qhov tseeb rtc.
Qhov TFT LCD no feem ntau xav tau A4 tus pin rau RESET, thiab kuv tau sim hloov kho qhov tshwj xeeb no (A4 kom rov pib dua tus pin) kom siv tus qauv DS3231. Txog tam sim no kuv tsis tuaj yeem ua haujlwm, tab sis kuv tseem tab tom nrhiav kev daws teeb meem.
Kauj Ruam 2: Cov Ntaub Ntawv thiab Kos Duab
Cov ntu xav tau rau txoj haujlwm no:
-Arduino Uno (Mega thiab lwm yam …)
-DS1302 RTC
-2.4 TFT LCD
-qee cov jumper xov hlau
-Arduino IDE, kos duab, tsev qiv ntawv thiab lub sijhawm pub dawb me ntsis
Kauj Ruam 3: Kev Sib Txuas
Nws yog teeb tsa yooj yim heev. Txuas lub LCD rau Arduino. Kuv tau siv cov pins rau txoj kev rov qab ntawm arduino, yog li rtc txuas nrog rau sab nraum qab ntawm lub rooj tsavxwm.
VCC: 3.3 lossis 5 volts
Av: Hauv av
RST: Cov Digital 10
DAT: Cov 11
CLK: Cov Digital 12
Kauj ruam 4: Tiav lawm
Tom qab txuas cov ntu upload cov duab kos rau lub rooj tsavxwm thiab koj tau ua tiav.
Hauv qhov kos duab koj tuaj yeem yooj yim teeb lub sijhawm rau tus qauv.
//rtc.setDOW(FRIDAY);
//rtc.setTime(17, 15, 00);
//rtc.setDate(15, 3, 2018);
Firts tsis pom zoo cov kab, tom qab ntawv teeb lub sijhawm, hnub thiab hnub tim raug.
Upload nws, tawm tswv yim kab dua thiab upload.
Qhov ntawd yog nws! Lub sijhawm tau teeb tsa thiab npaj mus.
Kauj ruam 5: Ua tiav
Koj ua tiav!
Siv nws li koj nyiam.
Muaj ib hnub zoo!
Pom zoo:
DIY Exploding Phab Ntsa Moos Nrog Teeb Pom Kev Zoo: 20 Cov Kauj Ruam (nrog Duab)
DIY Exploding Wall Clock With Motion Lighting: Hauv qhov kev qhia / vis dis aus no kuv yuav qhia koj ib kauj ruam zuj zus yuav ua li cas thiaj muaj tswv yim thiab tshwj xeeb saib phab ntsa moos nrog kev teeb tsa teeb pom kev zoo.Qhov no lub cim tshwj xeeb tsim lub tswv yim yog qhia ua kom sib tham ntau dua . Thaum kuv taug kev
Cov Tub Ntxhais Hluav Taws Xob Moos Moos: 9 Kauj Ruam (nrog Duab)
Cov Tub Ntxhais Hluav Taws Xob Moos: Kuv ib txwm tau nyiam los ntawm cov teev tsis txawv txav. Nov yog ib qho ntawm kuv qhov kev tsim kho tshiab kawg uas siv cov tub ntxhais txias txias tus lej los tso saib lub sijhawm. Cov lej tau muab tso rau ntawm ib daim me me ntawm Plexiglas uas muaj cov ntawv nyias nyias laminated rau tom qab
Ua Koj Tus Kheej Retro Nixie Moos Nrog RTC !: 7 Kauj Ruam (nrog Duab)
Ua Koj Tus Kheej Retro Nixie Moos Nrog RTC!: Hauv qhov haujlwm no kuv yuav qhia koj yuav tsim lub moos nixie retro li cas. Qhov ntawd txhais tau tias kuv yuav qhia koj li cas koj tuaj yeem tswj cov hlab nixie nrog lub zog hluav taws xob DC lub zog loj thiab tom qab ntawd kuv yuav muab 4 lub raj nixie nrog Arduino, Lub Sijhawm Tiag (RTC) thiab
ESP8266 POV Ntxuam nrog Moos thiab Web Page Hloov Kho Tshiab: 8 Kauj Ruam (nrog Duab)
ESP8266 POV Ntxuam nrog Moos thiab Web Nplooj Ntawv Hloov Kho Tshiab: Qhov no yog qhov hloov pauv tau sai, POV (Kev Pom Kev Tsis Pom Kev), Kiv cua uas tsis tu ncua qhia lub sijhawm, thiab ob kab lus uas tuaj yeem hloov kho tshiab "ntawm yoov." kuj tseem yog nplooj ntawv web server uas tso cai rau koj hloov ob kab ntawv rau kuv
Ua Nixie Moos Nrog Arduino hauv MDF Wood Case: 11 Kauj Ruam (nrog Duab)
Ua Nixie moos Nrog Arduino nyob rau hauv MDF Ntoo Rooj plaub no: Nyob rau hauv cov lus qhia no, kuv yuav qhia li cas yuav ua rau Nixie moos nrog Arduino los ntawm Circuit Court uas yog raws li ntau cias li sai tau. Txhua tus ntawm lawv tau muab tso rau hauv rooj plaub ntoo MDF. Tom qab ua tiav, lub moos zoo li cov khoom lag luam: saib zoo thiab khov kho.Let's st