ARMTRONIX Wifi 30Amps Board

3.0K1811

Intro: ARMTRONIX Wifi 30Amps Board

INTRODUCTION:

Armtronix 30AMPS Relay board is a IOT board.The features of the board are:

  1. Wireless control.
  2. On board USB to UART.
  3. On board AC to DC power supp1y 230VAC to 5V DC.
  4. AC virtual switch.

The look and feel and size of the board is 105mm X 70mm is shown in diagram1 has a capacity to drive 30Amps load. The board is separated as base board and daughter card so that there will be isolation from the AC. The daughter card has the Wifi module (ESP 8266) and microcontroller(atmega328) which is used to control the relay through http or mqtt.On board there is USB to UART and micro USB to program the ESP 8266 and atmega328.

The base board has the Power module AC to DC of 100-240VAC to 5V up to 0.6A, fuse holder for glass fuse , relay of 30Amps and Terminal connector. There is isolation to drive relay and spike suppression is also added. Zero cross detection is also available to increase the span of relay.

STEP 1: Header Details

The diagram2 gives the details of the headers and terminal blocks

On base board 230VAC is applied to the input terminal block and load is applied to the output block. Switch is connected to the Ac virtual switch.

On the Daughter card the J6 header is used give the 5v or 3.3v to controller, refer the diagram4 this is made be using jumper arrangement. If 1 and 2 pins of J6 is short then the controller runs at 3.3V, if 3 and 2 pins of J6 are short then controller runs at 5V.

J1 header has ESP free gpios , users can use for there purpose.

S1 button is for Key flash for ESP.

S2 button is for reset of ESP.

S3 button is for master reset when you press the button both ESP and Atmega resets.

STEP 2: Programming ESP ,Atmega and Connection Between ESP and Atmega

J2 Header is used to upload the firmware to ESP or atmega through the USB to UART by using micro USB.The pin details can be referred from the diagram4.To upload the new firmware to esp via selecting the com port short the pins 3-4,5-6 and 9-10 using jumper settings. To upload the new firmware to atmega via selecting the com port short the pins 1-2, 7-8 and 11-12 using jumper settings .After programming both ESP and Atmega we have to establish connection between ESP and Atmega by shorting pins 1-3 and 5-7 using jumpers.

STEP 3: Configuration Details

Power the board with Input with 230V AC the device will host the access point as shown in diagram5, connect the mobile to access point with Armtronix-(mac) EX: Armtronix-1a-65-7 as shown in diagram6. After connecting open browser and type 192.168.4.1 (default IP address) IP address in the browser, it will open the web server as shown in the diagram7, fill the SSID and password and select HTTP, if user wants to connect to MQTT then he has to select MQTT radio button and enter MQTT broker IP address and enter MQTT publish topic and MQTT subscribe topic and submit.

After configuring the submit the ESP 8266 will connect to the router and router assigns IP address to the ESP. Open that IP address in the browser to control the relay.

Without configuring the SSID and Password we can control the relay by connecting to the access point of the device and open the IP address of device i.e 192.168.4.1 the web server page will show the link with the name Control GPIO as shown in the diagram8 by clicking this link also we can control the relay but the response will be slow.

STEP 4: Wiring Diagram

The wiring diagram is shown in the diagram3 to input terminal block 230VAC Phase(P) and Neutral(N) is given .The output of relay Normally open (NO) is connected to one end of the load and Neutral(N) to the other end of the load. The AC virtual terminal block is connected to the switch as shown in the diagram3.We can control the relay either by wireless or using AC virtual switch. The load can drive up to 30Amps and the copper pad is exposed to air so that extra lead can be solder to increase the ampere rating.

In the diagram9 can be seen the bottom layer of the PCB where copper track is exposed so that lead can be poured to increase the current rating.

10 Comments

hi armtronix can we use mit app inventor to build new app for this board can you give the codes to insert in slider I have tried but not working.

I am not getting how slider communicate with the board through wifi

Code and apk available here on github

https://github.com/armtronix/Android_App_Home_Auto...

not tried app inventor u can use our code and modify it . The logic we are using is triggering an http string . you can configure our board to http mode open a web browser enter the ip of the board (eg http://192.168.1.20/gpio) see what comes when you trigger various buttons and slider copy it and use it with our app to fire it like a web browser .

One eg :

http://192.168.1.11/gpio?state_04=1

for on

http://192.168.1.11/gpio?state_04=0

for off

for dimmer

http://192.168.1.11/gpio?state_dimmer=20

20%

http://192.168.1.11/gpio?state_dimmer=50

50%

something like this should be used in your app code

Dear sir I don't have this board I do have Single Triac Dimmer Board to which I am experimenting. but i am not a programmer so not getting the things. I just thought to make a new app in MIT app inventor which is the simplest for me. but not able to do that also. I have just got on off from it. might you are very busy person, will you be so kind to make an episode on mit app inventor. I know it doesn't take much time for a genius. it will help me.

Can you please help to get the software which is required to open and modify those files.

This is not a dimmer board .u will be able to turn on or off the load . I am not sure why u need a slider . Any way for the mobile app development you need android studio or eclipse with android sdk . To change the relay board code you need Arduino

Can i control it from anywhere?? it requires internet or not??

Thanks in advance
Where do I find information on the HTTP and MQTT commands?
URL example will be “http:// xxx.xxx.xxx.xxx/gpio?state_04=1”

Wifi Four Relay Board Http:

"/gpio?state_04=1" //For ON
"/gpio?state_04=0" //For OFF

"/gpio?state_12=1" //For ON
"/gpio?state_12=0" //For OFF

"/gpio?state_13=1" //For ON
"/gpio?state_13=0" //For OFF

"/gpio?state_14=1" //For ON
"/gpio?state_14=0" //For OFF

"/gpio?state_dimmer=xx" //For dimming
xx – value varies from 0 to 99



Wifi Eight Relay Board Http:

"/gpio?state_05=1" //For ON
"/gpio?state_05=0" //For OFF

"/gpio?state_09=1"
"/gpio?state_09=0"

"/gpio?state_06=1"
"/gpio?state_06=0"

"/gpio?state_08=1"
"/gpio?state_08=0"

"/gpio?state_02=1"
"/gpio?state_02=0"

"/gpio?state_04=1"
"/gpio?state_04=0"

"/gpio?state_10=1"
"/gpio?state_10=0"

"/gpio?state_03=1"
"/gpio?state_03=0"

Wifi Single Relay Board / Wifi Two Relay Board /With Single dimmer Http:

"/gpio?state_sw=1"
"/gpio?state_sw=0"


"/gpio?state_led=1"
"/gpio?state_led=0"



"/gpio?state_dimmer=xx"
xx – value varies from 0 to 99


Wifi Three Triac Board Http:


"/gpio?state_sw=1"
"/gpio?state_sw=0"


"/gpio?state_triac_two=1"
"/gpio?state_triac_two=0"


"/gpio?state_triac_one=1"
"/gpio?state_triac_one=0"


"/gpio?state_dimmer=xx"
xx – value varies from 0 to 99


Wifi Four Relay Board MQTT:

"R4_ON"
"R4_OFF"

"R12_ON"
"R12_OFF"

"R13_ON"
"R13_OFF"

"R14_ON"
"R14_OFF"

"R5_ON"
"R5_OFF"

Wifi Eight Relay Board MQTT:

"R1_ON"
"R2_OFF"

"R3_ON"
"R3_OFF"

"R4_ON"
"R4_OFF"

"R5_ON"
"R5_OFF"

"R6_ON"
"R6_OFF"

"R7_ON"
"R7_OFF"

"R8_ON"
"R8_OFF"

Wifi Single Relay Board MQTT:

"R13_ON"
"R13_OFF"

"Led_on"
"Led_off"

Wifi Two Dimmer Board MQTT:

"R13_ON"
"R13_OFF"

"R14_ON"
"R14_OFF"
"Dimmer:xx"
xx- value 0 to 99

Wifi Single Dimmer Board MQTT:

“R13_ON”
"R13_OFF"

"Dimmer:xx"
xx- value 0 to 99



Wifi Three Dimmer Board MQTT:

"R10_ON"
"R10_OFF"

"R08_ON"
"R08_OFF"

"R09_ON"
"R09_OFF"

"Dimmer:xx"
xx- value 0 to 99
Why not a SSR (solid state relay)?