-->
Page 9 of 29

Re: Trouble with ESP-01 + 1Ch 5V relay from LC Technology

PostPosted: Tue Sep 26, 2017 4:23 am
by StephenD
I don't believe you can program the onboard MCU but you can program the ESP to send the on/off commands on the serial bus to the MCU to turn the relay on and off:
On is A0 01 01 A2
Off is A0 01 00 A1

Re: Trouble with ESP-01 + 1Ch 5V relay from LC Technology

PostPosted: Wed Sep 27, 2017 1:09 am
by georgeloh
I had a device keep blinking on d2, is that normal? and of cause even I send on/ off HEX the relay will no click

Re: Trouble with ESP-01 + 1Ch 5V relay from LC Technology

PostPosted: Wed Sep 27, 2017 1:14 am
by georgeloh
jummi wrote:I just got a new badge.
Disconnect the esp8266-01.
I give 5 volt voltage to the plate.
The D2 led D2 flashes constantly.
According to the schematic is the output to the relay.
I should not flash.
The supply voltage is correct.
Any ideas?


any solution for this yet?

Re: Trouble with ESP-01 + 1Ch 5V relay from LC Technology

PostPosted: Sun Oct 08, 2017 3:08 am
by boray.gowda
Hi All,
I have the same issue with the relay board constantly flickering red.

Thanks to the folks that discovered the strings to turn on and turn off the relay.

Could someone tell me kindly how to read the state of the relay?
I'm trying to modify an existing piece of code to do a serial.write() with the required open/close string.
However, I'd like to also write routines to read the state.

It's been 25 years since I last wrote any code. Would really appreciate any help with this.

Thanks.
BG.