[SOLVED] diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
Moderators: grovkillen, Stuntteam, TD-er
[SOLVED] diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
Anyone familiar with this board?
https://www.diymore.cc/collections/tags ... ec5b&_ss=r
I was able to flash it with: mega-20240229 (leap-build) (Collection C) hoping to be able to revive it with Serial MCU controlled switch.
However using the plugin with LC TECH (if that would be correct) at 9600 19200 115200 there is nu music in the relais. Powered the board via 5v externally.
Any suggestions?
I was able to flash it with: mega-20240229 (leap-build) (Collection C) hoping to be able to revive it with Serial MCU controlled switch.
However using the plugin with LC TECH (if that would be correct) at 9600 19200 115200 there is nu music in the relais. Powered the board via 5v externally.
Any suggestions?
Last edited by sincze on 10 Mar 2024, 18:26, edited 2 times in total.
Re: diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
Looking at the components on the board, I'd expect the relays to be controlled directly via GPIO pins of the ESP, and that will probably be GPIO-12, 13, 14 and 16.
You can test that from the Tools page, sending command gpio,12,1 or gpio,12,0 etc. to switch a relay.
The LC-Tech plugin is designed to send serial commands to a LC-Tech relay board, that's, AFAIK, not equipped with an ESP processor, so can't run ESPEasy directly.
NB: When adding power to the board, please use 5V or the 7-30V input, to avoid dangerously high voltages from the mains lines
You can test that from the Tools page, sending command gpio,12,1 or gpio,12,0 etc. to switch a relay.
The LC-Tech plugin is designed to send serial commands to a LC-Tech relay board, that's, AFAIK, not equipped with an ESP processor, so can't run ESPEasy directly.
NB: When adding power to the board, please use 5V or the 7-30V input, to avoid dangerously high voltages from the mains lines
/Ton (PayPal.me)
Re: diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
The LC-tech plugin is intended to communicate with a separate microprocessor running its own firmware.
This board indeed doesn't seem to have such a co-processor so it looks like you might be able to just toggle some GPIO pin.
Just try to toggle GPIO pins and try not to use GPIO 6 - 11 as those are connected to flash.
See: https://espeasy.readthedocs.io/en/lates ... on-esp8266
This board indeed doesn't seem to have such a co-processor so it looks like you might be able to just toggle some GPIO pin.
Just try to toggle GPIO pins and try not to use GPIO 6 - 11 as those are connected to flash.
See: https://espeasy.readthedocs.io/en/lates ... on-esp8266
Re: diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
To be honest I started with the GPIO test before moving (reflashing) to Collection-C to try the LC_Tech idea.
Through the command box I tried flipping from 0 to 1 and 1 to 0
Relais are not clicking. Power is through YwRobot at 10v DC.
From the board I can tap 5v 3,3V DC from the pins on the right side.
Reset button resets the device. Any other ideas ?
Through the command box I tried flipping from 0 to 1 and 1 to 0
Code: Select all
gpio,0,1
gpio,1,1
gpio,2,1 (Blue light switches on ESP)
gpio,3,1
gpio,4,1
gpio,5,1 (set to 0 this enables LED D1)
gpio,12,1
gpio,13,1
gpio,14,1
gpio,15,1
gpio,16,1
From the board I can tap 5v 3,3V DC from the pins on the right side.
Reset button resets the device. Any other ideas ?
Re: diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
I've marked the 4 most likely pcb traces to control the relays.
You can use a multi-meter to track back to what GPIO pin they lead... (when the board is NOT powered on!)
You can use a multi-meter to track back to what GPIO pin they lead... (when the board is NOT powered on!)
/Ton (PayPal.me)
Re: diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
Tnx. I like the notes that hint to blue smoke when the board is NOT powered on!)
I also found this similar piece of machinery:
https://templates.blakadder.com/ESP12F_Relay_X4.html
That would indicate you guys were right from the beginning.
Code: Select all
GPIO # Component
GPIO00 User
GPIO01 User
GPIO02 Led_i 1
GPIO03 User
GPIO04 User
GPIO05 Led_i 2
GPIO09 User
GPIO10 User
GPIO12 Relay 3
GPIO13 Relay 4
GPIO14 Relay 2
GPIO15 User
GPIO16 Relay 1
GPIO17 User
Last edited by sincze on 10 Mar 2024, 17:46, edited 2 times in total.
Re: diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
That template is for an ESP32, you have a board with ESP8266
Re: diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
Looking at the pcb it seems that j5 needs to be bridged with j6 since the the connections from the relays only lead to j5 (ry1 to ry4)
Re: diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
Ding ding ding .
After noticing https://templates.blakadder.com/assets/ ... PIO15.webp
I bridged mine as well (no jumpers on my board... so jumper wires) probably need to solder some pins.
Then GPIO commands 12,13,14 work, for GPIO 16 another bridge is needed.
Strange delivery of hardware I must say.
Re: [SOLVED] diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
As GPIO-16 is used, you probably can't use deepsleep on this board.
Re: [SOLVED] diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
It's a nice touch that the relay's I/O assignments are not factory connected. You can freely choose the GPIO from header pads p3 (J6) and/or P4 (J7). That keeps it flexible.
- Thomas
- Thomas
Re: [SOLVED] diymore AC/DC Power Supply ESP8266 WIFI Four-Way Relay Module ESP-12F Development Board
I agree on the flexibility part. Now I can use 2 relais and I2C sensors and a door sensor as well.
But they sell it as works with E-WLINK, but without these jumpers or pins I would not consider it "works with'.
Works With after modification that is.
Who is online
Users browsing this forum: Google [Bot] and 4 guests