-->
Page 12 of 29

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

PostPosted: Sat Nov 11, 2017 5:17 pm
by led_builtin
Hello, I have the same realy module. This one: http://www.chinalctech.com/index.php?_m ... &p_id=1204

And after reading part of this thread I think I have 1 more ploblem than the one I had.

1. Once I connected it to the power supply the relay start to blink (also the asociated diode D2). It blinks with the ESP 01 plugged or not. When ever it is powwered it blinks.

2. I want to use it with Blynk and I supposed the GPO0 or GPO1 would be connected to a transistor or any other module (like STC15F104W) in order to trigger it and act over the relay. However after some reading apparently it is ussing the TX...

I still want to use it with Blynk so I dont mind to hack it a little bit to get "my GPO0" tiggering is there any schematic of the board.

Does any one of you have the issue with the permanent blinking once powered?

Regards

David

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

PostPosted: Fri Nov 17, 2017 3:07 pm
by enesbcs
Pol wrote:Open: A0 01 00 A1; A00100A1; hex format: 0xA0, 0x01, 0x00, 0xA1
Close: A0 01 01 A2; A00101A2; hex format: 0xA0, 0x01, 0x01, 0xA2
...
Any idea what I do wrong? I cannot get relay to OPEN only.

Did you try to send open command twice one after another?
I've altered my ESPEasy serial plugin to support LCTECH relay, based on user feedbacks it works:
https://www.letscontrolit.com/forum/vie ... f=6&t=3245
Currently i haven't got this kind of device, but i am planning to buy.. anyone cn confirm, that the yellow connetor variant works similarly?
https://www.ebay.com/itm/ESP8266-5V-Wif ... 2696873173

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

PostPosted: Sat Dec 09, 2017 5:52 pm
by fariz
I have the same problem like you. Tried 9600 baud rate does not work.When ever I the esp is connected to the relay and the rest of the board I have error sending the code to it. Any solutions ?

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

PostPosted: Mon Dec 11, 2017 7:30 am
by jbrowne
I finally said forget using it as-is with trying serial interface to relay.
I modified the board slightly, by cutting a single trace to one of the relay legs, and I'm using the ESP to activate the relay via GPIO. I'll take pictures, and give sample code when I'm in the office again (maybe tomorrow)