ESP8266 Relay by LC Technology

1,350 views
Skip to first unread message

Derek McFarland

unread,
Oct 16, 2017, 11:46:01 PM10/16/17
to SonoffUsers
Hello,

I've got Tasmota 5.8.0 flashed to one of these one relay boards and through the Tasmota Webserver, set it a BASIC module.  The board has a black ESP-01 with standard 8-pin connector, so I think either GPIO0 or GPIO2 are the only possibilities to fire the board relay.  I cannot get any action from on the board.  I have been playing around trying different module configurations, but having now success. Has anyone done similar or can anyone suggest how to control the single relay? 

Regards,

Phil

unread,
Oct 18, 2017, 1:22:26 PM10/18/17
to SonoffUsers

Phil

unread,
Oct 18, 2017, 1:23:46 PM10/18/17
to SonoffUsers
try gpio1 and 3 too??


On Tuesday, 17 October 2017 04:46:01 UTC+1, Derek McFarland wrote:
Message has been deleted

Derek McFarland

unread,
Oct 18, 2017, 9:10:21 PM10/18/17
to SonoffUsers
I tried Sonoff Dev and tried all the GPIOs shown individually with no success.  Have also tried to wring the board out the determine which pin is used but cannot as it uses that I2C scheme I think.  Thanks for the picture.
Message has been deleted

Derek McFarland

unread,
Oct 18, 2017, 9:27:25 PM10/18/17
to SonoffUsers
Sorry for all the updates. GPIO1 turns on the Blue ESP01 LED.


On Monday, October 16, 2017 at 9:46:01 PM UTC-6, Derek McFarland wrote:

Derek McFarland

unread,
Oct 18, 2017, 9:48:39 PM10/18/17
to SonoffUsers
I found that the Sonoff SC lets me set GPIO2 as a Relay, but then has button to toggle it.  
I tried an HTTP request of 
RESULT = {"Command":"Unknown"} . Seems the SC is odd.

On Monday, October 16, 2017 at 9:46:01 PM UTC-6, Derek McFarland wrote:

Derek McFarland

unread,
Oct 20, 2017, 7:17:33 AM10/20/17
to SonoffUsers
Seems that my suspicions are correct, the ESP-01 does not control the relay.



On Monday, October 16, 2017 at 9:46:01 PM UTC-6, Derek McFarland wrote:

Derek McFarland

unread,
Oct 20, 2017, 7:55:40 AM10/20/17
to SonoffUsers
Another post showing the difficulties with this module.  https://www.hackster.io/makerrelay/esp8266-wifi-5v-1-channel-relay-delay-module-iot-smart-home-e8a437
I think that two ways forward would to be adding a plugin to send the serail commands to the MCU or to solder in a jumper around the MCU.  Has anyone done either?

On Monday, October 16, 2017 at 9:46:01 PM UTC-6, Derek McFarland wrote:

Phil

unread,
Oct 30, 2017, 5:17:17 AM10/30/17
to SonoffUsers
It would be 'art project' time with the pcb round here by now, if you have the patience skills and components, cutting the mcu output to the relay coil track and solder in a transistor as detailed in the link you found between the esp gpio pin you elect to trigger the relay and the relay coil, the problem you are having may well be down to a problem with the mcu and as its a black box attempting to validate and employ it could take some time. Way easier to eliminate its output and replace with a basic switch imho .
Reply all
Reply to author
Forward
0 new messages