Cov txheej txheem:
- Kauj ruam 1: Voltage Dividers
- Kauj Ruam 2: Cov Kuj Tsis Txaus Siab (thermistors thiab Photo Resistors)
- Kauj Ruam 3: Infrared
- Kauj Ruam 4: Teeb tsa thiab Txuas
- Kauj ruam 5: Code
Video: Infrared Tsev Automation Nrog Arduino: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
ARDUINO HNUB TSHIAB AUTOMATION
Kev siv tshuab hauv tsev yooj yim txhais tau tias ua yam uas koj ib txwm ua los ua kom tiav rau koj. Koj ib txwm yuav tau nce mus rau qhov hloov pauv, yuav ua li cas yog tias koj tuaj yeem nias lub chaw taws teeb thiab koj lub teeb cia li tuaj, yog tias koj tub nkeeg kom sawv los tua lub teeb thaum hmo ntuj lossis tua lub kiv cua, txoj haujlwm no yog rau koj. Kuv hais tias tub nkeeg tseem xav tau qee yam ua haujlwm.
zoo yog qhov peb yuav tham txog hauv cov lus qhia no.
Cov ntaub ntawv
Arduino (Kuv siv Arduino pro mini) tab sis txhua qhov tsw yuav zoo
3 lossis 2 relay channel module (Kuv siv ob. Tab sis 3 yog qhov yuav tsum tau yog tias koj xav siv lub yees duab resistor muaj nuj nqi)
Infrared txais diode
Jumper xov hlau
2 tus tuav lub teeb (Kuv siv 1. Tab sis 2 yog qhov yuav tsum tau yog tias koj xav siv daim duab tiv thaiv kev ua haujlwm)
Ntxuam (koj yuav tsum muaj qhov no hauv koj lub tsev, yog li xav tau yuav ib qho)
Ib qho chaw taws teeb
Ac lub teeb
Ac ntsaws
Cov qhob cij
NTC 10k thermistor
1 photoresistor cov
2 10k resistors
Buzzer
12v DC adapter
7805 tus tswj hluav taws xob.
Kauj ruam 1: Voltage Dividers
qhov faib hluav taws xob tsuas yog cov resistors txuas nrog hauv kab kom nqis qis. Txhawm rau kawm paub ntau ntxiv txog kev faib hluav taws xob mus ntawm no.
Kauj Ruam 2: Cov Kuj Tsis Txaus Siab (thermistors thiab Photo Resistors)
sib txawv resistors tsuas yog cov resistors uas hloov lawv qhov tsis kam vim qee qhov xwm txheej.
Hauv cov lus qhia no peb yuav tsom mus rau cov thermistors thiab cov duab tiv thaiv ntau dua.
THERMISTORS
los ntawm lo lus therm koj yuav tsum muaj lub tswv yim tias nws cuam tshuam nrog qhov kub thiab txias. Muaj ob hom thermistors uas yog NTC thermistor thiab PTC thermistor. NTC thermistor lawv qhov kev tiv thaiv txo qis raws li qhov kub nce ntxiv piv txwv li lawv qhov kev tiv thaiv yog sib piv sib piv rau qhov kub thaum nws yog qhov txawv rau PTC thermistor.
NCO TSEG: thaum koj nyob ntawm no tias lub ntsuas cua sov yog 10k ohms, nws txhais tau tias nws nyob ntawm 10k ntawm chav sov uas yog 25 degrees Celsius.
PHOTO RESISTOR
cov duab tiv thaiv kuj tseem paub tias yog Lub Teeb Ntsuas Tus Kheej (LDRs) yog cov tiv thaiv uas hloov pauv lawv qhov kev tiv thaiv vim hloov pauv ntawm lub teeb ci. Thaum muaj ntau lub teeb lawv qhov kev tiv thaiv poob thiab thaum muaj lub teeb tsawg lawv qhov kev tiv thaiv nce ntxiv.
Thaum peb siv qhov ntsuas qhov sib txawv no los tsim qhov faib hluav taws xob, peb tuaj yeem hloov qhov hluav taws xob tau yooj yim.
Txhawm rau nrhiav ntau ntxiv ntawm cov thermistors mus rau qhov txuas no.
Txhawm rau paub ntau ntxiv txog cov duab tiv thaiv mus rau qhov txuas no.
Kauj Ruam 3: Infrared
Kuv yuav tsis hais dab tsi ntawm no txog infrared, tab sis koj tuaj yeem mus rau kuv cov lus qhia yav dhau los yuav ua li cas thiaj tsim lub tsheb infrared tswj nrog Arduino kom paub ntau ntxiv. Txhawm rau paub yuav ua li cas txuas lub infrared mus rau Arduino txheeb xyuas cov ntaub ntawv ntawm tus pin qhia hauv online vim tias kuv yuav siv lwm tus txais los ntawm qhov koj muaj. Txuas tus pin qhov hluav taws xob rau 5v thiab GND rau GND thiab txuas nws cov zis rau digital pin 10 ntawm Arduino.
Kauj Ruam 4: Teeb tsa thiab Txuas
txuas koj cov thermistor hauv kab nrog 10k resistor, tom qab ntawd txuas lwm cov hlau lead ntawm cov thermistor mus rau 5v thiab txuas lwm cov hlau lead ntawm 10k resistor rau hauv av, tom qab ntawd txuas lub hauv paus ua rau analog nkag. Ua tib yam rau tus yees duab resistor. Txhawm rau paub analogpin tsuas yog txheeb xyuas cov cai thiab koj tseem tuaj yeem hloov nws mus rau txhua tus pin analog uas koj xaiv.
Txuas qhov ua tau zoo ntawm lub buzzer rau tus pin 5 thiab tsis zoo rau GROUND.
SIAB
txuas IN1 rau tus lej digital 2
txuas IN2 rau tus lej digital 8
txuas IN3 rau tus lej digital 4
Txuas NO1, 2, 3 mus rau ib qho ntawm AC SUPPLY
txuas ntawm cov hlau lead ntawm AC teeb rau Com1
Txuas ib tus coj ntawm tus kiv cua mus rau COM2
txuas ib qho ntawm AC qhov muag teev ntawm lub teeb lub txaj mus rau COM3
Txuas lwm tus thawj coj ntawm txhua qhov AC APPLIANCES ua ke tom qab ntawd txuas lawv mus rau lwm cov hlau lead ntawm AC cov khoom siv. Kuv qhov txuas mus los thaum Arduino tus lej digital qis, yog tias koj li los thaum nws hloov pauv siab txhua qhov qis rau siab hauv cov cai. Txhawm rau txheeb xyuas yog tias koj los txog thaum nws qis lossis siab txuas ib qho kev nkag ntawm cov qauv txuas mus rau GND, yog tias cov hlau lead ntawm cov lus nkag los ntawm qhov ntawd rau koj qhov kev xa tawm los thaum nws qis, tab sis yog nws tsis yog nws los txog thaum nws yog siab. Yog xav paub ntxiv txog kev mus ntsib Ntawm no.
Kauj ruam 5: Code
Cov cai tau tsim los ntawm NDUKWU PIUS, uas yog qhov tseeb kuv. Tsuas yog rub cov cai thiab qhib hauv Arduino IDE. Hloov kho nws raws li koj nyiam thiab upload.
Pom zoo:
Plug & Ua Si CO2 Sensor Zaub Nrog NodeMCU/ESP8266 rau Cov Tsev Kawm Ntawv, Tsev Kawm Qib Siab lossis Koj Lub Tsev: 7 Kauj Ruam
Plug & Ua Si CO2 Sensor Zaub Nrog NodeMCU/ESP8266 rau Cov Tsev Kawm Ntawv, Lub Tsev Kawm Qib Siab lossis Koj Lub Tsev: Kuv yuav qhia koj sai npaum li cas txhim kho lub plug & ua si CO2 sensor qhov twg txhua qhov ntawm txoj haujlwm yuav txuas nrog DuPont xov hlau. Yuav muaj tsuas yog 5 cov ntsiab lus uas yuav tsum tau muab siv, vim tias kuv tsis tau muab tshuaj txhuam ua ntej qhov haujlwm no txhua lub sijhawm
Yuav Ua Li Cas Ntse Tsev Siv Arduino Control Relay Module - Lub Tswv Yim Hauv Tsev Automation: 15 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Ntse Tsev Siv Arduino Control Relay Module | Lub Tswv Yim Ua Lag Luam Hauv Tsev: Hauv qhov haujlwm ua haujlwm hauv tsev no, peb yuav tsim lub tsev ntse hloov chaw uas tuaj yeem tswj tau 5 yam khoom siv hauv tsev. Qhov kev hloov pauv no tuaj yeem tswj tau los ntawm Txawb lossis smartphone, IR chaw taws teeb lossis TV nyob deb, Kev hloov pauv ntawm tes. Qhov kev tshaj tawm ntse no tseem tuaj yeem paub txog r
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
Tsev Automation Nrog Infrared thiab Bluetooth Tswj Tus Qauv Relay: 10 Kauj Ruam
Tsev Automation Nrog Infrared thiab Bluetooth Tswj Tus Kheej Relay Module: Hauv qhov haujlwm no hauv tsev tsis siv neeg, Kuv tau qhia tias peb tuaj yeem tswj lub teeb, kiv cua thiab lwm yam khoom siv hauv tsev li cas los ntawm peb lub xov tooj smartphone app thiab IR chaw taws teeb siv Arduino tswj kev hloov pauv qhov Circuit no. Circuit muaj ob hom, Inf
Tsev Automation Nrog Android thiab Arduino: Qhib Lub Qhov Rooj Thaum Koj Mus Tsev: 5 Kauj Ruam
Kev Ua Haujlwm Hauv Tsev Nrog Android thiab Arduino: Qhib Lub Rooj Vag Thaum Koj Mus Tsev: Cov Lus Qhia no yog hais txog kev teeb tsa lub tshuab ua haujlwm hauv tsev kom tswj tau los ntawm lub xov tooj smartphone, siv kev txuas internet, yog li nws tuaj yeem nkag tau los ntawm txhua qhov chaw koj xav tau. Ntxiv mus, nws yuav ua qee yam kev nqis tes thaum twg yog cov txheej txheem m