Introduction: WIFI SINGLE RELAY

Armtronix Wifi single relay 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 supply 230VAC to 5V DC.
  4. Compatible with standard Nodemcu header

The size of the board is 70mmX55mm, as its shown in diagram1 ,has a capacity to drive 4 Amps load. The board has the Wifi module (ESP 8266) which is used to control the Relay through HTTP or MQTT. There is on board USB to UART and micro USB to program the ESP 8266.

The board also has Power module AC to DC of 100-240VAC to 5V up to 0.6A, relay and Terminal connector.

Step 1: Header Details and Programming

The diagram2 gives the details of the headers and terminal blocks

To board 230VAC is applied to the input terminal block and load is applied to the output terminal block.

Diagram4 gives the details of P1 header this header is compatible to I2C OLED and J2 and J3 headers are compatible to standard nodemcu headers, users can use GPIO12 and GPIO13 of ESP these gpio's are freely available .

S1 button is for reset of ESP.

S2 button is for Key flash for ESP.

To program the ESP8266 use the Micro USB connector and plug to the single relay board and connect to the USB port of the computer, initial user needs to install USB to UART driver to detect the com port.Use the Arduino IDE to program the board.

Step 2: Wirring

The wiring diagram is shown in the diagram3 , diagram3 gives the clear picture of about connection of phase and neutral to input terminal block , 230VAC Phase(P) and Neutral(N) . Also gives relay wiring information, phase is given to the common terminal of the relay and load is connected to the NO(Normally open ) terminal of the relay.

For configuration please refer the configuration details link.

Step 3: