logo elektroda
logo elektroda
X
logo elektroda

ESP32 - Suspension of the program when closing the solenoid valve in the CH and CUW system

globalinfo 1992 36
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #31 19431013
    globalinfo
    Level 13  
    khoam wrote:
    globalinfo wrote:
    Can you suggest to which pins to connect the 100nF capacitor at the ESP32 as I have power supply via microUSB.

    Power supply pin 3V3 (2): capacitors 100nF (ceramic) and 1000uF (as close as possible)
    EN pin (3): 100nF capacitor (ceramic, as close as possible)
    [/url]
    .
    To the circuit itself I'm unlikely to solder it.
    Maybe to the trunk which is on the attached board.
  • ADVERTISEMENT
  • #32 19431049
    khoam
    Level 42  
    globalinfo wrote:
    Maybe to the trunk which is on the attached plate.
    .
    You can and there.
  • ADVERTISEMENT
  • #33 19431187
    globalinfo
    Level 13  
    Well, what should I think - from yesterday's suspensions until today it has been OK - the valve works without any problems.
    When the capacitors arrive I'll put them on.
  • #34 19431205
    khoam
    Level 42  
    globalinfo wrote:
    Well, what am I supposed to think - from yesterday's suspensions until today it's OK - the valve works without a problem.
    .
    Maybe you have changed the routing of the wires in the meantime?
  • ADVERTISEMENT
  • #35 19431312
    globalinfo
    Level 13  
    khoam wrote:
    globalinfo wrote:
    What am I supposed to think - from yesterday's suspensions until today it's OK - the valve works without any problems.
    .
    Maybe you've changed the routing of the wires in the meantime?

    Tek every time I open into the box it changes the position of the cables e.g. to the display and relays.
  • #36 19431545
    khoam
    Level 42  
    globalinfo wrote:
    every time I open into the box it changes the position of the cables e.g. to the display and relays.
    .
    Here's a suggestion. Open the box gently and see how the wires are arranged. Then fix them according to the memorised layout. Despite appearances, this is not black magic ;) .
    The wires to the display should be as far as possible from the wires to the relays.
  • ADVERTISEMENT
  • #37 19456322
    globalinfo
    Level 13  
    I think it's going to work now, it hasn't jammed for a long time.
    There have only been two occasions when uploading data to the server has crashed.

Topic summary

The discussion revolves around an issue with an ESP32-based system controlling three circulating pumps and a solenoid valve in a central heating (CH) and cooling water (CUW) setup. The program crashes specifically when the solenoid valve closes, while operations involving the pumps and opening the valve do not cause failures. Suggestions include using opto-isolated relays, testing with a power bank to rule out power supply interference, and implementing snubber circuits to mitigate electromagnetic interference from the solenoid valve. The user has tested various configurations, including adding capacitors and resistors to the circuit, and has observed intermittent stability. Ultimately, the user reports that the system has not crashed for an extended period after implementing suggested changes, although issues with data uploads to the server persist.
Summary generated by the language model.
ADVERTISEMENT