Cov txheej txheem:

Techswitch 1.0: 25 Cov Kauj Ruam (nrog Duab)
Techswitch 1.0: 25 Cov Kauj Ruam (nrog Duab)

Video: Techswitch 1.0: 25 Cov Kauj Ruam (nrog Duab)

Video: Techswitch 1.0: 25 Cov Kauj Ruam (nrog Duab)
Video: Movies Zab Raug Dag 1.0 2024, Kaum ib hlis
Anonim
Techswitch hwm 1.0
Techswitch hwm 1.0
Techswitch hwm 1.0
Techswitch hwm 1.0

Txhawb Lub Tsev Ntse los ntawm TechSwitch-1.0 (Hom DIY)

TechSwitch-1.0 (DIY Mode) yog dab tsi

TechSwitch-1.0 yog ESP8266 raws li ntse hloov. nws tuaj yeem tswj tau 5 yam khoom siv hauv tsev.

Vim li cas nws yog hom DIY ??

Nws tau tsim los rov nyem txhua lub sijhawm. muaj ob hom xaiv jumper ntawm PCB

1) Khiav hom:- rau kev ua haujlwm tsis tu ncua.

2) Flash hom:-nyob rau hauv hom no tus neeg siv tuaj yeem rov teeb nyem los ntawm kev ua raws cov txheej txheem rov nyem.

3) Cov tswv yim analog:- ESP8266 muaj ib qho ADC 0-1 Vdc. Nws lub taub hau kuj tseem muab ntawm PCB los ua si nrog ib qho Analog sensor.

Kev Qhia Tshwj Xeeb ntawm TechSwitch-1.0 (hom DIY)

1. 5 Output (230V AC) + 5 Input (0VDC hloov) + 1 Analog input (0-1VDC)

2. Ntsuas:- 2.0 Amps.

3. Hloov chaw:- SSR +Xoom Hla kev hloov pauv.

4. Kev tiv thaiv:- Txhua qhov kev tiv thaiv los ntawm 2 Amp. iav fuse.

5. Firmware siv:- Tasmota yog ib qho yooj yim mus use thiab ruaj khov firmware. Nws tuaj yeem flashed los ntawm cov firmware sib txawv raws li nws hom DIY.

6. Kev tawm tswv yim:- Opto txuas ua ke (-Ve) hloov pauv.

7. ESP8266 tus tswj fais fab tuaj yeem ua ob hom:- tuaj yeem siv Buck hloov pauv ib yam li AMS1117 tus tswj hwm.

Khoom siv

  • Cov ncauj lus kom ntxaws BOQ txuas nrog.

    · Lub Hwj Huam:- Ua:- Hi-Link, Qauv:- HLK-PM01, 230V los ntawm 5 VDC, 3W (01)

    · Microcontroller:- ESP12F (01)

    · 3.3 VDC tus tswj hwm:- Muab ob qho tib si ib qho tuaj yeem siv tau

    · Buck converter (01)

    · AMS1117 Tus tswj hluav taws xob. (01)

    · PC817:- Opt coupler Ua:- Pob Ntseg: -THT (10)

    · G3MB-202PL:- SSR Ua Omron (05), Xoom hla kev hloov pauv.

    · LED: -Color:- Txhua, Pob THT (01)

    · 220 lossis 250 Ohm Resistor:- Ceramic (11)

    · 100 Ohm Resistor:- Ceramic (5)

    · 8k Ohm Resistor:- Ceramic (1)

    · 2k2 Ohm Resistor:- Ceramic (1)

    · 10K Ohm Resistor:- Ceramic (13)

    · Laub khawm: -Part Code:- EVQ22705R, Hom:- nrog Ob lub dav hlau (02)

    · Iav Fuse:- Hom:- Iav, Ntsuam Xyuas:- 2 Amp @ 230V AC. (5)

    · PCB Txiv neej Header:- Peb lub taub hau nrog Peb tus pin & Ib lub taub hau nrog 4 Tus Pin. yog li ib tus qauv Sawb ntawm Txiv neej header yog qhov zoo dua rau kev yuav khoom.

Kauj Ruam 1: Ua kom tiav

Consept Kawg
Consept Kawg

Qhov kawg ntawm Kev Ntseeg:- Kuv tau piav qhia qhov xav tau raws li hauv qab no

1. Ua Smart Hloov muaj 5 Hloov & Tswj tau los ntawm WIFI.

2. Nws tuaj yeem ua haujlwm nrog WIFI los ntawm kev hloov lub cev lossis Pushbutton.

3 Hloov tuaj yeem yog hom DIY yog li nws tuaj yeem RE-Flashed.

4. Nws tuaj yeem haum rau hauv lub rooj hloov pauv uas twb muaj lawm yam tsis hloov pauv lossis thaiv.

5. TXHUA GPIO ntawm Microcontroller los siv vim nws yog DIY hom.

6. Cov cuab yeej hloov pauv yuav tsum SSR & xoom hla mus rau kev zam lub suab nrov & hloov pauv nce.

7. Qhov loj me ntawm PCB Yuav tsum yog me me txaus kom nws tuaj yeem haum rau hauv cov khoom siv uas twb muaj lawm.

Raws li peb ua tiav qhov xav tau, cov kauj ruam tom ntej yog xaiv cov cuab yeej

Kauj Ruam 2: Xaiv Microcontroller

Xaiv Microcontroller
Xaiv Microcontroller

Cov txheej txheem xaiv microcontroller

  1. Yuav tsum tau GPIO: -5 cov tswv yim + 5 cov zis + 1 ADC.
  2. Wifi tau qhib
  3. Yooj yim rau rov nyem los muab kev ua haujlwm DIY.

ESP8266 yog qhov tsim nyog rau qhov xav tau saum toj no. nws muaj 11 GPIO + 1 ADC + WiFi qhib.

Kuv tau xaiv ESP12F module uas yog ESP8266 microcontroller raws li Devlopment board, nws muaj cov qauv me me & txhua GPIO muaj neeg nyob kom yooj yim siv.

Kauj Ruam 3: Txheeb Xyuas GPIO Cov Ntaub Ntawv ntawm ESP8266 Pawg Thawj Coj

Txheeb xyuas GPIO Nthuav dav ntawm ESP8266 Pawg Thawj Coj
Txheeb xyuas GPIO Nthuav dav ntawm ESP8266 Pawg Thawj Coj
  • Raws li ESP8266 Cov ntaub ntawv ntawv qee qhov GPIO tau siv rau kev ua haujlwm tshwj xeeb.
  • Thaum Lub Sijhawm Breadboard Kuv tau khawb kuv lub taub hau vim tsis tuaj yeem khau raj nws.
  • Thaum kawg los ntawm kev tshawb fawb hauv is taws nem thiab ua si nws nrog lub thawv ntawv kuv tau sau cov ntaub ntawv GPIO thiab ua cov lus yooj yim kom nkag siab yooj yim.

Kauj Ruam 4: Xaiv Cov Khoom Siv Hluav Taws Xob

Xaiv Cov Khoom Siv Hluav Taws Xob
Xaiv Cov Khoom Siv Hluav Taws Xob
Xaiv Cov Khoom Siv Hluav Taws Xob
Xaiv Cov Khoom Siv Hluav Taws Xob
Xaiv Cov Khoom Siv Hluav Taws Xob
Xaiv Cov Khoom Siv Hluav Taws Xob

Xaiv Cov Khoom Siv Hluav Taws Xob

  • Hauv Is Nrias teb 230VAC yog khoom siv hauv tsev. raws li ESP8266 ua haujlwm ntawm 3.3VDC, peb yuav tsum xaiv 230VDC / 3.3VDC fais fab mov.
  • Tab sis Cov Khoom Siv Hluav Taws Xob uas yog SSR & ua haujlwm ntawm 5VDC yog li kuv yuav tsum xaiv Cov Khoom Siv Hluav Taws Xob uas muaj 5VDC ib yam.
  • Thaum kawg xaiv lub hwj chim muaj 230V/5VDC.
  • Kom tau 3.3VDC kuv tau xaiv Buck converter muaj 5VDC/3.3VDC.
  • Raws li peb yuav tsum tsim hom DIY kuv kuj tseem muab cov kev cai AMS1117 tawm qhov ntsuas hluav taws xob.

Xaus Kawg

Thawj qhov hloov pauv hluav taws xob yog 230VAC / 5 VDC muaj peev xwm 3W.

HI-LINK ua HLK-PM01 smps

Kev hloov pauv thib ob yog 5VDC rau 3.3VDC

Txog qhov no kuv tau xaiv 5V/3.3V Buck hloov pauv & muab ntawm AMS1117 Tawm qhov ntsuas hluav taws xob

PCB ua tau zoo li no nws tuaj yeem siv AMS1117 lossis hloov pauv (Ib tus neeg twg).

Kauj Ruam 5: Xaiv Kev Hloov Cov Ntaus

Xaiv Kev Hloov Cov Ntaus
Xaiv Kev Hloov Cov Ntaus
Xaiv Kev Hloov Cov Ntaus
Xaiv Kev Hloov Cov Ntaus
  • Kuv tau xaiv Omron Ua G3MB-202P SSR

    • SSR muaj 2 amp. peev xwm tam sim no.
    • Ua haujlwm ntawm 5VDC.
    • Muab Zero hla kev hloov pauv.
    • Inbuilt Snubber Circuit.

Zero Hla yog dab tsi?

  • 50 HZ AC mov yog qhov hluav taws xob sinusoidal.
  • Cov khoom siv hluav taws xob hloov pauv txhua txhua 20 mille thib ob & 50 zaug hauv ib pliag.
  • Qhov hluav taws xob tau txais xoom txhua 20 mille thib ob.
  • Xoom hla SSR kuaj pom qhov tsis muaj peev xwm ntawm qhov hluav taws xob thiab qhib qhov tso tawm ntawm qhov piv txwv no.

    Piv txwv li:- yog hais kom xa ntawm 45 Degree (qhov hluav taws xob ntawm qhov siab tshaj plaws), SSR qhib ntawm 90 degree (thaum qhov hluav taws xob yog xoom)

  • Qhov no txo qis kev hloov pauv thiab suab nrov.
  • Xoom hla taw tes tau qhia hauv daim duab txuas (Liab cov ntawv tseem ceeb)

Kauj Ruam 6: Xaiv Tus PIN ESP8266

ESP8266 Xaiv Tus PIN
ESP8266 Xaiv Tus PIN
ESP8266 Xaiv Tus PIN
ESP8266 Xaiv Tus PIN

ESP8266 muaj tag nrho 11 GPIO thiab Ib tus lej ADC. (Saib Kauj Ruam 3)

Kev xaiv tus pin ntawm esp8266 yog qhov tseem ceeb vim tias hauv qab critaria.

Cov Cai Rau Kev Xaiv Cov Lus Qhia:-

  • GPIO PIN15 Yuav Tsum Muaj Tsawg Thaum Bootup lwm ESP ntse yuav tsis khau raj.

    Nws sim bootup los ntawm SD daim npav yog GPIO15 siab thaum Bootup

  • ESP8266 neve Boot Yog GPIO PIN1 lossis GPIO 2 lossis GPIO 3 yog LOW thaum khau raj.

Cov Cai rau Kev Xaiv Cov Xaiv:-

  • GPIO PIN 1, 2, 15 & 16 tau siab thaum Bootup (rau feem ntawm lub sijhawm).
  • yog tias peb siv tus lej no los ua tus lej & tus lej yog nyob rau theem qis thaum lub sijhawm bootup ces tus pin no tau raug puas tsuaj vim luv Circuit Court ntawm tus lej uas yog Tsawg tab sis ESP8266 tig nws HIGH thaum pib.

Qhov xaus zaum kawg:-

Thaum kawg GPIO 0, 1, 5, 15 & 16 tau xaiv rau cov zis.

GPIO 3, 4, 12, 13 & 14 tau xaiv rau Kev Nkag Siab.

Txwv tsis pub:-

  • GPIO1 & 3 yog UART pins uas tau siv los nyem ESP8266 & peb kuj xav siv cov ntawd raws li cov zis.
  • GPIO0 tau siv los tso ESP hauv hom nyem & peb kuj txiav txim siab siv nws li cov zis.

Kev daws teeb meem saum toj no:-

  1. Teeb meem daws los ntawm muab ob lub dhia.

    1. Flash hom jumper: - Hauv txoj haujlwm no tag nrho peb tus pin raug cais los ntawm kev hloov pauv hauv Circuit Court thiab txuas nrog rau hom flash header.
    2. Khiav hom jumper:- Hauv txoj haujlwm no tag nrho peb tus pin yuav txuas nrog kev hloov pauv hauv Circuit Court.

Kauj Ruam 7: Xaiv Optocoupler

Xaiv Optocoupler
Xaiv Optocoupler
Xaiv Optocoupler
Xaiv Optocoupler

PIN nthuav dav:-

  • PIN 1 & 2 Cov Lus Qhia Sab (Inbuilt LED)

    • Pin 1:- Anode
    • Pnd 2:- Cathode
  • PIN 3 & 4 Cov Tawm Sab (Duab transistor.

    • Tus Pin 3:- Emitter
    • Tus Pin 4:- Tus sau

Xaiv qhov hloov pauv Circuit Court xaiv

  1. ESP 8266 GPIO tuaj yeem noj tau tsuas yog 20 m.a. raws li esprissif.
  2. Optocoupler tau siv los tiv thaiv ESP GPIO PIN thaum SSR hloov pauv.
  3. 220 Ohms resistor tau siv los txwv GPIO tam sim no.

    Kuv tau siv 200, 220 & 250 & txhua tus tiv thaiv ua haujlwm tau zoo

  4. Kev suav tam sim no I = V / R, I = 3.3V / 250*Ohms = 13 ma.
  5. PC817 cov tswv yim LED muaj qee qhov tsis kam uas suav tias yog xoom rau sab nyab xeeb.

Cov tswv yim hloov kev xaiv hluav taws xob

  1. PC817 optocouplers tau siv nyob rau hauv Circuit Court input nrog 220 ohms tam sim no limiting resistor.
  2. Cov zis ntawm optocoupler tau txuas nrog GPIO nrog rau Pull-UP resistor.

Kauj Ruam 8: Kev Npaj Txheej Txheem Circuit

Kev Npaj Txheej Txheem Circuit
Kev Npaj Txheej Txheem Circuit
Kev Npaj Txheej Txheem Circuit
Kev Npaj Txheej Txheem Circuit

Tom qab xaiv txhua qhov kev tiv thaiv thiab txhais cov txheej txheem thaiv, peb tuaj yeem txav mus rau Kev Tsim Kho Circuit siv ib qho software.

Kuv tau siv Easyeda uas yog Web raws PCB kev txhim kho platform thiab siv tau yooj yim.

URL ntawm Easyeda:- EsasyEda

Rau kev piav qhia yooj yim kuv tau faib tag nrho cov Circuit Court hauv cov chunks. & thawj yog Lub Hwj Chim Circuit.

Lub zog hluav taws xob A:- 230 VAC rau 5VDC

  1. HI-Txuas ua HLK-PM01 SMPS siv los hloov 230Vac rau 5 V DC.
  2. Lub zog siab tshaj yog 3 Watt. txhais tau tias nws tuaj yeem muab 600 ma.

Lub zog hluav taws xob B:- 5VDC txog 3.3VDC

Raws li PCB no yog DIY hom. Kuv tau muab ob txoj hauv kev los hloov 5V rau 3.3V.

  1. Siv AMS1117 Tus tswj hwm qhov hluav taws xob.
  2. Siv Buck Converter.

leej twg tuaj yeem siv raws li qhov muaj nyob ntawm cov khoom siv.

Kauj Ruam 9: ESP8266 Kev Txuas Hluav Taws Xob

ESP8266 Cov xov hlau
ESP8266 Cov xov hlau

Kev xaiv chaw nres nkoj Net yog siv los ua cov phiaj xwm yooj yim.

Net chaw nres nkoj yog dab tsi ??

  1. Net tshaj tawm txhais tau tias peb tuaj yeem muab lub npe rau kev sib koom ua ke.
  2. los ntawm kev siv tib lub npe hauv ib feem sib txawv, Easyeda yuav txiav txim siab txhua lub npe tib yam li ib qho khoom siv sib txuas.

Qee txoj cai yooj yim ntawm esp8266 thaiv

  1. CH_PD tus pin xav tau kom siab.
  2. Pib dua tus pin xav tau kom siab thaum ua haujlwm ib txwm muaj.
  3. GPIO 0, 1 & 2 shoud tsis nyob ntawm Tsawg thaum khau raj.
  4. GPIO 15 yuav tsum tsis txhob nyob qib siab thaum khau raj.
  5. Xav txog txhua cov ntsiab lus saum toj no hauv siab ESP8266 txoj kab xov hluav taws xob tau npaj. & pom hauv cov duab schematic.
  6. GPIO2 yog siv raws li xwm txheej LED & txuas nrog LED hauv Rov qab polarity kom zam dhau GPIO2 LOW thaum Bootup.

Kauj Ruam 10: ESP8266 Cov Hluav Taws Xob Hloov Hluav Taws Xob

ESP8266 Cov Hluav Taws Xob Hloov Hluav Taws Xob
ESP8266 Cov Hluav Taws Xob Hloov Hluav Taws Xob

ESO8266 GPIO 0, 1, 5, 15 & 16 siv tawm.

  1. Txhawm rau khaws GPIO 0 & 1 ntawm qib siab nws cov xov hluav taws xob txawv me ntsis ntawm lwm qhov tso tawm.

    1. Lub rooj muag khoom tus pin no yog 3.3V thaum khau raj.
    2. PIN1 ntawm PC817 uas yog anode txuas nrog 3.3V.
    3. PIN2 uas yog Cathode txuas nrog GPIO siv tam sim no txwv kev tawm tsam (220/250 Ohms).
    4. Raws li mus rau qhov tsis ncaj ncees Diode tuaj yeem hla 3.3V (0.7V diode poob) Ob leeg GPIO tau txais yuav luag 2.5 VDC thaum khau raj.
  2. Tseem tshuav GPIO tus pin txuas nrog PIN1 uas yog Anode ntawm PC817 & Hauv av txuas nrog PIN2 uas yog Cathode siv tam sim no txwv kev tiv thaiv.

    1. Raws li Av tau txuas nrog Cathode nws yuav dhau los ntawm PC817 LED thiab khaws GPIO ntawm Qib qis.
    2. Qhov no ua rau GPIO15 LOW thaum khau raj.
  3. Peb daws teeb meem ntawm tag nrho peb GPIO los ntawm kev siv cov txheej txheem sib txuas sib txawv.

Kauj ruam 11: Esp8266 Cov tswv yim

Esp8266 Cov tswv yim
Esp8266 Cov tswv yim

GPIO 3, 4, 12, 13 & 14 tau siv los ua tswv yim.

Raws li cov xov hluav taws xob yuav txuas nrog lub cuab yeej, yuav tsum muaj kev tiv thaiv rau ESP8266 GPIO.

PC817 optocoupler siv rau kev cais tawm tswv yim.

  1. PC817 Cov tswv yim Cathodes txuas nrog Pin headers siv tam sim no txwv resistor (250 Ohms).
  2. Anode ntawm txhua qhov Optocoupler txuas nrog 5VDC.
  3. Thaum twg Los xij tus lej txuas nrog hauv av, Optocoupler yuav xa mus rau qhov tsis ncaj ncees thiab tso tawm transistor qhib.
  4. Tus sau ntawm optocoupler txuas nrog GPIO nrog rau 10 K Rub-up resistor.

Pull-up yog dab tsi ???

  • Pull-up resistor tau siv Txhawm rau GPIO ruaj khov, tus nqi siab tiv thaiv txuas nrog GPIO thiab lwm qhov kawg txuas nrog 3.3V.
  • qhov no khaws GPIO nyob rau qib siab thiab zam kev ua kom yuam kev.

Kauj Ruam 12: Schematic Kawg

Schematic kawg
Schematic kawg

Tom qab ua tiav ntawm txhua ntu nws yog lub sijhawm los tshuaj xyuas kab.

Easyeda Muab qhov tshwj xeeb rau qhov no.

Kauj Ruam 13: Hloov PCB

Hloov PCB
Hloov PCB
Hloov PCB
Hloov PCB

Cov kauj ruam los hloov Circuit hauv PCB Layout

  1. Aftermaking Circuit peb tuaj yeem hloov nws mus rau hauv PCB txheej txheem.
  2. Los ntawm nias Hloov mus rau PCB xaiv ntawm Easyeda system yuav pib hloov pauv ntawm Schematic rau hauv PCB Layout.
  3. Yog tias muaj qhov yuam kev thaiv lossis tsis siv tus pin nyob tam sim no Yuam Kev/Tswb tsim tawm.
  4. Los ntawm kev txheeb xyuas qhov yuam kev hauv ntu sab xis ntawm nplooj ntawv txhim kho Software peb tuaj yeem daws txhua qhov yuam kev ib tus zuj zus.
  5. PCB teeb tsa tsim tom qab txhua qhov kev daws teeb meem.

Kauj Ruam 14: PCB Layout & Componant Arrangement

PCB Layout & Componant Arrangement
PCB Layout & Componant Arrangement

Kev Sib Raug Zoo

  1. Txhua yam khoom siv nrog nws qhov tseeb
  2. qhov ntev thiab daim ntawv lo tau qhia hauv PCB txheej txheem tshuaj ntsuam.

    Thawj kauj ruam yog npaj cov khoom

  3. Sim muab High voltage thiab Low voltage tivthaiv kom deb li deb tau.
  4. Kho txhua feem raws li qhov xav tau loj ntawm PCB.

    Tom qab npaj tag nrho cov khoom peb tuaj yeem ua kab

  5. (taug qab qhov dav yuav tsum tau kho raws li qhov tam sim no ntawm ntu ntu)
  6. Qee qhov cim tseg tau taug qab hauv qab ntawm pcb siv kev hloov pauv hloov pauv.
  7. Cov kab hluav taws xob tau khaws cia rau qhov tso dej tawm tom qab tsim.

Kauj Ruam 15: Qhov Txheej Txheem PCB kawg

Qhov kawg PCB Txheej Txheem
Qhov kawg PCB Txheej Txheem

Kauj Ruam 16: Txheeb xyuas 3D Saib thiab Tsim Cov Ntaub Ntawv Ggerber

Txheeb xyuas 3D Saib thiab Tsim Cov Ntaub Ntawv Ggerber
Txheeb xyuas 3D Saib thiab Tsim Cov Ntaub Ntawv Ggerber
Txheeb xyuas 3D Saib thiab Tsim Cov Ntaub Ntawv Ggerber
Txheeb xyuas 3D Saib thiab Tsim Cov Ntaub Ntawv Ggerber

Easyeda muab 3D saib kev xaiv uas peb tuaj yeem tshawb xyuas 3D saib ntawm PCB thiab tau txais lub tswv yim seb nws zoo li cas tom qab tsim.

Tom qab txheeb xyuas 3D saib Tsim cov ntaub ntawv Gerber.

Kauj Ruam 17: Tso Kev Txiav Txim

Tso Kev Txiav Txim
Tso Kev Txiav Txim

Tom Qab Tsim Gerber cov ntaub ntawv txheej txheem muab rau pem hauv ntej saib ntawm PCB txheej txheem kawg thiab tus nqi ntawm 10 PCB.

Peb tuaj yeem tso xaj rau JLCPCB ncaj qha los ntawm nias "xaj ntawm JLCPCB" Khawm.

Peb tuaj yeem xaiv cov ntsej muag xim raws li qhov xav tau thiab xaiv hom kev xa khoom.

Los ntawm kev xaj xaj thiab them nyiaj peb tau txais PCB hauv 15-20 hnub.

Kauj Ruam 18: Txais PCB

Tau txais PCB
Tau txais PCB
Tau txais PCB
Tau txais PCB

Txheeb xyuas PCB pem hauv ntej thiab tom qab tom qab tau txais nws.

Kauj Ruam 19: Componant Soldring ntawm PCB

Componant Soldring ntawm PCB
Componant Soldring ntawm PCB
Componant Soldring ntawm PCB
Componant Soldring ntawm PCB

Raws li kev tiv thaiv kev tiv thaiv ntawm PCB tag nrho cov khoom sib txuas pib.

Saib Xyuas:- Qee qhov hneev taw ib feem yog sab nraum qab yog li kos daim ntawv lo ntawm PCB thiab ib feem ntawm phau ntawv ua ntej siv qhov kawg.

Kauj Ruam 20: Lub Hwj Chim Taug Kev Thickness nce ntxiv

Lub Hwj Chim Taug Kev Thickness nce
Lub Hwj Chim Taug Kev Thickness nce

Txog kev txuas hluav taws xob Kuv tso cov kab qhib thaum txheej txheem txheej txheem PCB.

Raws li qhia hauv daim duab txhua lub hwj chim taug qab tau qhib yog li nchuav ntxiv rau nws txhawm rau ua kom muaj peev xwm saib xyuas currant.

Kauj Ruam 21: Kuaj Kawg

Kuaj Kawg
Kuaj Kawg

Tom qab qhov muag ntawm txhua lub Cheebtsam cheked txhua yam khoom siv multimeter

  1. Txheeb xyuas qhov ntsuas qhov ntsuas
  2. Optocoupler LED xyuas
  3. Kev txheeb xyuas av.

Kauj ruam 22: Flashing Firmware

Flashing Firmware
Flashing Firmware
Flashing Firmware
Flashing Firmware
Flashing Firmware
Flashing Firmware

Peb tus dhia ntawm PCB tau siv los tso esp hauv hom khau raj.

Txheeb xyuas lub zog xaiv Jumper ntawm 3.3VDC ntawm FTDI Chip.

Txuas FTDI nti rau PCB

  1. FTDI TX:- PCB RX
  2. FTDI RX:- PCB TX
  3. FTDI VCC:- PCB 3.3V
  4. FTDI G:- PCB G

Kauj Ruam 23: Flash Tasamota Firmware ntawm ESP

Flash Tasamota Firmware ntawm ESP
Flash Tasamota Firmware ntawm ESP

Flash Tasmota ntawm ESP8266

  1. DownloadTasamotizer & tasamota.bin cov ntaub ntawv.
  2. Rub tawm txuas ntawm Tasmotizer:- tasmotizer
  3. Download tau txuas ntawm tasamota.bin:- Tasmota.bin
  4. Nruab tasmotazer thiab qhib nws.
  5. Hauv tasmotizer nyem selectport laum kaj ntug.
  6. yog FTDI txuas nrog ces qhov chaw nres nkoj tshwm hauv cov npe.
  7. Xaiv chaw nres nkoj los ntawm daim ntawv teev npe. (Yog tias muaj ntau lub chaw nres nkoj, xyuas seb qhov chaw nres nkoj twg yog FTDI)
  8. nyem qhib khawm thiab Xaiv Tasamota.bin cov ntaub ntawv los ntawm qhov chaw rub tawm.
  9. nyem rau Erase ua ntej nyem qhov kev xaiv (tshem spiff yog tias muaj cov ntaub ntawv nyob ntawd)
  10. Nias Tasamotize! Khawm
  11. yog tias txhua yam zoo, tom qab ntawd koj tau txais kev nce qib ntawm erasing flash.
  12. ib zaug ua tiav nws qhia "rov pib esp" popup.

Disconnect FTDI los ntawm PCB.

Hloov Peb jumper los ntawm Flash rau Khiav Ib Sab.

Kauj Ruam 24: Teeb Tasmota

Teeb tsa Tasmota
Teeb tsa Tasmota
Teeb tsa Tasmota
Teeb tsa Tasmota

Txuas AC lub zog rau PCB

Tasmota teeb tsa kev pab online: -Tasmota teeb tsa kev pab

ESP yuav pib thiab Qhov xwm txheej coj ntawm PCB nyem ib zaug. Qhib Wifimanger ntawm Laptop Nws qhia AP tshiab "Tasmota" txuas nws. ib zaug txuas lub vev xaib qhib.

  1. Kho WIFI ssid & Password ntawm koj lub router hauv Configure Wifi page.
  2. Ntaus yuav rov pib dua tom qab txuag.
  3. Thaum rov qhib dua koj lub router, txheeb xyuas tus ntaus ntawv tshiab ip & nco nws tus IP.
  4. qhib lub vev xaib thiab nkag mus rau tus IP ntawd. Lub vev xaib qhib rau tasmota teeb tsa.
  5. Teeb hom Module (18) hauv kev teeb tsa tus qauv xaiv thiab teeb tsa txhua qhov kev nkag & tawm raws li tau hais hauv cov duab comnfigration.
  6. rov pib dua PCB thiab nws zoo mus.

Kauj Ruam 25: Cov Lus Qhia thiab Kev Qhia

Image
Image

Kev Txuas Hluav Taws Xob & Kev sim ntawm PCB

Cov xov hluav taws xob ntawm txhua 5 lub tswv yim txuas nrog 5 Hloov/Buttone.

Qhov kev txuas thib ob ntawm txhua 5 lub cuab yeej txuas nrog rau "G" xaim ntawm lub taub hau nkag.

Tso tawm sab 5 Hlau txuas rau 5 lub tsev siv.

Muab 230 rau cov tswv yim ntawm PCB.

Ntse Swith nrog 5 Lub Tswv Yim & 5 Cov Lus Qhia tau npaj siv.

Demo ntawm kev sim:- Demo

Pom zoo: