Cov txheej txheem:

ARMTRONIX WIFI SINGLE Dimmer Board V0.2: 3 Cov Kauj Ruam (nrog Duab)
ARMTRONIX WIFI SINGLE Dimmer Board V0.2: 3 Cov Kauj Ruam (nrog Duab)

Video: ARMTRONIX WIFI SINGLE Dimmer Board V0.2: 3 Cov Kauj Ruam (nrog Duab)

Video: ARMTRONIX WIFI SINGLE Dimmer Board V0.2: 3 Cov Kauj Ruam (nrog Duab)
Video: {Failed} sealant to seal the gap between the glass roof and the wall without backer rod 2024, Hlis ntuj nqeg
Anonim
ARMTRONIX WIFI SINGLE Dimmer Board V0.2
ARMTRONIX WIFI SINGLE Dimmer Board V0.2

Armtronix Wifi dimmer yog IOT pawg thawj coj nws tau tsim los rau kev siv tshuab hauv tsev. Cov yam ntxwv ntawm pawg thawj coj yog:

  1. Wireless tswj
  2. Daim ntawv me me
  3. On board AC rau DC fais fab tuag suppy1 230VAC rau 5V DC.
  4. DC virtual hloov

Qhov loj ntawm pawg thawj coj yog 61.50mmX32mm, raws li nws tau qhia hauv daim duab 1, muaj peev xwm tsav 1 Amps thauj khoom. Pawg thawj coj muaj Wifi module thiab microcontroller (atmega328) uas yog siv los tswj lub triac los ntawm HTTP lossis MQTT. Lub rooj tsavxwm muaj DC hloov pauv virtual uas tuaj yeem siv los tswj thiab qhib.

Lub Rooj Tswjhwm Saib kuj muaj Lub Hwjchim Loj AC rau DC ntawm 100-240VAC txog 5V txog 0.6A, triac BT136 thiab Terminal txuas. Muaj Zero hla kev txheeb xyuas kuj tseem muaj. Muaj ib qho triac siv ob qho rau kev dim thiab rau kev hloov pauv.

Kauj ruam 1: Header Paub meej

Header Paub meej
Header Paub meej

Daim duab 2 muab cov ntsiab lus ntawm lub taub hau thiab cov davhlau ya nyob twg

Rau board 230VAC tau siv rau lub davhlau ya nyob twg thaiv thiab thauj khoom tau thov rau lub davhlau ya nyob twg thaiv.

Ntawm lub Rooj Tswjhwm Saib J3 header yog siv rau dc virtual hloov cov ntsiab lus ntawm lub hauv paus tuaj yeem xa mus rau daim duab 4. dc virtual hloov peb tab tom siv tus lej thib ob xws li A0 thiab tus lej thib peb piv rau hauv av, qhov no tau hais hauv daim duab 3 rau kev txuas ntawm kev hloov pauv virtual.

Kauj Ruam 2: Cov ncauj lus kom ntxaws

Cov ncauj lus kom ntxaws
Cov ncauj lus kom ntxaws

J1 Header tau siv los rub tawm cov firmware rau ESP lossis atmega los ntawm FTDI Module, cov ntsiab lus ntawm lub taub hau tuaj yeem pom hauv daim duab 4. Tom qab ua qhov txuas, txuas mus rau USB chaw nres nkoj rau lub khoos phis tawj thiab nkag siab peb yuav tsum teeb tsa tus tsav tsheb txhawm rau txheeb xyuas nws pom qhov chaw nres nkoj com, ua li no tus neeg siv tuaj yeem rub tawm lub firmware.

Txhawm rau rub tawm lub firmware tshiab rau esp siv FTDI ua qhov txuas hauv qab no

  1. Txuas RX ntawm FTDI rau TXDE tus pin ntawm J1
  2. Txuas TX ntawm FTDI rau RXDE tus pin ntawm J1
  3. Txuas RTS ntawm FTDI rau RTSE tus pin ntawm J1
  4. Txuas DTR ntawm FTDI rau DTRE tus pin ntawm J1
  5. Txuas Vcc5V ntawm FTDI rau VCC5v tus pin ntawm J1
  6. Txuas GND ntawm FTDI rau GND tus pin ntawm J1

Ib yam li rub cov firmware rau atmega ua qhov txuas hauv qab no

  1. Txuas RX ntawm FTDI rau TXDA tus pin ntawm J1
  2. Txuas TX ntawm FTDI rau RXDA tus pin ntawm J1
  3. Txuas DTR ntawm FTDI rau DTRApin ntawm J1
  4. Txuas Vcc5V ntawm FTDI rau VCC5v tus pin ntawm J1
  5. Txuas GND ntawm FTDI rau GND tus pin ntawm J1

Tom qab kev ua haujlwm ob qho tib si ESP thiab Atmega peb yuav tsum tsim kev sib txuas ntawm ESP thiab Atmega los ntawm luv pins 3-4 ntawm J1 header thiab 5-6 ntawm J1 header siv cov chaw dhia.

Kauj Ruam 3: Kev thaiv kab hlau

Thaiv
Thaiv

Daim duab kab hluav taws xob tau qhia hauv daim duab 3 kom nkag mus rau lub dav hlau thaiv 230VAC Phase (P) thiab Neutral (N) tau muab. Qhov tso tawm tuaj yeem siv ua dimmer rau lub teeb dimmable los tswj kev siv lub teeb thiab tseem tswj kev nrawm ntawm kiv cua.. Cov zis tseem raug tswj los ntawm DC hloov pauv virtual raws li tau qhia hauv daim duab 3 GPIO A0 tus lej thib ob ntawm J3 header ntawm atmega tau siv rau kev hloov pauv virtual thiab J3 header tus pin thib peb hauv av kuj tseem siv los txuas virtual hloov.

Rau kev teeb tsa xa qhov teeb tsa txuas no

Pom zoo: