logo elektroda
logo elektroda
X
logo elektroda

Monitoring device for pump operation with alarm and temperature measurement

ziom10zset 216 9
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21310355
    ziom10zset
    Level 10  
    Hello

    I'm looking for a device that would allow me to measure and send information about the operating status of a device, let's say a water pump, which will inform, once programmed, whether the pump is running. Also involved is setting up an alarm to be sent as an email, push message or app notification. Found solutions like Tuya, Sonoff or controllers similar to these do not allow monitoring of the operating status. If it were possible, such a device could also have a temperature measurement capability.

    Regards
  • ADVERTISEMENT
  • Helpful post
    #2 21310397
    Plumpi
    Heating systems specialist
    And who said they don't let you monitor operating status?
    The first Zamel Supla SBW-02 has 2 relay outputs + 2 control inputs. Tuya or Sonoff also have modules with outputs and inputs.
    With an output you control, for example, a contactor which switches on the pump, and a control input controls the operating status. What it all comes down to is how to control the operating state. In the case of a pump, it is best to use a flow sensor. Any alarms or notifications are set in the respective system.
    You will find temperature measurements in each of the above systems.
  • ADVERTISEMENT
  • #3 21387093
    ziom10zset
    Level 10  
    Welcome.

    Thank you very much for your suggestions.

    Having a moment I looked for those controllers suggested by you. Zamel and would be a good idea but I think there are limitations with it.

    Could I have some hints on which of the sonoff or tuya controllers, preferably 2 or more channels, could serve as an extended temperature controller.

    I would like a controller such as the Sonoff basic multi to measure the temperature and, if possible, to be able to establish the presence of power on the three-phase contactor from the water pump. All I need is confirmation of the presence of voltage, which I don't know how to extract from the contactor and use.

    Regards
  • ADVERTISEMENT
  • #4 21387198
    TvWidget
    Level 38  
    When it comes to monitoring the voltage of the contactor, use a current transformer. That is, the kind of ring through which you need to run the power cable to the contactor. Whether you monitor the voltage or the current flowing through the contactor coil in this case is irrelevant.
  • #5 21387559
    ziom10zset
    Level 10  
    So in the case of using, for example, Zamel Supla, would the signal from the transformer have to go to the A1 and A2 connectors, the ones that, for example, are responsible for the gate opening and closing signal? Or some other place? Because I can't find diagrams too much where to plug in such tujas or Sonoffs for external sensors or other signal-receiving devices.
  • #6 21387679
    TvWidget
    Level 38  
    If the controller has an input to monitor the open/closed state of the contactor then connect a primitive rectifier (diode + capacitor) to the current transformer. A DC voltage will appear at the output of the rectifier when current flows through the contactor coil. With this voltage you can control a transistor working as a key (simulating the operation of the contactor).
    The current transformer must of course be suitable for the current flowing through the contactor coil.
  • Helpful post
    #7 21387739
    kmarkot
    Level 29  
    @ziom10zset
    as for Supli I would buy

    https://allegro.pl/oferta/esp8266-v3-ch340-no..._unit_id=41243dbf-ec69-4be1-af1d-e9baf621584b

    https://allegro.pl/oferta/modul-przekaznika-5...duino-raspberry-pi-przekaznik-10a-15892152762

    https://allegro.pl/oferta/sensor-ds18b20-czuj...a-z-kablem-1m-cyfrowy-wodoodporny-15141921672
    Configuration

    https://gui-generic-builder.supla.io/

    Compilation settings
    Tile
    Generic ESP8266 Module
    Processor
    ESP8266
    Processor frequency 160 MHz for ESP82xx
    FLASH memory
    4MB (FS:1MB OTA:~1019KB)


    Controls:
    Relays
    Buttons

    1Wire:
    DS18B20 sensor
  • ADVERTISEMENT
  • #8 21388633
    ziom10zset
    Level 10  
    This helps me a lot. Thank you. I'm taking the time to order. I'm still leaving the topic open as I'm sure there will be questions.

    Greetings
  • #9 21389177
    Plumpi
    Heating systems specialist
    ziom10zset wrote:
    So in the case of using, for example, Zamel Supel, the signal from the transformer would have to go to connectors A1 and A2, the ones which, for example, are responsible for the gate opening and closing signal? Or some other place? Because I can't find diagrams too much where to plug in such tujas or Sonoffs for external sensors or other signal receiving devices.


    First you need to ask yourself the questions:
    1. what do we want to control?
    2. in what way?
    3. how many inputs and outputs do we need and of what type?

    Re. 1
    Temperature - and here we will need some kind of sensor. But we need to know what the temperature range should be. If it is to be water and the temperature is not to exceed 100'C, the DS18B20 sensor mentioned by a colleague earlier may be a reasonable solution.
    The question is, however, whether this should only measure the temperature or whether it should be a thermostat that activates the pump depending on the temperature.

    Pump operation - is it enough just to know that the pump is switched on (that the pump supply is on) or something more reliable, e.g. a water flow sensor? In the case of such a sensor, we have feedback that there is water flow, which clearly indicates that the pump is pumping and the hydraulic system is unobstructed.

    ad. 2
    Probably a controller with the possibility of connecting sensors and relays.
    Of course, this could be the ESP. However, you need to remember that you have to put everything together, not infrequently with the use of a soldering iron, make some kind of casing for it, add a power supply, program it. So you need to have a minimum knowledge of electronics and the construction and operation of such microcontrollers.
    But you can also use ready-made Tuya, Sonoff, Supla modules.
    There are a lot of them on Allego, e.g. several-channel Sonoff controllers with preloaded Supla software with additional connection of DS18B20 sensors.

    ad. 3
    To realise temperature measurement - 1 temperature sensor
    Pump control: one output + one control input
    Flow sensor. Here we have a choice between a turbine sensor e.g. YF-B10 or a vane sensor e.g. FSW-4050-GZ1-SUS.
    Turbine sensors are primarily used for flow measurement. The higher the flow rate, the higher the pulse frequency.
    Vane sensors, on the other hand, are used to signal flow above a certain value.
    In principle, a vane sensor is sufficient to have confirmation of pump operation.
  • #10 21390079
    ziom10zset
    Level 10  
    >>21389177 .

    ad1: The water temperature will not exceed 30 degrees, so this solution with the DS18B20 will be the best. Rather only informative measurement comes into play, but in the future I might expand it into something like a thermostat, but that's a topic for another post, as I intend to control a pump located about 50m away, so I'll play around with these Wi-Fi relays on a DIN rail at some point.

    Pump operation, just the pump power information alone is enough. And so the rest of the parameters have to be checked on the ground and that is not a problem.

    ad.2 I just think I will use this Supli on ESP8266, connecting and soldering will not be a problem. Selecting power supplies and other devices too, I only got jammed at the design stage itself and lack of any idea as it's been a long time since I've sat on this. It's just that these Sonoff drivers, like the R2 Basic ones, look like they have no possibility of additional modifications, so I'd be more betting on building something myself. I'll probably buy one such Sonoff out of curiosity just to see what it has inside.

    ad.3 The temperature measurement itself has to take place at the inlet and outlet of the tank, so two temperature sensors, and if there is room, another one to measure the temperature outside, just for information. Controlling the pump is another sensor, for example in the form of something with a transformer, as colleague @TvWidget wrote. I have an idea yet to add two additional float sensors designed to state two levels of water, one about the lack of water (which occurs in summer periods) and the other is such a sensor for too high a level, because sometimes overflow happened with a faulty float from the water admittance valve. Operating on a 0/1 basis, in programming I will select the buttons and see what happens in the Supli, possibly the limiters.

Topic summary

The discussion focuses on finding a device capable of monitoring the operating status of a water pump, including sending alarms via email, push notifications, or app alerts, and measuring temperature. Solutions like Tuya and Sonoff were initially considered but found lacking in direct operating status monitoring. It was clarified that devices such as the Zamel Supla SBW-02, which features relay outputs and control inputs, can monitor pump operation when combined with appropriate sensors like flow sensors for reliable feedback. Temperature measurement can be achieved using sensors like the DS18B20. For detecting pump operation via the contactor, using a current transformer (CT) to sense coil current was recommended, with the CT output rectified (diode + capacitor) to produce a DC signal for controller input. ESP8266-based modules programmed with Supla firmware offer customizable multi-channel control with temperature sensing and relay outputs, suitable for remote pump monitoring. The DS18B20 sensor is suitable for water temperatures up to 30°C, primarily for informational measurement with potential future thermostat functionality. The discussion also highlights the importance of defining control requirements, input/output types, and the possibility of building a custom solution over off-the-shelf Sonoff devices due to modification limitations.
Summary generated by the language model.
ADVERTISEMENT