Cov txheej txheem:
- Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau
- Kauj ruam 2: Kev sib txuas
- Kauj ruam 3: Program thiab Software
- Kauj Ruam 4: Txhim Kho Txoj Haujlwm hauv Lub Thawv
- Kauj ruam 5: Koj Cov Lus
Video: Tsab ntawv tsa suab qhib lub teeb hloov nrog lub teeb Sensor: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Tsab ntawv tsa suab qhib lub teeb hloov muaj ntau daim ntawv thov hauv tsev thiab hauv chaw ua haujlwm. Qhov no, txawm li cas los xij, tau ntxiv qhov zoo ntawm kev suav nrog lub teeb pom kev zoo, yog li ntawd, lub teeb no tsuas tuaj yeem ua rau hmo ntuj.
Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau
Txoj haujlwm no yog ua raws PIR lub tshuab ua kom pom. Peb siv yooj yim heev, npaj tau, cov khoom siv hluav taws xob.
1. Arduino Nano (Koj tuaj yeem siv Uno lossis lwm yam)
2. PIR Sensor
3. LDR Sensor (nrog ua hauv D/O)
4. 5V Kev Tshaj Tawm (Kuv siv ob channel, txawm li cas los Ib Leeg Channel txaus)
5. Cov Cheeb Tsam rau Cov Khoom Siv Hluav Taws Xob: (a) 230V/ 6V Transformer
(b) Choj Rectifier
(c) Capacitor: 1000 Mfd, 100 Mfd thiab 0.1 Mfd
(d) Lub Hwj Chim IC: 7805
6. Lwm yam: Vero Board, Hlau, Txuas Txuas.
Kauj ruam 2: Kev sib txuas
Lub zog siv hluav taws xob yog tus qauv tsim siv Choj Rectifier / Capacitor thiab 7805 IC, uas muab kev ruaj khov 5V DC rau txoj haujlwm. Nws tau tsim los ntawm Vero Board. Ib tug 20x2 Pin poj niam lub taub hau tau muab muag kom lees paub Arduino Nano, ntawm vero board. Qhov plug-in no yuav pab tshem tawm Arduino yooj yim.
Ob lub nos ntawm 230V AC qib qhov (socket) tau tsau rau ntawm Pawg Thawj Coj thiab Kev Txuas Hluav Taws Xob tau ua tiav raws li hauv qab no:
(a) Ob Theem thiab nruab nrab (Hauv daim duab Liab & Dub) txuas nrog los ntawm lub qhov (socket) mus rau HV sab ntawm kauj ruam qis hloov pauv.
(b) Tsis tas li ntawd cov xov hlau nruab nrab tau txuas ncaj qha los ntawm lub qhov (socket) mus rau lub qhov (socket) thiab cov hlau theem tau txuas nrog ntawm NO thiab Cov davhlau ya nyob twg ntawm Relay vaj huam sib luag.
(c) Lub qhov (socket) yuav txuas nrog 230V AC Mains cov khoom siv thiab cov zis yuav txuas nrog AC Load.
#Ceev faj: Kev saib xyuas zoo yuav tsum tau ua nyob rau hauv cov xov hluav taws xob. Thaum txuas nrog Mains, lub thawv yuav tsum raug kaw ua ntej siv.
Txuas Arduino thiab Sensors:
PIR Sensor Tso Tawm: Arduino Pin 7
LDR Sensor Tso Tawm: Arduino Pin 4
Cov tswv yim Relay: Arduino Pin 6
Ib qho hluav taws xob sib txuas ntawm 5V DC tau tsim hauv Vero Board, uas muab rau txhua tus neeg sawv cev, Arduino thiab Relay board. Ib lub ntsiab lus yuav tsum nco ntsoov tias Relay input yog Active Low thiab program tau hloov kho kom haum.
Kauj ruam 3: Program thiab Software
Qhov kev zov me nyuam yog tus qauv zoo heev thiab ncaj ib qho.
1. Pib PIR Sensor.
2. Tshaj tawm I/O thiab hloov pauv.
3. Txais PIR Kev Nkag Mus thiab yog tias pom muaj kev tawm suab thiab nws tsaus ntuj sab nraud (Lub teeb pom kev D/O yuav muab cov ntaub ntawv), Kev xa tawm yuav raug qhib.
4. Nws yuav tos txog 1 Min thiab yog tias cov lus pom tau txuas mus txuas ntxiv, Relay yuav nyob twj ywm ON, lwm qhov nws yuav tsis ua haujlwm, yog li Hloov OFF lub load. Koj tuaj yeem hloov lub sijhawm no hauv "Pause" sib txawv.
5. Yog tias nws tshav ntuj sab nraum, kev xa xov yuav tsis qhib txawm hais tias pom lub suab.
Kauj Ruam 4: Txhim Kho Txoj Haujlwm hauv Lub Thawv
Txoj haujlwm no yog nyob hauv tus txheej txheem 8 Nti x 6 Nti PVC Hluav Taws Xob Hluav Taws Xob. Txhua lub Cheebtsam raug tsau sab hauv lub thawv. Raws li tau hais ua ntej, ob lub nos ntawm AC 230V Mains qhov txuas tau txuas nrog raws li qhia. PIR sensor tau so sab nraum los ntawm kev txiav tawm 25mm ncig. Tsis tas li, LDR ntawm lub teeb pom kev zoo ib yam nyob sab nraum.
Koj tuaj yeem nce tag nrho Lub Thawv raws li qhov koj xav tau.
Kauj ruam 5: Koj Cov Lus
Kuv vam tias koj txaus siab rau kuv qhov project thiab vam tias koj yuav muab koj cov lus teb muaj txiaj ntsig. Kuv yuav zoo siab los pab koj yog tias koj ntsib teeb meem dab tsi thaum ua qhov project.
Pom zoo:
Tsab ntawv tsa suab qhib cosplay tis siv Circuit Chaw Ua Si Qhia - Tshooj 1: 7 Cov Kauj Ruam (nrog Duab)
Motion Activated Cosplay Wings Siv Circuit Playground Express - Ntu 1: Qhov no yog ib feem ntawm ob qhov haujlwm, uas kuv yuav qhia koj kuv cov txheej txheem rau kev ua ob khub ntawm lub ntsej muag zoo nkauj. Thawj feem ntawm qhov haujlwm yog kev siv tshuab ntawm tis, thiab ntu ob yog ua rau nws hnav tau, thiab ntxiv tis
Tsab ntawv tsa suab qhib lub teeb hloov: 3 kauj ruam
Motion Activated Lamp Switch: Thaum twg los peb tawm ntawm peb lub rooj lossis chav, feem ntau peb tsis hnov qab tua lub teeb nyob ntawd. Qhov no ua rau poob hluav taws xob thiab nce hauv koj daim nqi hluav taws xob. Tab sis dab tsi, yog tias lub teeb tau tig mus txiav, tom qab koj tawm hauv chav. Yog hauv
Los ntawm lub teeb nyem mus rau Tsab ntawv tsa suab Sensor nrog ESP8266 thiab MQTT: 5 Cov Kauj Ruam (nrog Duab)
Los ntawm Lub Teeb Nyeem rau Tsab Ntawv Pom Zoo Nrog ESP8266 thiab MQTT: Hauv kab ntawv no, kuv yuav nthuav qhia cov khoom hauv qab no: LEDs xav tau qhov txwv tam sim no circuithow kom ua lub teeb nyem ua lub teeb pom kev los ntawm lub roj teeb nqa tau, thiab dimming LEDs los ntawm ESP8266 ntawm MQTT thiab piav qhia luv luv txog yuav ua li cas th
Tsab ntawv tsa suab Sensor qhib LED Sawb Nrog Timer: 6 Cov Kauj Ruam (nrog Duab)
Tsab ntawv tsa suab Sensor qhib LED Sawb Nrog Timer: Nyob zoo txhua tus! Kuv zoo siab heev tau sau lwm cov ntawv qhia tam sim no. Qhov haujlwm no tau los thaum kuv raug hu los ntawm ib tus neeg qhia qhia-er (?!) (David @dducic) ob peb lub hlis dhau los thov kom qee qhov kev pab tsim. Yog li ntawm no yog qhov tseem ceeb tshwj xeeb: & q
Tsab ntawv tsa suab qhib Security Security Yard Kos Npe: 4 Cov Kauj Ruam (nrog Duab)
Motion Activated Security Yard Sign: Tsoos kev nyab xeeb kev nyab xeeb hauv tsev cov cim tsis ua dab tsi. Qhov tseeb lawv tsis tau hloov pauv ntau dua 30 xyoo dhau los. Txawm li cas los xij, lawv yog qhov muaj txiaj ntsig tiv thaiv tsuav lawv tso rau hauv qhov chaw pom tau zoo hauv koj lub vaj thiab saib zoo. Kuv hlub