Cov txheej txheem:
- Kauj Ruam 1: Qhov Yuav Tsum Tau
- Kauj Ruam 2: Kuaj Circuit Court
- Kauj Ruam 3: Schematic thiab Soldering
- Kauj Ruam 4: Hlawv HEX Cov Ntaub Ntawv
- Kauj Ruam 5: Kev Xeem Sijhawm
- Kauj Ruam 6: Kho Wemos D1 Mini
- Kauj Ruam 7: Siv Android App los Tswj
- Kauj Ruam 8: Kawg Mounting
Video: WiFi Fan Speed Regulator (ESP8266 AC Dimmer): 8 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Cov lus qhia no yuav taw qhia yuav ua li cas thiaj ua rau Qab nthab Ntxuam Ntxaiv Tus Tswj Kev Siv Triac Phase lub kaum ntse ntse tswj txoj kev. Triac yog tswj hwm los ntawm Atmega8 standalone arduino teeb tsa nti. Wemos D1 mini ntxiv WiFi ua haujlwm rau tus tswj hwm no.
Ua yeeb yam -
1. Ob lub zos thiab wifi tswj tau (Laub khawm & Smartphone wifi).
2. Lub xeev txuag lub zog kom rov pib dua qib kiv cua txawm tias tom qab lub zog cuam tshuam.
3. Tsawg qis kiv cua txiav tawm (zam kev ua kom sov dhau ntawm Fan stator).
4. LED Qhia tawm tswv yim rau khawm laub thiab qib nrawm.
5. Standalone pheej yig Atmega8 DIY board ntau dua li Arduino Uno R3.
6. Tsis muaj snubber capacitor thiab resistor tuaj yeem siv ua dimmer rau AC qhov muag teeb.
Ceev faj tias txoj haujlwm no cuam tshuam nrog kev ua haujlwm ncaj qha AC 220V qhov twg yog qhov txaus ntshai heev
Kauj Ruam 1: Qhov Yuav Tsum Tau
LEVEL: TSHIAB
1. ATMEGA8 lossis ATMEGA8A 28 Pin Chip + 28 Pin IC Base
2. AT24C32 EEPROM + 8 Pin IC Base
3. Berg sawb
4. 1k Network resistor + 10 LEDs lossis 10 channel bar LED
5. 10uF 25V Electrolytic capacitor
6. Cov xov hlau txuas
7. 5 X 10k resistor
8. 3 X 2N2222 Transistor
9. 22pf + 16mhz siv lead ua
10. 2 X 120k 2W Resistor
11. 2W10 Choj Rectifier
12. 4N35 Optocoupler
13. 2way davhlau ya nyob twg thaiv
14. BT136 Triac
15. MOC3021 Optocoupler + IC Base
16. 1k resistor
17. 0.01uF X Rated AC Capacitor (Snubber Circuit)
18. 47ohm 5W resistor (Snubber Circuit)
19. 2 X 390ohm 2W resistor
20. 5V 2A SMPS Fais fab mov
21. Perf board (Raws li qhov xav tau me me)
22. Dupont F-F txuas
23. 4 X Xaub khawm
24. Ntoo lub thawv (Cov Ntaub Ntawv)
25. Wemos d1 mini
Kauj Ruam 2: Kuaj Circuit Court
Lub Circuit Court muaj 4 ceev tswj ua tib zoo xaiv. Pins 13, A0, A1, A2, A3 qhia txog xwm txheej ntawm kev nrawm. Tus Pin 13 ntsais muag thaum twg khawm tau nias lossis tau txais Wemos mem tes.
Pin2 yog cov tswv yim los ntawm xoom hla tus ntes
Pin3 yog tsav mus rau triac optocoupler
Atmega8 standalone version sau ntawm 16mhz sab nrauv siv lead ua.
Laub cov nyees khawm nrog lub taub hau sib luag rau Wemos, ua rau lub plawv dhia mus rau pin7 thiab pin8 rau kev nce lossis txo qis ntawm kiv cua. Cov pins no rub tawm.
Schematic muaj tus kheej Zero cross detector rau txhua tus channel. Txhua channel piv txwv li txhua tus kiv cua tau cais Atmega8 ib leeg. Kev teeb tsa tus qauv ntawm MOC3021 tsav Triac. Snubber Circuit ntxiv rau qhov ntsuas hluav taws xob no.
Tus Pin A0 tab tom qhia qis tshaj rau tus kiv cua uas tau tsav los ntawm lub tshuab transistor mus rau MOC3021 kom ntseeg tau tias qis heev rau AC kiv cua raug zam.
I2C EEPROM txuag qhov nrawm thaum twg hloov pauv qib sib txawv.
Kauj Ruam 3: Schematic thiab Soldering
Nrhiav cov txheej txheem txuas nrog thiab tsim koj tus qauv lossis ua ib qho PCB los ntawm kuv cov lus qhia yav dhau los.
Kuv tau siv hom pawg thawj coj no kom yooj yim rau siv.
Txij li thaum kuv tab tom tswj ob tus kiv cua kuv tau siv 2 lub laug cam raws li qhia. A 10 channel bar LED rau kev tawm tswv yim thiab xwm txheej lub hom phiaj.
Raws li qhia hauv daim duab thawb cov nyees khawm tau muab muag rau dupont kom yooj yim txuas rau txiv neej lub taub hau hauv perfboard.
Lub network resistor ntawm 1k tau siv los tsav 5 xwm txheej LEDs
Txij li 220VAC zerocross detector yog nyob hauv tib lub vaj huam sib luag ntawm Atmega8 qhov sib txawv txaus tau muab thiab nyob tom qab (thaj tsam tooj liab) kub kub tiv thaiv kom tsis txhob kis tau 220V.
Kauj Ruam 4: Hlawv HEX Cov Ntaub Ntawv
Kho lub Atmega8 nti rau siv nrog Arduino IDE tom qab kab lus no zoo heev.
Thaum Arduino Optiboot loader tau teeb tsa ntawm Atmega8, tsuas yog ntsaws tawm Atmega328p nti thiab ntsaws rau hauv Atmega8 bootloader tshiab hlawv nti rau hauv Arduino Uno R3 board 28 tus pin ntsaws rau hauv tus lej tus lej nqis.
Tom qab ntawd rub tawm cov ntawv Burn.zip rho tawm nws rau hauv daim nplaub tshev. Txoj cai nyem 'bet.bat' cov ntaub ntawv thiab nyem Kho kom raug thiab qhib cov ntaub ntawv hauv notepad thiab hloov COM5 rau koj qhov sib txuas ua haujlwm nquag arduino COM chaw nres nkoj, uas tuaj yeem pom yooj yim los ntawm "devmgmt.msc" los ntawm Kev hais kom ua.
Tom qab ntawv kaw notepad thiab khiav cov ntaub ntawv bet.bat
Avrdude yuav hlawv cov ntawv hex rau Atmega8
Kauj Ruam 5: Kev Xeem Sijhawm
Tom qab siv cov laug thiab xa cov cai, tau sim qhov Circuit hauv daim ntawv thov lub sijhawm thiab pom cov txiaj ntsig zoo.
Kauj Ruam 6: Kho Wemos D1 Mini
Txog Wifi teeb tsa kuv tau siv EspEasy firmware uas yog qhov ua haujlwm zoo.
Yeej pins D6 thiab D7 tsim cov mem tes rau 300ms rau lub hauv paus ntawm transistor
Siv qhov txuas no thiab hlawv cov firmware rau Wemos D1 Mini.
Siv qhov txuas no peb tuaj yeem nce https://192.168.4.1/control?cmd=Pulse, 13, 1, 300
Siv qhov txuas no peb tuaj yeem txo qis https://192.168.4.1/control?cmd=Pulse, 12, 1, 300
Cov kev sib txuas saum toj no yuav ua haujlwm raug tom qab hlawv firmware rau Wemos
Tom qab ntawd yog Access Point cov ntaub ntawv tau ntxiv rau Espeasy, nco ntsoov siv tus IP chaw nyob hauv qhov chaw 192.168.4.1 hauv qhov txuas saum toj no.
Hauv qhov xwm txheej ntawm kev ua qhov IOT ntaus ntawv teeb tsa raws li hauv Espeasy raws tu qauv xaiv.
Kauj Ruam 7: Siv Android App los Tswj
play.google.com/store/apps/details?id=ch.rmy.android.http_shortcuts
HTTP Shortcuts hauv app tso cai rau tswj tus kiv cua nrawm raws li qhia hauv cov duab txuas.
Kauj Ruam 8: Kawg Mounting
Kuv siv lub iav iav pem hauv ntej thiab lub thawv ntoo rov qab. Lub thawv ntoo tau ruaj ntseg rau phab ntsa siv ob lub ntsia hlau thiab thauj tog rau nkoj siv qhov txuas no raws li phau ntawv qhia rau nruab.
Ua raws li cov lus qhia no txhawm rau txhim kho lub thawv yaug nrog phab ntsa kom ua tiav zoo.
Yog tias muaj lus nug pls hu rau kuv @
Pom zoo:
Breadboard Friendly Breakout Board rau ESP8266-01 Nrog Voltage Regulator: 6 Cov Kauj Ruam (nrog Duab)
Breadboard Friendly Breakout Board rau ESP8266-01 Nrog Voltage Regulator: Nyob zoo txhua tus! vam tias koj nyob zoo. Hauv qhov kev qhia no kuv yuav qhia kuv yuav ua li cas kuv ua qhov kev hloov pauv khoom noj khoom haus no haum rau ESP8266-01 tus qauv nrog kev tswj hwm qhov hluav taws xob kom raug thiab cov yam ntxwv uas ua rau lub teeb nyem ntawm ESP.Kuv tau ua qhov mod no
Hloov Lub Teeb + Ntxuam Dimmer hauv Ib Pawg Nrog ESP8266: 7 Cov Kauj Ruam (nrog Duab)
Teeb Hloov + Ntxuam Dimmer hauv Ib Pawg Nrog ESP8266: Hauv qhov kev qhia no koj yuav kawm paub tsim koj tus kheej lub teeb hloov thiab kiv cua dimmer hauv tsuas yog ib lub rooj tsavxwm nrog lub microcontroller thiab WiFi module ESP8266 Qhov no yog qhov haujlwm zoo rau IoT.Cautions : Lub voj voog no tswj hwm AC qhov hluav taws xob tseem ceeb, yog li ua tib zoo saib xyuas
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
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me ยฃ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv