Logo
LC Technology 5V 2 Channel Relay Board (LC-Relay-ESP01-2R-5V)
LC Technology 5V 2 Channel

Available from:
Banggood.com
Amazon.com
Mediarath.de



Manufacturer:
Chinalctech.com


GPIO #Component
GPIO00 None
GPIO01 Serial Tx
GPIO02 None
GPIO03 Serial Rx
GPIO04 None
GPIO05 None
GPIO09 None
GPIO10 None
GPIO12 Relay1
GPIO13 Relay2
GPIO14 None
GPIO15 None
GPIO16 None
FLAG None
Configuration (old format, will be converted to new template when applied)
{"NAME":"LC-ESP01-2R-5V","GPIO":[0,148,0,149,0,0,0,0,21,22,0,0,0],"FLAG":0,"BASE":18}

PCB Identification

Flashing

Remove ESP01 from the relay PCB and connect it to your USB-to-serial adapter according to the image and flash Tasmota on it. Flashing

Configuration

The red LED (D5) on the relay board should be on otherwise the module will not receive commands and relays will not switch.

If the blue LED (D5)is on instead of the red one, power off the module then hold down S1 button and power it back on. You need to configure these rules to control the relays. The ones defined in the template are just virtual relays!

Rule1 
on System#Boot do SerialSend5 0 endon
on Power1#State=1 do SerialSend5 A00101A2 endon
on Power1#State=0 do SerialSend5 A00100A1 endon
on Power2#State=1 do SerialSend5 A00201A3 endon
on Power2#State=0 do SerialSend5 A00200A2 endon

Make sure to enable the rule:

Rule1 1

If relays still don’t switch try BaudRate 9600