Cov txheej txheem:
- Kauj ruam 1: Cov ntaub ntawv
- Kauj ruam 2: Mounting Moos
- Kauj Ruam 3: Teem Sijhawm
- Kauj ruam 4: Lub moos
- Kauj ruam 5: Mounting Timer
- Kauj ruam 6: Timer
Video: Arduino Timer Nrog On/Off Teeb Taw Qhia: 6 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Hloov kho 05-02-2018 Timers tshiab! teev, feeb, vib nas this, eeprom. Thov mus ntsib:
www.instructables.com/id/Arduino-Ultra-Meg…
Nyob zoo, nrog txoj haujlwm no koj yuav tuaj yeem tswj tau lub thiab tawm ntawm koj li khoom nruab nrab ntawm lub sijhawm koj xav tau. Tej zaum lawv yuav yog lub teeb pom kev hmo ntuj, ywg dej rau lub vaj, tig lub tshuab, thiab lwm yam Peb yuav siv cov arduino, LCD thiab RTC 1307 los qhia thiab tswj lub sijhawm. Koj tuaj yeem teeb tsa "ON" teev thiab "OFF" teev, los ntawm 4 lub pob nyem uas tso cai rau koj nce lossis txo qhov "SET POINT". Tsis tas li, koj yuav kawm ua lub moos nrog arduino. Kuv suav nrog kev ua kom tsis sib haum thiab cov vis dis aus, yog li koj tuaj yeem ua qhov haujlwm no.
Ua ntej tshaj, saib cov vis dis aus kom paub tias txhua yam hais txog dab tsi. Siv nws zoo li phau ntawv qhia
Kauj ruam 1: Cov ntaub ntawv
-Arduino Ib
-RTC 1307 tus qauv
-LCD 16X2
-5V relay module
-10K trimpot
-1K tus tiv thaiv
-10K resistors x 4
-Xaub cov x 4
-Breadboard, dhia.
Kauj ruam 2: Mounting Moos
Ua raws Fritzing schematic.
Txuas 5v thiab gnd, los ntawm arduino mus rau lawv txoj kab (Liab 5V thiab Xiav GND)
LCD pins rau Arduino pins
1 TZS to GND
2 VDD rau 5V
3 VO rau lub lauj kaub nruab nrab
4 RS to pin 2
5 TZS to GND
6 EN lossis E rau tus pin 3
7d0 nco
8d1 nco
9d2 nco
10 D3 NC
11 D4 pin 4
12 D5 pin 5
13 D6 pin 6
14 D7 pin 7
15A rau 5V
16 K rau GND los ntawm 1K resistor
Qhov tsis txaus ntseeg ntawm trimpot rau 5V thiab GND
RTC rau Arduino
SDA to pin 4
SCL to pin 5
GND thiab 5V
Kauj Ruam 3: Teem Sijhawm
Tam sim no peb yuav tsum teev sijhawm. Khiav cov cai "Teem sijhawm RTC". Cov duab kos no siv Hnub thiab Sijhawm raws li lub khoos phis tawj koj siv (yog thaum koj sau cov cai) thiab siv qhov ntawd los ua haujlwm RTC. Yog tias koj lub khoos phis tawj lub sijhawm tsis raug teeb tsa koj yuav tsum kho qhov ntawd ua ntej. Tom qab ntawd koj yuav tsum nias lub pob Upload kom muab tso ua ke thiab tom qab ntawd rub tawm tam sim.
Lus ceeb toom!: Yog tias koj sau ua ke thiab tom qab ntawv tshaj tawm tom qab, lub moos yuav tawm los ntawm lub sijhawm ntawd.
Tom qab ntawd qhib qhov Serial monitor window kom pom tias lub sijhawm tau teeb tsa
Kauj ruam 4: Lub moos
Nrog lub sijhawm teeb tsa, qhib thiab rub daim duab "Clock with RTC LCD". 10K trimpot yog rau qhov sib piv lcd. Turn nws los kho qhov sib txawv thiab pom cov lej kom meej.
Yog tias txhua yam ua haujlwm tau zoo, koj yuav muaj lub moos khiav. Saib cov yees duab.
Kauj ruam 5: Mounting Timer
Tam sim no peb ntxiv cov laub khawm thiab cov relay. Ua raws li cov txheej txheem fritzing.
Yog li, koj muaj pins 8, 9, 10 thiab 11 txuas nrog gnd los ntawm 10K resistor (LOW). Thaum koj thawb, nws yuav txuas nrog 5V (HIGH).
Kev xa xov txuas nrog tus pin 12. Nrog tus xa koj tuaj yeem tswj hwm koj cov khoom siv. Ceev faj nrog qhov siab tshaj plaws ntawm kev xa tawm!
Kauj ruam 6: Timer
Qhib thiab upload cov cai "Timer nrog rau ntawm qhov teeb tsa teeb tsa". Koj yuav pom lub sijhawm tam sim no, "ON" teeb tsa taw tes thiab "OFF" teeb tsa taw tes. Lub sijhawm pib "ON" thiab "OFF" lub sijhawm yog 12.
Lub sijhawm ua haujlwm ntawm 0 txog 23 teev, thiab ntxiv rau. Laub cov nyees khawm kom hloov lub teeb taw tes nce thiab nqis. Lub timer yuav pib tam sim yog tias nws nyob nruab nrab ntawm qhov teeb tsa qhov chaw. Yog tsis yog, yuav tos rau "ON" teev.
Txoj cai no muaj cov haujlwm nthuav dav uas koj tuaj yeem siv hauv lwm txoj haujlwm. Kuv sim cais txhua txoj haujlwm kom ua kom pom tseeb.
- Ntxiv cov nyees khawm hloov chaw
-Tshem tawm cov nyees khawm
-Limit ntawm qhov teeb tsa taw tes lossis ib qho txiaj ntsig
- Ntxiv lub moos rau koj qhov haujlwm
Txhua tus lej yog tsim los ntawm kuv, exept:
Teem sijhawm RTC, Adafruit cov ntaub ntawv logger daim thaiv qhia
Kuv vam tias qhov kev qhia no muaj txiaj ntsig zoo rau koj!
Nicolás Jarpa: koj puas xav tau ntau tus thwjtim?
Pom zoo:
LED Qhov Taw Qhia Qhov Taw Qhia Tus Menyuam: 5 Kauj Ruam (nrog Duab)
LED Qhov Taw Qhia Qhov Taw Qhia Tus dev: Kuv ib txwm coj kuv tus dev Rusio mus taug kev thaum lub hnub poob qis kom nws tuaj yeem ua si yam tsis tau kub heev. Qhov teeb meem yog tias thaum nws tawm ntawm txoj hlua qee zaum nws tau zoo siab heev thiab ua haujlwm ntau dua li nws yuav tsum thiab nrog lub teeb qis thiab lwm tus dev
Lub Hom Phiaj Taw Qhia: Tsim Lub Hom Phiaj Kawm/Qhia Txoj Kev/Cov Txheej Txheem Siv Cov Duab Puncher: 5 Kauj Ruam
Lub Hom Phiaj Taw Qhia: Tsim Lub Hom Phiaj Kawm/Qhia Txoj Kev/Cov Qauv Siv Cov Duab Puncher: Kawm/qhia txoj hauv kev rau cov tub ntxhais kawm tshiab rau kev tsom mus rau lub hom phiaj. Nov yog txoj hauv kev tso cai rau lawv kom pom kev thiab pom cov txheej txheem ntawm kev tsim cov khoom los ntawm cov chav kawm. EkTools 2-nti loj punch; cov duab zoo tshaj plaws. 2. Daim ntawv los yog c
Hnub Ci Charger, GSM, MP3, Roj teeb Go-Pro, Nrog Roj Teeb Qhia Qhov Taw Qhia!: 4 Cov Kauj Ruam
Hnub Ci Charger, GSM, MP3, Roj teeb Go-Pro, Nrog Lub Roj Teeb Qhia Qhov Taw Qhia!: Ntawm no txhua yam pom nyob hauv cov thoob khib nyiab.-1 usb txhawb DC 0.9v/5v (lossis tshem tawm USB Tsheb Cigarette Charger Teeb 5v,+ thaum kawg thiab-ntawm ib sab ntawm lub ntsiab lus) -1 Cov roj teeb (cov menyuam yaus ua si) -1 lub hnub ci vaj huam sib luag (ntawm no 12 V) tab sis 5v yog qhov zoo tshaj plaws! -1 GO-Pro Ba
Yuav Ua Li Cas Thiaj Li Taw Qhia Qhov Taw Qhia: 6 Kauj Ruam
Yuav Ua Li Cas Thiaj Li Qhia Tus Kheej: Lub hom phiaj tseem ceeb ntawm daim ntawv thov no yog txhawm rau ntsuas qhov hnyav ntawm ib yam khoom tom qab ntawd qhia nrog lub tswb nrov thaum muaj qhov hnyav dhau. Cov tswv yim ntawm lub kaw lus los ntawm lub xov tooj ntawm tes. Kev tawm tswv yim yog lub teeb liab sib piv uas tau nthuav dav los ntawm qhov sib txawv
Cov Khaub Ncaws Khaub Ncaws Jelly Donuts - Kev Taw Qhia rau Xaws Cov Khaub Ncaws Nrog Makey Makey: 4 Cov Kauj Ruam (nrog Duab)
Cov Khaub Ncaws Khaub Ncaws Khaub Ncaws - Kev Taw Qhia rau Xaws Cov Khaub Ncaws Nrog Makey Makey: Peb pom hauv Twitter tias ntau ntawm peb Cov Khaub Ncaws thiab Makey Makey cov neeg ntxeev siab xav paub ntau ntxiv txog kev xaws khaub ncaws, yog li peb tau tsim qhov kev qhia no kom qhia rau koj sai ntawm kev xaws khaub ncaws thiab yuav ua li cas koj tuaj yeem xaws qee cov khoom sib dhos. (Qhov no yog