logo elektroda
logo elektroda
X
logo elektroda

Pinout and wiring diagram for TUYA DC 4CH WiFi relay ESP8266 for custom code

Marek320 849 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21141420
    Marek320
    Level 12  
    Hello forumers.
    I have bought from a well-known portal TUYA DC 4CH Voltage free WiFi NO/NC relay
    Pinout and wiring diagram for TUYA DC 4CH WiFi relay ESP8266 for custom code .

    Do you perhaps have a diagram or recognised leads from the ESP for the relays and buttons.
    I need this to write my own control code.
    Best regards
  • ADVERTISEMENT
  • #2 21145576
    p.kaczmarek2
    Moderator Smart Home
    Rather a diagram is not available, but you could look for Tasmota's template here:
    https://templates.blakadder.com/
    Although without a specific model it's hard.

    On the other hand just searching the GPIOs is not a problem, in Tasmota for example you even manually set 4 consecutive GPIOs per Relay and investigate if something happens as you switch their state.
    Helpful post? Buy me a coffee.
  • #3 21146955
    Marek320
    Level 12  
    Thank you mate for your reply.
    This is how I am going to test the pins experimentally, just waiting for the programmer - maybe it will arrive today.
    The board has a USB socket for 5V power only.

    The link to Tasmota is also interesting and I will use something on it.
    ------------------------------------------------------------------------
    If anyone would like to use this module for their own purposes, I will hint that there are two processors on board: an ESP8285 for WiFi and a hk32f030mf4p6 for DI and DO.

    Regards.
ADVERTISEMENT