Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom Uas Tsim Nyog
- Kauj ruam 2: Program Esp12f
- Kauj Ruam 3: Tua Txhua Yam rau Pcb
- Kauj Ruam 4: Laum lub Sawb
- Kauj Ruam 5: Sib dhos Smart Strip
- Kauj Ruam 6: Teeb Nrog Tus Pab Tsev
- Kauj ruam 7: Txaus siab rau
Video: Wifi Ntse Sawb 2.0: 7 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob zoo txhua tus, Kuv zoo siab los qhia koj qhov kev hloov pauv thib ob ntawm kuv li WiFi txoj haujlwm ntse ntse, tam sim no nrog kev koom ua ke nrog Tsev Pabcuam. Koj tuaj yeem pom thawj version ntawm kuv cov ntaub ntawv qhia yog tias koj xav pom nws.
Muaj ntau qhov kev txhim kho hauv qhov kev tsim qauv tshiab no:
- Hloov chaw ntawm kev siv peb lub rooj sib txawv (5V lub zog xa khoom, NodeMCU thiab 4-relay-board) nrog jumper nruab nrab ntawm lawv, tam sim no muaj PCB. Peb txuag ntau qhov chaw thiab kev sib txuas muaj zog dua
- Tam sim no peb tuaj yeem pom wich qhov hluav taws xob tau ua tsaug rau 3 qhov sib txawv coj, ib qho rau txhua qhov hluav taws xob.
- Peb tseem tuaj yeem tswj 3 lub qhov hluav taws xob nrog phisycal laub khawm, tsis yog lub suab nkaus xwb.
- Kuj tseem muaj qhov ntsuas kub, uas peb tuaj yeem xaiv siv rau sab hauv ntse sawb kub lossis rau chav sov qhov twg cov ntse sawb nyob. (Hauv kuv qhov xwm txheej kuv tau xaiv qhov kev xaiv thib ob)
- Ua tsaug rau Tus Pab Tsev Peb tuaj yeem teeb tsa ntau lub tshuab ua haujlwm uas cuam tshuam nrog peb cov hlua.
- Tom qab siv lub hlua rau thawj zaug, koj yuav tuaj yeem ua haujlwm nws ntawm ota (wireless), yog li koj yuav tsis xav tau txuas txuas koj li Esp12f mus rau USB chaw nres nkoj ntawm koj lub PC.
Ib yam li cov ntawv dhau los peb tswj tsuas yog 3 ntawm 4 qhov hluav taws xob hauv txoj kev "ntse". Lub qhov hluav taws xob kawg tau txuas ncaj qha rau 220V.
Ua tib zoo nrog 220V, yog tias koj tsis paub koj tab tom ua dab tsi koj tuaj yeem ua rau koj lub neej muaj kev phom sij
Kuv tsis lav txog dab tsi
Kauj Ruam 1: Cov Khoom Uas Tsim Nyog
Nov yog txhua yam khoom siv uas peb yuav siv:
- 1x Hi-Link 5V fais fab mov
- 1x me ntsis 2 ntsia hlau davhlau ya nyob twg (rau AC input)
- 3x3 ntsia hlau termianl (tso zis tawm)
- 2x 100uF Electrolytic Capacitor
- 1x AMS117 3.3V tus tswj hwm
- 3 x laub khawm
- 1 x ESP12F
- 3 x 1K Ohm resistor
- 3 x 5K Ohm resistor
- 3 x BC547 NPN transistor
- 3 x PC817 Optocoupler
- 3x Colored coj
- 3 x IN 4007 diode
- 3 x 5 V relay
- 1 x DHT11 ntsuas kub
- Vuam
- Cov kab hluav taws xob
- Cables rau leds thiab thawb cov nyees khawm (zoo dua qee cov kab hluav taws xob tuab kom tsis txhob cuam tshuam hluav taws xob)
- Jumper
- Cov qhob cij
- USB rau Serial converter
- 1 x Mammut Clamp
- Laum
- Kub kua nplaum
- Pom tseeb txhua yam ntxiv uas kuv tau siv hauv thawj kab ntawm kab txaij
Muaj ntau yam khoom siv tab sis qhov no tsis nyuaj rau sib dhos raws li nws zoo li!
Kauj ruam 2: Program Esp12f
Thawj qhov koj xav tau yog los teeb tsa lub esp12f ua ntej yuav muab tso rau hauv pcb.
Muaj ntau lub rooj sib tw tawg tawm muaj txiaj ntsig zoo rau kev ua haujlwm ntawm lub rooj tsavxwm no, yog li koj tuaj yeem xaiv qhov twg uas koj nyiam, tab sis hmoov zoo kuv muaj qee lub jumper nyias nyias uas tuaj yeem tso rau hauv lub qhov me me ntawm esp12f pins. Yog li lawv tuaj yeem tsim qhov tsim nyog "tiv tauj" nrog cov koob ntawm lub rooj tsavxwm.
Tam sim no koj yuav tsum txuas lub rooj tsavxwm nrog USB rau Serial hloov pauv hauv txoj kev no:
Esp12f -------- Usb rau Serial
VCC 3.3V
CH-PD 3.3V
GND GND
PIB 15 GND
GPIO0 NCO
TX RX na
RX TXI
Tam sim no koj tuaj yeem ntsaws koj USB rau Serial hloov pauv hauv lub pc thiab koj yuav tsum tuaj yeem pom qhov chaw nres nkoj tshiab los ntawm Arduino Ide.
Tom qab ntawd kuv qhia koj kom koom nrog Facebook Lub Zej Zog Zoo no rau ESP8266 rau Lub Tsev Ntse kom rub tawm lub firmware. Pom tseeb yog 100% pub dawb. Muaj koj tuaj yeem pom qhov project github nrog cov cai thiab tseem nrog kev teeb tsa rau kev koom ua ke nrog Home-Assistant.
www.facebook.com/groups/351472505248816/
Tom qab rub tawm lub firmware koj yuav tsum tau khiav lub cuab yeej lub thawv uas yuav tsim cov ntawv teeb tsa kom rub rau ntawm esp12f. Hauv cov cuab yeej koj yuav tsum teeb tsa koj li WiFi SSID thiab tus password, koj tus broker mqtt, lub npe siv, thiab tus password.
Tom qab ntawd koj yuav tsum xaiv tag nrho lwm yam uas koj tuaj yeem pom hauv cov duab, pom tseeb nrog tib tus pin teeb tsa. Txawm li cas los xij, txhua yam tau piav qhia hauv Wiki.
Tom qab teeb tsa cov ntawv tsim tawm, qhib SmartHome_v50beta5nc.ino hauv Arduino IDE. Tom qab ntawd xaiv hom ntawm koj lub rooj tsavxwm (hauv kuv qhov xwm txheej txhua yam ua haujlwm nrog "NodeMCU 1.0 esp12e").
Koj yuav tsum ua qhov kawg yog tias koj xav siv DHT11 qhov ntsuas kub hloov pauv DHT22. Koj yuav tsum mus rau rout_termostato.ino thiab hloov kab DHTTYPE DHT22 nrog DHTTYPE DHT11. Tom qab ntawd txuag thiab upload cov cai.
Koj ua tiav! Tam sim no peb tuaj yeem ua txhua yam ntawm pcb.
Kauj Ruam 3: Tua Txhua Yam rau Pcb
Ua ntej pib, pom tseeb koj tuaj yeem hloov kho pcb, yog tias koj xav tau. Piv txwv li koj tuaj yeem xaiv ntau hom ntsia hlau dav hlau yog tias yog vim li cas koj thiaj tsis nyiam kuv!
Ntawm no koj tuaj yeem rub tawm cov ntaub ntawv gerber ntawm pcb:
www.dropbox.com/s/lyl27vyue1t1v3j/Gerber_d…
Zoo, tom qab luam tawm nws peb tuaj yeem pib ua kom yaj.
Kuv cov txuj ci tsis tau txhim kho, thiab koj tuaj yeem pom yooj yim nrog kuv tus esp12f soldering, yog li kuv vam tias koj tuaj yeem ua tau zoo dua li kuv! Kuv hloov kho me ntsis thawj pcb Kuv siv vim tias muaj qee qhov yuam kev, tab sis kuv tsis xav rov luam dua. Tsuas muaj ib yam uas kuv hloov tsis tau, cov kev taw qhia transistors. Koj yuav tsum tau muab lawv tso rau hauv txoj kev sib piv piv rau qhov tsim los rau hauv pcb (zoo li koj pom hauv daim duab dhau los).
Tus nqi ntawm cov neeg tiv thaiv hauv qab esp12f yog 5K (lawv yog cov neeg tiv taus lub zog rau lub laub khawm), thiab tus nqi ntawm cov tiv thaiv hauv qab optocouplers yog ntawm 1k (lawv txuas nrog lub hauv paus ntawm transistors).
Ua tib zoo saib xyuas txhua yam koj yuav mus rau qhov muag, tshwj xeeb tshaj yog ob lub tshuab hluav taws xob hluav taws xob uas muaj qhov sib txawv, yog li yog tias koj ua kom lawv tsis raug lawv tuaj yeem tawg. Tsis tas li cov optocoupler thiab diodes yuav tsum tau muab muag kom raug
Es tsis txhob siv cov khawm thawb, coj thiab ntsuas qhov ntsuas kub ncaj qha mus rau lub pcb, txuas lawv rau cov xov hlau thiab tom qab ntawd txuas cov xov hlau mus rau cov ntawv luam tawm. Rau cov nyees khawm koj tsuas yog yuav tsum tau muab ob lub pins siab dua. Lwm ob qhov tsis muaj qab hau. (Cov ceg ntev dua ntawm tus coj yuav tsum txuas nrog tus pin siab dua, ceg luv dua mus rau qis dua thiab, rau cov khawm thawb, ob txhais ceg uas yuav tsum txuas nrog yog cov uas tau nyob ze dua ib leeg).
Txoj hauv kev no koj tuaj yeem tso cov leds, thawb cov nyees khawm thiab dht11 (lossis dht22) txhua qhov chaw koj xav tau thaum muaj kab txaij. Hauv Intro duab koj tuaj yeem pom qhov twg kuv xaiv tso lawv.
Tam sim no peb tuaj yeem laum txhua qhov uas peb xav tau rau cov khoom no!
Kauj Ruam 4: Laum lub Sawb
Tsis muaj ntau yam hais, txiav txim siab qhov twg koj xav tso lub sensor, thawb cov nyees khawm thiab coj thiab tho qhov!
Kuv tus kheej tsis zoo tag nrho thiab tsis sib haum, yog li, rov ua dua nws zoo dua kuv:)
Kauj Ruam 5: Sib dhos Smart Strip
Ua ntej tso lub pcb rau hauv kab txaij, kuv hais kom twb txuas cov xov hluav taws xob mus rau AC cov tswv yim thiab rau cov xa tawm, raws li koj tuaj yeem pom hauv daim duab ntawm ob kauj ruam dhau los.
Tam sim no ua txhua qhov kev sib txuas ntawm pawg thawj coj thiab plaub lub qhov hluav taws xob. Yog tias koj tsis paub yuav ua li cas koj tuaj yeem nyeem thiab pom cov duab ntawm kuv cov lus qhia ntawm thawj kab ntawv ntawm kab ntawv no. Kev sib txuas yog tib yam ntawm cov duab ntawd!
Tom qab tso lub ntsuas kub, thawb cov nyees khawm thiab lub teeb, ruaj ntseg lawv cov xov hluav taws xob nrog cov kua nplaum kub thiab sim cais txhua yam kom tsis txhob muaj hluav taws xob cuam tshuam.
Tam sim no koj tuaj yeem kaw kab txaij, thiab txuas nws mus rau 220V. Yog tias koj ua raws cov lus qhia no txhua yam yuav tsum ua haujlwm yam tsis muaj teeb meem!
Kauj Ruam 6: Teeb Nrog Tus Pab Tsev
Koj yuav tsum muaj peev xwm pom tam sim no tus ntse sawb ip chaw nyob. Yog tias koj tsis paub yuav ua li cas, rub tawm Fing daim ntawv thov, luam theej tawm WiFi network thiab koj yuav tsum muaj peev xwm paub qhov tseeb IP chaw nyob.
Ntaus tus ip ntawd hauv koj tus browser thiab koj yuav txuas nrog esp12f web server.
Muaj koj tuaj yeem tswj tau ib leeg zuj zus tag nrho peb lub qhov hluav taws xob, tab sis tsis yog qhov thib plaub.
Qhov ntawd yog txuas ncaj qha rau 220V!
Tam sim no, hauv wiki ntawm txoj haujlwm (los ntawm qhov koj rub tawm lub firmware) koj tuaj yeem yooj yim pom txhua tus lej txhawm rau ntxiv rau koj cov kev teeb tsa.yaml rau Tus Pab Tsev.
Hauv wiki, nyob rau hauv kaum sab laug, koj yuav tsum xaiv "Interruttore". Tom qab ntawd koj tuaj yeem luam thiab muab cov cai tso rau hauv koj qhov kev teeb tsa.yaml peb zaug vim tias koj yuav tsum tswj peb lub qhov hluav taws xob. Ua tib zoo saib tias koj yuav tsum hloov tus lej hauv "interruttore/1" thiab "interruttore/1/ack" nrog 2 thiab tom qab ntawd nrog 3 txhawm rau kom muaj peb lub koom haum sib txawv! Hauv qhov muaj peev xwm_topic koj yuav tsum rho tawm txhua tus lej thiab sau MAC chaw nyob ntawm koj lub ntsej muag ntse, tsis muaj cov tsiaj ntawv loj thiab tsis muaj ":".
Tom qab ntawd rau qhov ntsuas kub ntsuas xaiv "Termostato" thiab luam tawm thawj thawj ob ntu ntawm cov cai, txhawm rau ntsuas kub thiab av noo. Nco ntsoov hloov cov ncauj lus muaj.
Txuag cov ntawv, txheeb xyuas qhov teeb tsa thiab yog tias txhua yam zoo, koj tuaj yeem rov pib dua Lub Tsev Pabcuam.
Tam sim no koj yuav tsum muaj peev xwm tswj tau peb lub qhov hluav taws xob thiab saib xyuas qhov kub thiab txias ntawm chav (lossis ntawm sab hauv sab hauv yog tias koj siv lub ntsuas ncaj qha mus rau lub pcb)!
Kauj ruam 7: Txaus siab rau
Nrog koj zoo siab, tam sim no koj tuaj yeem koom nrog koj lub ntsej muag ntse hauv txhua qhov kev siv tshuab uas koj xav tau los ntawm Tus Pab Tsev. Tom qab ntawd, yog tias koj xav tswj nws los ntawm lub suab, koj tseem tuaj yeem txuas Tsev Pabcuam nrog Alexa lossis Google Assistant thiab koj ua tiav!
Txaus siab rau!:)
Pom zoo:
DIY LED Sawb: Yuav Txiav Li Cas, Txuas, Cuam Tshuam thiab Hwjchim LED Sawb: 3 Kauj Ruam (nrog Duab)
DIY LED Sawb: Yuav Ua Li Cas Txiav, Txuas, Cuam Tshuam thiab Lub Hwj Huam LED Sawb: Pib qhia rau koj tus kheej lub teeb pom kev zoo siv LED sawb.Flexible ntseeg tau thiab siv tau yooj yim, LED strips yog qhov kev xaiv zoo tshaj plaws rau ntau yam kev thov.Kuv yuav npog cov hauv paus ntawm kev txhim kho yooj yim sab hauv tsev 60 LED's/m LED sawb, tab sis
Lub Hnab Ntse Hnab Ntse Ntse Computer: 4 Kauj Ruam (nrog Duab)
Lub Hnab Ntse Hnab Ntse Ntse Computer: Qhov no yog "hnab looj tes ntse" nas lub computer uas tuaj yeem siv nrog ib lub PC, Mac, lossis Linux computer. Nws tau tsim los siv Binho Nova ntau tus txheej txheem USB host adapter, uas tso cai rau koj txuas cov ntsuas thiab lwm yam khoom siv rau koj lub khoos phis tawj thiab tom qab ntawd txuas ntxiv
ESP8266 RGB LED Sawb WIFI Tswj - NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi - RGB LED Sawb Smartphone Tswj: 4 Cov Kauj Ruam
ESP8266 RGB LED Sawb WIFI Tswj | NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi | RGB LED Sawb Smartphone Tswj: Nyob zoo cov neeg hauv qhov kev qhia no peb yuav kawm paub siv nodemcu lossis esp8266 li IR chaw taws teeb los tswj RGB LED sawb thiab Nodemcu yuav raug tswj los ntawm smartphone dhau wifi. Yog li hauv paus koj tuaj yeem tswj RGB LED Sawb nrog koj lub xov tooj
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Ntse Fais Sawb Raws Li Beaglebone Dub thiab OpenHAB: 7 Cov Kauj Ruam (nrog Duab)
Ntse Hwj Huam Sawb Raws Li Beaglebone Dub thiab OpenHAB: !!!!! Ua si nrog lub hwj chim (110/220V) yog qhov txaus ntshai, thov ua tib zoo Ceev faj !!!!! Muaj qee qhov ntse ntse siv hluav taws xob tsim qauv raws li "Raspberry Pi" thiab ob Arduinos, uas tau qhia hauv daim duab "Tsim qauv qub" .This tshiab de