logo elektroda
logo elektroda
X
logo elektroda

[Solved] Sonoff Basic R3 & TH10 Relay Behavior During Power-Up: GPIO12 Concerns

bgolab 1065 6
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18260493
    bgolab
    Level 22  
    Welcome,

    I have a question for owners of:
    sonoff basic R3
    sonoff TH10/TH16

    Doesn't the relay momentarily switch on during power-up?
    ---------------
    On the schematic for TH10 I see that GPIO12 is used (it is weakly "pulled up" to high state but on the schematic there is a resistor to ground and I wonder if this compensates for the instability of this pin during reset and as a result the relay will not be momentarily switched on.

    Why do I have this suspicion: I'm playing with the cheapest ESP-01 + relay and I can see that it turns the relay on momentarily every time (another thing is that it uses GPIO0 - I know, I know it's the wrong pin but I bought such a module by accident).
    Someone make a sacrifice and gather some information:
    https://www.mjt.me.uk/posts/esp8266-gpio-deep-sleep-and-reset/
  • ADVERTISEMENT
  • #2 18260549
    zibq
    Level 28  
    Briefly - I use TH16 - nothing like this occurs.
  • ADVERTISEMENT
  • #3 18260576
    bgolab
    Level 22  
    Thank you for sharing your experience.

    I am not questioning the answers.

    I am asking out of curiosity to learn something: how did my colleague verify that the power supply was not switched on for a moment (reset takes about 300ms)?

    Why the question: in my original application, the ESP-01/Transmitter simulates a short-lived activation of the remote control for the gate - so any pulse (the one unnecessary at reset too) is easily detectable because the gate will operate.
  • ADVERTISEMENT
  • #4 18261152
    zibq
    Level 28  
    In my case the TH16 controls the circulation pump.
    I infer from this that I can't hear the relay.
    I admit that I haven't delved into this specifically as in my application it doesn't matter - the power supply is non-stop and on any return of power the TH16 runs on a schedule. This is adjustable.
  • #5 18261213
    bgolab
    Level 22  
    Yes, right. I've been working on it this morning and you can actually hear the relay crackle for a moment.
  • ADVERTISEMENT
  • #6 18268045
    bgolab
    Level 22  
    I bought a sonoff TH10. I loaded the ESPEasy R120.
    Stably maintains the pin state - does not switch the receiver on accidentally.
    Topic closed.
  • #7 18268049
    bgolab
    Level 22  
    I bought a sonoff TH10. I loaded the ESPEasy R120.
    Stably maintains the pin state - does not switch the receiver on accidentally.
    Topic closed.

    Added after 56 [seconds]: .

    Tests indicate stanile operation of sonoff th10 during reset.

Topic summary

The discussion centers around the behavior of Sonoff Basic R3 and TH10/TH16 relays during power-up, specifically concerning GPIO12's stability. Users report varying experiences: one user with a TH16 states that the relay does not activate during power-up, while another mentions hearing a brief relay crackle. A user who tested the Sonoff TH10 with ESPEasy R120 confirms stable pin state maintenance, indicating no accidental activation of the relay. The conversation highlights concerns about unintended relay activation during resets, particularly in applications sensitive to brief power fluctuations.
Summary generated by the language model.
ADVERTISEMENT