logo elektroda
logo elektroda
X
logo elektroda

[Solved] ESP32 stability in heat pump control and data collection - feedback?

TomKomar 612 6
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21240694
    TomKomar
    Level 3  
    ESP32 how stable is it - heat pump control? Will it be able to e.g. control a heat pump and collect data efficiently and robustly?
    I have 30 years of programming experience, but am green in electronics and completely new to ESP32 topics.
    I've done a bit of reading, but I can't seem to catch a clue as to whether these ESP32s are so much more of a toy (you can see from many videos that it doesn't quite work) or whether it can be trusted.
    Asking for an opinion. As an example - below is a simple project to control a heat pump:

    ESP32 stability in heat pump control and data collection - feedback? .
    ESP32 stability in heat pump control and data collection - feedback? .

    Functions:
    1. to work without interruption 365 x 24 h (at 22-26 deg C)
    2. Has cyclically perform:
    2.1. Read temperature from sensor (every 1 min) and send to web server
    2.2. read current actual time, ( date/time ) ( every 1 min and at full hour short-circuit the contactor for 1 minute,


    Is this likely to run stably or rather look for a solution in other standards ?
    If so, would anyone undertake to make this - in some sensible housing ? For a fee of course ;-) .
    To program it would be the base described in the points above; Once I have the skeleton I will figure out the rest.
  • ADVERTISEMENT
  • Helpful post
    #2 21240833
    xury
    Automation specialist
    This is doable in 5 minutes without having to write code. All you need to do is load Tasmot, for example. And set up two rules.
    It will also take very little time to write from scratch. It will work stably as long as the Hilink inverter is stable.
    This is a powerful microcontroller and such a task for it is almost an insult.
  • ADVERTISEMENT
  • #3 21240878
    TomKomar
    Level 3  
    I think that:
    1. the esp board and components would have to be selected accordingly ( any suggestions / suggestions? ).
    2. how to connect / solder it sensibly? ( how is this done in practice in your projects? Are there good practices described somewhere? )
    3. to stick the whole thing into some kind of housing (are ready-made ones available? How do you do this in practice?
    4. program.
  • Helpful post
    #4 21241272
    JacekCz
    Level 42  
    TomKomar wrote:
    ESP32 how stable is it - heat pump control? Will it be able to e.g. control a heat pump and collect data efficiently and robustly?
    I have 30 years of programming experience but am green in electronics
    .

    The processing power of this processor is certainly enough.
    The "instability" is software bugs and, above all, unskillful hardware design as far as fault tolerance is concerned (motor start/stop/sparks etc).
    This is taught over two or three semesters, and is difficult to write in two sentences.
    But poorly prepared boards will hang up / misrepresent data cells on impulse.

    As for components, you either need or don't need a dedicated accurate clock - depending on your needs analysis for clock accuracy over time, or maybe periodic correction from the internet ... "it depends"
  • ADVERTISEMENT
  • #5 21241400
    TomKomar
    Level 3  
    I was thinking of such COMPONENTS:

    1. ESP32 (e.g. C3-zero) ( £18.90 )
    https://botland.com.pl/moduly-wifi-i-bt-esp32...ifibluetooth-esp32-c3fn4-waveshare-25452.html

    2. relay module 1 channel with optoisolation - contacts 10A/250VAC coil 5V ( PLN 7.90 )
    https://botland.com.pl/przekazniki-przekaznik...-styki-10a-250vac-cewka-5v-5904422359096.html

    3. DS1302 RTC real time clock ( PLN 3.90 )
    https://botland.com.pl/moduly-rtc/14303-zegar...SPZyarpw9g07zLZZ2k18-zGj1ddfrxaMaAoagEALw_wcB

    4. Hi-Link power supply HLK-PM01 100V-240VAC / 5VDC - 0,6A (PLN 29.90)
    https://botland.com.pl/zasilacze-montazowe/10...k-pm01-100v-240vac-5vdc-06a&utm_term=CPC5

    5. waterproof probe with temperature sensor DS18B20 - 1m ( PLN 9.99 )
    https://botland.com.pl/sondy-wodoodporne/1713...iem-temperatury-ds18b20-1m-5903351242226.html

    Added after 7 [minutes]:

    >>21241272 So how much can it cost (for example with you) to prepare such a finished project - hardware + software ?
  • ADVERTISEMENT
  • #6 21241530
    JacekCz
    Level 42  
    TomKomar wrote:
    >21241272 So how much can it cost (e.g. for you) to prepare such a ready-made project - hardware + software ?
    .

    I am not an electronics engineer
  • #7 21507739
    TomKomar
    Level 3  
    The problem remains open, but apparently of little interest ;-) There are useful devices on the market on this subject, such as:
    "NOUS B1T TASMOTA ESP32 MATTER INTELLIGENT 1-channel DIP switch".

Topic summary

The ESP32 microcontroller is considered sufficiently powerful and capable of stable operation for continuous heat pump control and data collection tasks, such as reading temperature sensors every minute, sending data to a web server, and controlling a contactor cyclically. Stability issues are primarily linked to software bugs and inadequate hardware design, especially regarding fault tolerance against electrical noise and motor-related disturbances. Proper component selection, including a reliable power supply and accurate real-time clock, is essential for robustness. Suggested components include the ESP32-C3 Zero development board, a 1-channel relay module with optoisolation (10A/250VAC, 5V coil), DS1302 RTC module, and Hi-Link HLK-PM01 power supply (100-240VAC to 5VDC, 0.6A). Software solutions like Tasmota firmware with rule-based automation can simplify implementation and enhance reliability. Practical considerations include careful soldering, appropriate housing, and fault-tolerant circuit design to ensure uninterrupted 24/7 operation at ambient temperatures around 22-26°C. Market devices such as the NOUS B1T Tasmota ESP32 Matter intelligent relay module are also available for similar applications.
Summary generated by the language model.
ADVERTISEMENT