Cov txheej txheem:
- Kauj Ruam 1: Qhov Yuav Tsum Tau
- Kauj ruam 2: Soldering ☺
- Kauj ruam 3: Oscilloscoping
- Kauj ruam 4: Sib dhos
- Kauj ruam 5: Xeem
- Kauj ruam 6: Firmware
- Kauj ruam 7: Schematic
- Kauj Ruam 8: Ua tiav thiab Node Red Integration
Video: Qhov Ua Tau Zoo Hauv Tsev Ntxiv Ntxiv: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Kuv txoj haujlwm yav dhau los "Ua tiav Lub Tsev Ntse" tau ua tiav tau yuav luag 5 xyoos yam tsis muaj teeb meem. Tam sim no kuv tau txiav txim siab ntxiv cov lus tawm tswv yim rau tib yam yam tsis muaj kev hloov pauv mus rau tam sim no Circuit thiab schematic. Yog li qhov ntxiv ntawm qhov haujlwm no yuav muab qhov tsis muaj txiaj ntsig ntawm kev tawm tswv yim seb lub thauj khoom nyob lossis tawm rau lub rooj sib tham uas twb muaj lawm. Kuv siv Tasmota firmware ntawm Wemos D1 Mini txuas rau Node-Red rau UI.
CEEV FAJ: Ua haujlwm ntawm AC MAINS yog qhov txaus ntshai heev. Txoj haujlwm no koom nrog ua haujlwm ntawm AC MAINS. Qhib tag nrho cov AC tseem ceeb thaum twg thiab qhov twg yuav tsum tau ua
Kauj Ruam 1: Qhov Yuav Tsum Tau
Kuv thawj lub tswv yim yog siv lub rooj tsav xwm no hu ua "8 Channel Optocoupler Isolation Voltage Test Board MCU TTL rau PLC" kom tau txais kev tawm tswv yim rau Wemos D1 Mini. Txij li thaum AC Live kab nyob ntawm sab txuas ntawm pawg thawj coj no tsis tuaj yeem siv tau. Tom qab ntawd kuv tuaj nrog cov lus hauv qab no
Yam Yuav Tsum Tau:
1. 2 Ncej Txuas - 9 Pcs
2. 10A10 Diode - 64 Pcs
3. S8050 Transistor - 16 Pcs
4. MCP23017 IC - 1 Pce
5. 220uF 16 V Electrolytic Capacitor - 16 Pcs
6. 47Ω ¼W Resistor - 16 Pcs
7. 1kΩ ¼W Resistor - 49 Pcs
8. Wemos D1 mini - 1 Pce
9. Ntsuab lossis Liab Coj - 16 Pcs
10. PC817 Optocoupler - 16 Pcs
11. Poj Niam Headers raws li xav tau
12. Dot board lossis Copper Clad board (Yuav tsum tau kos) raws li qhov tsim nyog.
13. Nqa cov xov hlau
14. Silvered Copper hlau
Ntawm no kuv tau siv lub dot board thiab qee lub sijhawm rau kev sib dhos thiab ntsuas cov pob qij txha txuas.
Kauj ruam 2: Soldering ☺
Soldering hauv dot board rau 16 raws yog qhov tseeb yog txoj haujlwm nyuaj.
Thaum kawg kuv tau tswj kom ua tiav pawg thawj coj nrog 15 raws raws li kuv lub rooj sib tham relay siv tsuas yog 15 Raws
Tom qab ntawd tsis muaj chaw txaus los teeb tsa MCP23017 thiab Wemos d1 mini yog li lub rooj me me teev tau zoo ib yam.
Kauj ruam 3: Oscilloscoping
Tom qab tsim cov phiaj xwm thiab tso rau hauv pawg thawj coj saib thiab qhov muag kawg thaum kawg tsis muab cov khoom tsim nyog, raws li kuv tsis tau siv qhov kev hloov kho kom raug.
Qhov no tau muab qhov tsis raug rau MCP23017 thiab thaum kawg rau Wemos.
Tom qab taug qab nrog Oscilloscope ntawm emitter ntawm S8050 pom, 50Hz square yoj, uas yog qhov laj thawj. Tom qab los ntawm kev ntxiv 220uF capacitor raws li qhia hauv schematic daws qhov teeb meem. Txheeb cov duab ua ntej thiab tom qab ntxiv lub capacitor.
Kauj ruam 4: Sib dhos
Tam sim no kuv drilled 4 qhov thiab siv 4 cov ntsia hlau nrog cov txiv ntoo raws li qhia thiab lub tes tsho los ntawm cov xov tooj cua ethernet txhawm rau ruaj ntseg cov lus qhia diode nyob ze rau lub rooj sib tham uas twb muaj lawm.
Tsiv lub rooj sib txuas uas twb muaj lawm thiab hloov / txuas txuas cov xov hlau raws li xav tau.
Kauj ruam 5: Xeem
Circuit tau siv 250mA DC rau lub zog rau teeb tsa tag nrho. Kuaj nrog UI thiab cov coj hauv zos pom tias ua tau zoo.
Circuit Court tau yooj yim tsuas yog tso rau hauv kab rau AC nyob xaim mus rau lub dav hlau ncej ntawm kev xa xov. Xa mus rau schematic.
Kev ua haujlwm hauv Circuit yog qhov yooj yim, AC mains nyob tau dhau los txawm tias 10A diode uas ua rau qee qhov poob qis, qhov kev poob qis no tau pub rau optocoupler-transistor ua ke kom muab lub teeb liab binary rau MCP23017 thiab tom qab ntawd rau Wemos.
Kauj ruam 6: Firmware
Ntawm no kuv siv Tasmota firmware nrog I2C MCP23017 tau qhib uas muab qhov yooj yim json tso tawm rau ntawm liab.
Rub tawm lub firmware los ntawm hauv qab no thiab suav MCP23XXX lub tshuab ua haujlwm nrog kev pab los ntawm PlatformIO
github.com/arendst/Tasmota/releases
Kauj ruam 7: Schematic
Schematic muaj cov ncauj lus kom ntxaws.
Kuv siv 5V 1.5A SMPS yog lub zog hluav taws xob
Txhua qhov emitters ntawm transistors raug rub qis.
Chaw nyob ntawm MCP23017 yog 0x20, Pib dua tus pin raug rub siab.
Kauj Ruam 8: Ua tiav thiab Node Red Integration
Tom qab qhov kev xeem ua tiav. Kev ntws tshiab tau ntxiv rau ntawm qhov liab khiav ntawm kuv lub xov tooj Android qub.
Xa cov duab txuas nrog.
Pom zoo:
DIY Ntse Qhov Rooj Qhov Rooj Qhov Rooj + Tsev Pabcuam Hauv Tsev: 5 Kauj Ruam
DIY Ntse Lub Qhov Rooj Qhov Rooj + Lub Tsev Pabcuam Kev Sib Koom: Tig koj lub qhov rooj qhov rooj ib txwm ntse siv qhov haujlwm DIY no. Kuv yuav qhia koj yuav tsim nws li cas thiab tswj nws siv Tsev Pabcuam (dhau MQTT) thiab muaj peev xwm qhib thiab kaw koj lub qhov rooj ntawm qhov chaw deb.Kuv yuav siv ESP8266 pawg thawj coj hu ua Wemos
Siv Kev Cia Siab Lub Hauv Paus txuas ntxiv txhawm rau Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Txoj Cai Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: 11 Kauj Ruam
Siv Kev Cia Siab Lub Hauv Paus Txuas Ntxiv kom Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: Lub hom phiaj ntawm cov lus qhia no yog los qhia seb yuav tshawb nrhiav koj tsev neeg tsob ntoo li cas hauv Tsev Neeg Nrhiav rau cov poj koob yawm txwv nrog kev ua haujlwm hauv lub tuam tsev tsis tiav siv Kev Cia Siab lub hauv siab txuas ntxiv. Siv Kev Cia Siab Lub Hauv Paus tuaj yeem ua rau koj qhov kev tshawb nrhiav tsis tiav
Kev Tswj Lub Suab Hauv Tsev Automation (zoo li Alexa lossis Google Tsev, tsis xav tau Wifi lossis Ethernet): 4 Cov Kauj Ruam
Kev Tswj Lub Suab Hauv Tsev Automation (zoo li Alexa lossis Google Tsev, tsis xav tau Wifi lossis Ethernet Xav Tau): Nws yog qhov yooj yim SMS raws li arduino tswj kev xa xov nrog google tus pabcuam teeb tsa xa cov lus ntawm kev qhia lub suab. Nws yooj yim heev thiab pheej yig thiab ua haujlwm zoo li Alexa tshaj tawm nrog koj cov khoom siv hluav taws xob uas twb muaj lawm (yog tias koj muaj Moto -X ntse
Tig Koj Lub Qhov Rooj Hauv Qhov Rooj Mus Rau Hauv Qhov Rooj Ntse Nrog Lub Tsev Pabcuam: 6 Kauj Ruam
Tig Koj Lub Qhov Rooj Qhov Rooj Mus Rau Hauv Qhov Rooj Ntse Nrog Tus Pab Hauv Tsev: Hloov koj lub qhov rooj uas twb muaj lawm mus rau hauv lub qhov rooj ntse. Tau txais kev ceeb toom rau koj lub xov tooj lossis ua ke nrog koj lub koob yees duab lub qhov rooj uas twb muaj lawm kom tau txais daim duab lossis video ceeb toom txhua lub sijhawm ib tus neeg hu koj lub tswb
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Info: 4 Cov Kauj Ruam
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws … Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Cov Lus Qhia: yog tias koj tau mus rau lub vev xaib thiab nws ua nkauj nkauj uas koj nyiam thiab xav tau nws ntawm no yog cov lus qhia rau koj tsis yog kuv qhov txhaum yog tias koj cuam tshuam qee yam (tsuas yog txoj hauv kev nws yuav tshwm sim yog tias koj pib tshem cov khoom yam tsis muaj laj thawj. ) Kuv tuaj yeem tau txais cov nkauj rau