Cov txheej txheem:
- Kauj ruam 1: Kev npaj. Cov Cuab Yeej thiab Khoom Siv
- Kauj ruam 2: Kev npaj. Electronics
- Kauj Ruam 3: Kev npaj ntawm Bluetooth Module
- Kauj Ruam 4: Sib sau thiab Hlawv Txoj Haujlwm
- Kauj ruam 5: Rub tawm, Rub tawm teeb tsa los ntawm Android App
Video: Universal Timer - Sprinkler Controller: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Uni-timer yog Arduino khoos phis tawj raws lub ntiaj teb timer-chav nrog 4 qhov xa tawm, uas tuaj yeem ua haujlwm kom hloov pauv thiab tawm ntawm tus kheej lossis hauv pab pawg ntawm 24 lub sijhawm sib txawv. Lub hom phiaj ntawm txoj haujlwm no yog txhawm rau tsim lub sijhawm cheep programmable ultra, uas yuav tswj hwm cov kais dej, tab sis tau tshwm sim los muaj txiaj ntsig rau lwm cov ntawv thov uas suav nrog lub sijhawm. Qhov teev sijhawm tsawg tshaj plaws yog 1 feeb.
Lub Circuit Court yog tsim los ntawm ob peb cheep modules. Lub sijhawm tuaj yeem teeb tsa ntawm Bluetooth nrog daim ntawv thov Android kuj tau sau los ntawm koj li tiag.
Kauj ruam 1: Kev npaj. Cov Cuab Yeej thiab Khoom Siv
Cov Cuab Yeej:
- Cov hlau hlau
- Cable txiav
- USBasp AVR programmer + software (lossis lwm tus programmer)
- Programmer 10 tus pin rau 6 tus pin hloov pauv
- Khoos phis tawj
- FTDI 232 module (4 jumper cable + breadboard) + Arduino serial monitor lossis Putty software
- Xov tooj hauv
Khoom siv:
- Cov hlau xaim
- Rov ua dua qee lub computer qub IDE cable
- Test Circuit board 2cm x 1cm (tsis tseem ceeb)
- 1K resistor 3 daim
- CR2032 roj teeb
Kauj ruam 2: Kev npaj. Electronics
Cov Qauv:
- Arduino Uno lossis qee qhov clone (microcontroller module, lub hlwb ntawm Circuit Court) - ebay
- Me RTC (me me lub sijhawm teev sijhawm teev sijhawm) - ebay
- HC -05 Bluetooth module (Bluetooth serial module) - ebay
- 4 relay shield rau Arduino Uno (zoo li hauv daim duab saum toj no) - ebay
- DC 9V fais fab mov (nyob ntawm koj lub tebchaws) - ebay
Kauj Ruam 3: Kev npaj ntawm Bluetooth Module
Ua ntej peb sib sau ua ke ntawm lub xov tooj cua Bluetooth module yuav tsum tau npaj los sib txuas lus nrog Android ntaus ntawv thiab Arduino Uno. Qhov no tuaj yeem ua tiav los ntawm kev sib txuas lus txuas nrog tus qauv, thiab ob peb AT cov lus txib.
Txhawm rau xa AT cov lus txib rau Bluetooth module koj yuav tsum txuas nws nrog FTDI 232 tus qauv zoo li hauv Circuit Court saum toj no. (FTDI232 yog qhov txuas mus rau USB hloov pauv, zoo li qhov chaw nres nkoj virtual hauv lub computer)
Rau qhov no siv cov qhob cij-board thiab ob peb xaim. Ntawm qee qhov qauv Bluetooth, khawm B1 tau muab tso rau ntawm lub Circuit Court los ntawm lub hoobkas.
Npaj Bluetooth module:
- Nias lub pob B1 thiab ua kom nws nias, txuas USB cable ntawm FTDI232 rau lub khoos phis tawj, tso lub pob B1. (tam sim no Bluetooth module nkag mus rau AT hom) Pib Arduino software.
- Xaiv qhov chaw sib txuas lus kom raug rau FTDI232 thiab pib Serial monitor ntawm Arduino software.
- Teeb baud-tus nqi rau 38400.
- Teeb nws kom xa: rov qab nqa tsheb thauj khoom thiab kab noj
- Ntaus AT nias nkag mus, yog tias Circuit Court teb OK peb tau ua lag luam.:) Yog tsis yog, pib ntawm taw tes 1.
- Tom ntej no peb teeb lub npe ntawm Bluetooth ntaus ntawv, uas yuav tshwm nyob rau hauv Bluetooth cov npe khoom ntawm lub xov tooj Android. Ntaus AT+NAME = UNITIMER nias sau. Nws yuav tsum yog UNITIMER vim tias hauv app yuav tshawb nrhiav lub npe no.
- Teeb tus lej tus lej ntawm Uni-timer: Ntaus AT+PIN = 1234 lossis ib tus lej 4 tus lej thiab nias nkag mus. (yuav yog qhov tseem ceeb ntawm kev sib txuas ntawm lub cuab yeej hauv Android, yog li cim tus lej)
- Baud-tus nqi tau teeb tsa rau 9600 los ntawm lub Hoobkas tab sis koj tuaj yeem teeb tsa nws los ntawm kev ntaus AT+UART = 9600, 0, 0.
- Ntaus AT+RESET nias nkag mus tawm ntawm AT hom thiab peb tau ua tiav.
Lwm cov lus txib AT tuaj yeem pom ntawm no.
Txuas lub Bluetooth module ntawm lub khob cij.
Kauj Ruam 4: Sib sau thiab Hlawv Txoj Haujlwm
Sib dhos Circuit Court:
Siv daim duab saum toj no. Txiav 8 kab ntev txog 8 cm ntev thiab muab lawv tso rau ntawm Arduino board, zoo li qhia hauv daim duab. Siv lub rooj tsav xwm ntsuas ntsuas ntxiv 3x1K resistors rau RX tus pin ntawm HC-05 Bluetooth module. Qhov ntawd yog txoj hauv kev pheej yig tshaj los txuas 3V RX tus pin rau 5V TX tso tawm. (TTL qib sib piv, tsis muaj cov hluav taws xob tiv thaiv hluav taws xob yuav hlawv) Arduino RX tuaj yeem mloog 3V TTL qib ntawm qhov nrawm no.
Qhov seem 4 qhov kawg ntawm cov xov hlau mus rau TinyRTC module. (peb lub moos)
Plug 4 daim thaiv thaiv qhov txuas thiab koj tau ua tiav nrog lub Circuit Court. Txuas lub roj teeb CR2032 hauv lub qhov (socket) ntawm TinyRTC module. Lub roj teeb yog ua kom lub moos khiav txawm tias tsis muaj lub hwj chim txuas nrog.
Hlawv qhov kev zov me nyuam:
Hmoov tsis zoo kuv yuav tsum tau tshem ntawm Arduino bootloader kom tsis txhob muaj qhov chaw, vim tias daim duab pib ua tsis ruaj tsis khov, tab sis tsis muaj bootloader ua haujlwm raws li qhov xav tau. Yog li koj tuaj yeem tsis tsuas yog xa nws mus rau pawg thawj coj, yuav tsum tau hlawv nrog AVR programmer (USBasp). Cov duab kos tuaj yeem tsav 8 qhov xa tawm tab sis qhov no yog qhov yooj yim dua.
Kuv yuav tsis mus qhia ntau dhau ntawm no, yuav ua li cas hlawv cov program, tau sau thoob plaws hauv is taws nem.
Kuv cov lus qhia: Tsis txhob hloov AVR-s FUSES.
Txuas USBasp (lossis hom tsim nyog) programmer rau Arduino pawg thawj coj thiab siv koj li software rub tawm cov ntaub ntawv hex hauv qab no. Koj yuav tsum siv tus lej 10-6 tus pin lossis qee cov xov txuas los txuas rau lub khoos phis tawj pins ntawm Uno board. Disconnect USBasp. (thaum hlawv qhov program, Arduino board tau siv los ntawm tus programmer, yog tias tsis siv 9V lub zog hloov kho)
Txuas lub 9V adapter, yog tias txhua yam ua tau zoo ntawm LED ntawm Arduino pawg thawj coj yuav pib nyem nrawm, thiab LED ntawm Bluetooth module yuav nyem me ntsis qeeb.
Tam sim no lub Circuit Court npaj tau txais qhov teeb tsa. Kev teeb tsa tau khaws cia rau hauv kev suav nrog eeprom ntawm ATmega 328 nti ntawm Uno board.
Kauj ruam 5: Rub tawm, Rub tawm teeb tsa los ntawm Android App
Rub tawm thiab teeb tsa Uni-timer.apk ntawm koj lub xov tooj Android. Koj yuav tsum siv USB cable txhawm rau ua tiav qhov no thiab pab kom tsis paub qhov chaw los ntawm teeb tsa lub cuab yeej Android. Nov yog li cas thiab vim li cas.
Kuv tseem ua haujlwm ntawm kev sib sau pom kom muaj lub app tso rau hauv khw ua si. Google them qee cov nyiaj rau qhov ntawd. Tsis tas li kuv yuav ua daim ntawv thov rau Apple cov cuab yeej, yog tias tshwm sim los rau tib neeg nyiam.
Teeb:
- Ua ntej tshaj plaws koj yuav tsum rub tawm lub app thiab teeb tsa nws ntawm koj lub cuab yeej Android.
- Plug rau hauv lub hwj chim adapter, tam sim no lub Circuit Court yog nyob rau.
- Pib Bluetooth ntawm lub cuab yeej Android thiab tshawb nrhiav cov cuab yeej tshiab.
- Pair UNITIMER lub cuab yeej, dab yuav nug txog 4 tus lej tus lej lej. (qhov ntawd yog tus lej koj tau nkag rau tus pin Bluetooth.)
- Pib lub app. Coj mus rhaub Download teeb khawm. Lub app nyob rau lub sijhawm luv yuav ua kev sib txuas rau Uni-timer thiab nthuav qhia koj lub qhov rai ceeb toom nrog "Teeb tau rub tawm". Yog tias qhov no tsis ua haujlwm yuav ua rau muaj kev sib txuas tsis raug, lossis thov kev tso cai rau Bluetooth.
- Yog tias txhua yam mus tau zoo coj mus rhaub OK ntawm lub qhov rai ceeb toom, hauv ob peb lub sijhawm app yuav nthuav tawm daim ntawv teeb tsa nrog cov ntaub ntawv rub tawm. (thawj zaug yuav tsis muaj dab tsi)
- Hloov kho cov phiaj xwm koj xav siv, hauv qhov seem tshem tawm cov cim kos los ntawm hnub. (Tsis txhob sib tshooj cov haujlwm nyob rau tib hnub. Qhov uas tau tham txog ntawm no.)
- Coj mus rhaub teeb tsa teeb tsa, koj tau txais lub qhov rai ceeb toom, yog txhua yam mus tau zoo ces koj tau txais lub qhov rai ceeb toom nrog "Teeb tsa tau muab tso rau", yog tias tsis yog, koj tau txais kev ceeb toom nrog tus lej ntawm qhov ua haujlwm tsis raug. (kho qhov program thiab rov ua cov txheej txheem)
- Yog tias qhov program tau rub tawm coj mus rhaub khawm Qhib kom kaw lub app. Koj ua tiav.
Nrog lub app koj tuaj yeem hloov kho teeb tsa txhua lub sijhawm.
Tam sim no koj yuav tsum tau tos rau kev xa xov mus qhib rau lub sijhawm teev tseg. Qhov tso tawm ntawm qhov txuas yog ntsuab ntsaws.
Tseem ceeb !!! Ceev faj tsis pub dhau AC120V 3A lossis AC240V 1, 5A (DC24 3A) hloov pauv tam sim no
Phau Ntawv Qhia Txog Cov Neeg Siv Qhia Tau Paub Ntxiv nyob ntawm no.
Thov txim rau kuv cov lus Askiv tsis zoo.
Pom zoo:
Stepper Motor Nrog D Flip Flops thiab 555 Timer; Thawj ntu ntawm Circuit Circuit 555 Timer: 3 Kauj Ruam
Stepper Motor Nrog D Flip Flops thiab 555 Timer; Thawj Ntu ntawm Circuit 555 Tus Timer: Tus tsav lub cav yog lub cav DC uas txav mus los hauv cov kauj ruam uas tsis sib xws. timer. Nws yog thawj daim duab (saib saum toj no) nrog 555 nti w
AVR Microcontroller. LEDs Flasher Siv Timer. Timers cuam tshuam. Timer CTC Hom: 6 Kauj Ruam
AVR Microcontroller. LEDs Flasher Siv Timer. Timers cuam tshuam. Timer CTC Hom: Nyob zoo txhua tus! Timers yog lub tswv yim tseem ceeb hauv kev siv hluav taws xob. Txhua qhov khoom siv hluav taws xob ua haujlwm raws lub sijhawm. Lub sijhawm no lub hauv paus pab ua kom txhua txoj haujlwm sib koom ua ke. Txhua lub microcontrollers ua haujlwm ntawm qee lub sijhawm teev ua ntej
NE555 Timer - Kev teeb tsa NE555 Timer hauv Kev Kho Kom Zoo: 7 Cov Kauj Ruam
NE555 Timer | Kev teeb tsa NE555 Timer hauv Kev Kho Kom Zoo: Lub sijhawm NE555 yog ib qho ntawm ICs feem ntau siv hauv ntiaj teb cov khoom siv hluav taws xob. Nws yog nyob rau hauv daim ntawv ntawm DIP 8, txhais tau tias nws muaj 8 tus pin
Npau npau Timer Timer: 5 Kauj Ruam (nrog Duab)
Npau taws Timer Lub Sijhawm: Cov Lus Qhia no tau tsim los ua kom tiav qhov haujlwm xav tau ntawm Makecourse ntawm Tsev Kawm Qib Siab South Florida (www.makecourse.com). Txoj haujlwm no yog lub sijhawm uas tig los ntawm lub ntsej muag luag ntxhi kom txog rau thaum lub sijhawm xaiv los txog, tom qab ntawd tig kuv
Universal Arduino Controller: 5 Kauj Ruam (nrog Duab)
Universal Arduino Controller: Ob peb lub lis piam tom qab tsev kawm ntawv tau tawm kuv tau tsim ib tus neeg hlau me me Arduino. Kuv xav txav mus rau qib tom ntej thiab kuv xav tau tus tswj hwm. Kuv pib nrhiav tus tswj hwm uas tso cai rau kuv xaiv hom teeb liab zoo li cas tab sis tsis ua tiav. Yog li kuv ua kuv tus kheej. Kuv