logo elektroda
logo elektroda
X
logo elektroda

ESP01 + Tasmota not controlling the relay - any suggestions?

adiif1 1218 6
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18686274
    adiif1
    Level 8  
    Hello, has anyone used the aforementioned pair? Well I have an esp01 + relay from the photo below but unfortunately I can't get it to work.... easyesp similar, unfortunately I do not know where to look for the cause, my hands are slowly falling off.
  • ADVERTISEMENT
  • Helpful post
    #2 18686537
    xury
    Automation specialist
    I have commissioned without problems as well as with problems.
    This relay module has a microcontroller as the control element. There are some units that have this uc not programmed. The symptom is a flashing diode and a flapping relay. There are also some which have the wrong resistors.
    However, to get it working on a Tasmota or ESPeasy read this:
    https://tasmota.github.io/docs/devices/LC-Technology-WiFi-Relay/
    https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=3245
    If you happen to have an unprogrammed one, I have somewhere the batch and program to load into this uc.
  • ADVERTISEMENT
  • #3 18686574
    adiif1
    Level 8  
    xury wrote:
    I have commissioned without problems as well as with problems.
    This relay module has a microcontroller as the control element. There are some units that have this uc not programmed. The symptom is a flashing diode and a flapping relay. There are also some which have the wrong resistors.
    However, to get it working on a Tasmota or ESPeasy, read this:
    https://tasmota.github.io/docs/devices/LC-Technology-WiFi-Relay/
    https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=3245
    If you find it unprogrammed I have somewhere the batch and program to load into this uc.


    Only that I esp01 program with a separate programmer in my case the relay doesn't fire, only the diode flashes :[
  • ADVERTISEMENT
  • #4 18686676
    xury
    Automation specialist
    This relay can be tested using the uart without the ESP-01.
    Simply connect with a cable to the rs232 port of the ttl and test by sending the commands A00101A2 to switch the relay on and A00101A1 to switch it off. The first version works on 9600 and the second on 115200.
  • #5 18688244
    adiif1
    Level 8  
    xury wrote:
    This relay can be tested using the uart without the ESP-01.
    Simply connect with a cable to the rs232 port of the ttl and test by sending the commands A00101A2 to switch on and A00101A1 to switch off the relay. The first version works on 9600 and the second on 115200.
    .


    Unfortunately nothing ;/
    I've connected it to the PL2303 and it didn't work and still doesn't work :/.
  • #6 18688388
    xury
    Automation specialist
    Have you tried swapping tx and rx with each other? I also forgot to write you that the data to send is not text but Hex.
  • ADVERTISEMENT
  • #7 18688444
    adiif1
    Level 8  
    xury wrote:
    Have you tried swapping tx and rx with each other? I also forgot to write you that the data to send is not text but Hex.
    .
    EDIT : it turns out that the jumpers have to be changed places....

Topic summary

The discussion revolves around issues with controlling a relay using an ESP01 and Tasmota firmware. Users report difficulties in getting the relay to function, with symptoms such as a flashing diode and non-responsive relay. Suggestions include checking if the relay module's microcontroller is programmed correctly, as some units may come unprogrammed. Testing the relay independently via UART is recommended, using specific commands to toggle the relay. Additionally, users are advised to ensure correct wiring of TX and RX connections and to verify jumper settings.
Summary generated by the language model.
ADVERTISEMENT