Cov txheej txheem:

ARMTRONIX Wifi 30Amps Board: 4 Kauj Ruam (nrog Duab)
ARMTRONIX Wifi 30Amps Board: 4 Kauj Ruam (nrog Duab)

Video: ARMTRONIX Wifi 30Amps Board: 4 Kauj Ruam (nrog Duab)

Video: ARMTRONIX Wifi 30Amps Board: 4 Kauj Ruam (nrog Duab)
Video: Next level of miniaturization with GQ 16A relay from Goodsky | CODICO.com 2024, Hlis ntuj nqeg
Anonim
ARMTRONIX Wifi 30Amps Board
ARMTRONIX Wifi 30Amps Board

QHIA:

Armtronix 30AMPS Relay board yog pawg IOT. Qhov nta ntawm pawg thawj coj yog:

  1. Wireless tswj.
  2. Ntawm lub nkoj USB rau UART.
  3. On board AC rau DC fais fab tuag suppy1 230VAC rau 5V DC.
  4. AC virtual hloov.

Qhov zoo thiab hnov thiab qhov loj ntawm pawg thawj coj yog 105mm X 70mm tau qhia hauv daim duab 1 muaj peev xwm tsav 30Amps thauj khoom. Pawg thawj coj tau muab cais ua pawg hauv paus thiab daim npav tus ntxhais thiaj li yuav muaj kev cais tawm ntawm AC. Tus ntxhais daim npav muaj Wifi module (ESP 8266) thiab microcontroller (atmega328) uas yog siv los tswj kev xa mus los ntawm http lossis mqtt. Ntawm lub nkoj muaj USB rau UART thiab micro USB rau program ESP 8266 thiab atmega328.

Lub hauv paus pawg thawj coj muaj Lub Hwj Chim AC AC rau DC ntawm 100-240VAC txog 5V txog 0.6A, lub fuse tuav rau iav fuse, txuas ntawm 30Amps thiab txuas txuas. Muaj kev rho tawm los tsav kev sib kis thiab kev txhawb nqa ntxiv tau ntxiv. Zero hla kev txheeb xyuas kuj tseem muaj los txhawm rau ncua kev xa tawm.

Kauj ruam 1: Header Paub meej

Header Paub meej
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

Ntawm lub rooj tsavxwm 230VAC tau siv rau lub davhlau ya nyob twg thaiv thiab thauj khoom tau thov rau qhov thaiv tawm. Hloov tau txuas nrog Ac hloov pauv.

Ntawm daim npav ntxhais J6 lub taub hau tau siv muab 5v lossis 3.3v rau tus tswj, xa daim duab 4 qhov no yog ua los siv kev teeb tsa jumper. Yog tias 1 thiab 2 tus pin ntawm J6 luv ces tus tswj tau khiav ntawm 3.3V, yog 3 thiab 2 tus pin ntawm J6 luv dua ces tus tswj khiav ntawm 5V.

J1 header muaj ESP dawb gpios, cov neeg siv tuaj yeem siv rau lub hom phiaj ntawd.

S1 khawm yog rau Key flash rau ESP.

S2 khawm yog rov pib dua ntawm ESP.

S3 khawm yog rau tus tswv pib dua thaum koj nias lub pob ob ESP thiab Atmega rov pib dua.

Kauj Ruam 2: Programming ESP, Atmega thiab Kev Sib Txuas Ntawm ESP thiab Atmega

Programming ESP, Atmega thiab Kev Sib Txuas Ntawm ESP thiab Atmega
Programming ESP, Atmega thiab Kev Sib Txuas Ntawm ESP thiab Atmega

J2 Header yog siv los rub cov firmware rau ESP lossis atmega los ntawm USB mus rau UART los ntawm kev siv micro USB. Qhov tus pin cov ntsiab lus tuaj yeem raug xa los ntawm daim duab 4. To upload lub firmware tshiab rau esp ntawm kev xaiv qhov chaw nres nkoj com luv tus pin 3-4, 5-6 thiab 9-10 siv jumper nqis. Txhawm rau upload lub khoos phis tawj tshiab rau atmega ntawm kev xaiv lub com chaw nres nkoj luv tus pin 1-2, 7-8 thiab 11-12 siv jumper teeb tsa. Tom qab kev teeb tsa ob qho tib si ESP thiab Atmega peb yuav tsum tsim kom muaj kev sib txuas ntawm ESP thiab Atmega los ntawm luv pins 1- 3 thiab 5-7 siv cov dhia.

Kauj Ruam 3: Kho Cov Lus Qhia

Kev Kho Cov Lus Qhia
Kev Kho Cov Lus Qhia
Cov Lus Qhia Kho
Cov Lus Qhia Kho
Cov Lus Qhia Kho
Cov Lus Qhia Kho
Cov Lus Qhia Kho
Cov Lus Qhia Kho

Fais fab lub rooj tsavxwm nrog Kev Nkag nrog 230V AC lub cuab yeej yuav tuav lub chaw nkag raws li qhia hauv daim duab 5, txuas lub xov tooj ntawm tes mus rau qhov chaw nrog Armtronix- (mac) EX: Armtronix-1a-65-7 raws li qhia hauv daim duab 6. Tom qab txuas qhib qhov browser thiab ntaus 192.168.4.1 (default IP address) IP chaw nyob hauv qhov browser, nws yuav qhib lub web server raws li qhia hauv daim duab 7, sau SSID thiab password thiab xaiv HTTP, yog tus neeg siv xav txuas rau MQTT ces nws yuav tsum xaiv MQTT khawm xov tooj cua thiab nkag mus rau MQTT broker IP chaw nyob thiab nkag mus rau MQTT tshaj tawm cov ncauj lus thiab MQTT sau npe cov ncauj lus thiab xa.

Tom qab teeb tsa xa ESP 8266 yuav txuas rau lub router thiab router muab tus IP chaw nyob rau ESP. Qhib tus IP chaw nyob hauv qhov browser txhawm rau tswj kev xa xov.

Tsis muaj teeb tsa tus SSID thiab Tus password peb tuaj yeem tswj hwm qhov txuas los ntawm kev txuas mus rau qhov chaw nkag ntawm lub cuab yeej thiab qhib IP chaw nyob ntawm lub cuab yeej piv txwv li 192.168.4.1 lub vev xaib nplooj ntawv yuav qhia qhov txuas nrog lub npe Tswj GPIO raws li qhia hauv daim duab 8 los ntawm nyem qhov txuas no kuj peb tuaj yeem tswj hwm kev xa tawm tab sis cov lus teb yuav qeeb.

Kauj Ruam 4: Daim Kab Xev

Daim duab thaiv
Daim duab thaiv
Daim duab thaiv
Daim duab thaiv

Cov kab hluav taws xob tau qhia hauv daim duab 3 kom nkag mus rau lub davhlau ya nyob twg thaiv 230VAC Phase (P) thiab Neutral (N) tau muab. Qhov tso tawm ntawm kev xa tawm Ib txwm qhib (TSIS MUAJ) txuas nrog rau ib qho kawg ntawm kev thauj khoom thiab nruab nrab (N) mus rau lwm qhov kawg ntawm lub nra. AC lub davhlau ya nyob twg thaiv qhov hluav taws xob tau txuas nrog qhov hloov pauv raws li qhia hauv daim duab 3. Peb tuaj yeem tswj hwm qhov txuas los ntawm wireless lossis siv AC hloov pauv. Lub peev xwm tuaj yeem tsav mus txog 30Amps thiab cov ntaub qhwv tooj liab tau nthuav tawm huab cua kom cov hlau lead ntxiv tuaj yeem ua kom yaj tau txhawm rau nce qhov ntsuas ampere.

Pom zoo: