- Oct 25, 2015
- 5,812
- Pool Size
- 28000
- Surface
- Plaster
- Chlorine
- Salt Water Generator
- SWG Type
- CircuPool RJ-60 Plus
Folks,
I had this pump problem on my main well pump that would cause it to run dry and overheat then start to soften the pvc components that then required a big re-pipe job. Many of these were eliminated with a pump relay that requires a manual reset but not all would trip on low pressure. So I decided to add a level of protection that would trigger on water temp at the pump. My DIY solution for this uses a cheap ESP 32 chip, expansion board, and a few relays. Plus some configurable code that I've included in the attachment. This problem can plague pool pumps as well so I've added it here. The parts are:
To program the chip download the free Arduino IDE latest version. Simplified wiring diagram is printed below. Code for programing an ESP32 (D or E) Dev module V4 is attached in a text file. You don't need Just copy and paste into the IDE software. Web page is also displayed below. Please also note, I haven't built and tested this yet. I'll update when I do. You don't need any special libraries loaded to the IDE software. I used ver 2.3.4 for this code and it compiled with no errors. Also please note the temp displayed is with no temp sensor so it's erroneous. If you have a different value resistor than the 10K I've added ability to change the code by inputting your value. This should make calibration a little easier. Install the 10K thermister in the pump discharge as close as possible in the PVC pipe to the pump. It needs to be inches away to be effective and prefferably installed in a Tee that is connected directly to the pump. Some pool pump connection hardware makes this difficult and in that case I'd put it in as close as possible using a standard 10K PVC mount.
I hope this is helpful.
Chris
Simplified Wiring Diagram
┌─────────────────────────────┐
│ ESP32 Board │
│ │
│ +-----------------------+ │
│ | | │
│ | ADC (e.g., GPIO36) |◄─┐│
│ | | ││
│ | GPIO (Control) ─────┼────┼─────────┐
│ | | ││ │
│ +-----------------------+ ││ │
└─────────────┬─────────────┘│ │
│ │ │
+------------┴─────────+ │ │
| 3.3V (Power Supply) | │ │
+------------┬─────────+ │ │
│ │ │
Thermistor Voltage Divider │ │
----------------------------- │ │
│ │ │
+---------------┴----------------─┴---------┴---------+
| |
| [Voltage Divider Circuit] |
| |
| +3.3V ──────> [Thermistor] ─────┐ |
| (e.g., 10K) │ |
| │ |
| Junction ──→ ADC Input |
| │ |
| [Fixed Resistor] |
| (default 10K, adjustable) |
| │ |
| GND |
+----------------------------------------------------+
(Sensor Section)
│
│ (Measured Temperature used in code)
▼
┌─────────────────────────────┐
│ ESP32 GPIO (Control Signal) │
└────────────┬────────────────┘
│
▼
┌─────────────────────────────────────┐
│ Low Voltage Relay Module │
│ (Intermediate Relay, driven by ESP32)│
└────────────┬──────────────────────────┘
│ (NO/COM Contacts)
│
├───────→ +24V DC (24V Supply for coil)
│
▼
┌─────────────────────────────────────┐
│ 3‑hp Relay Coil (24V DC) │
└────────────┬──────────────────────────┘
│
[Flyback Diode]
│
▼
┌─────────────────────────────────────┐
│ 3‑hp Relay Contacts │
│ (Isolated High‐Power Side) │
└────────────┬──────────────────────────┘
│
┌─────────────┴─────────────┐
│ │
240 VAC Line (L) 240 VAC Neutral (N)
│ │
│ ┌────┴────┐
│ │ 240 VAC│
│ │ Pump │
│ │ (Load) │
│ └─────────┘
│
└──── (Common AC wiring as required)
Web Page

I had this pump problem on my main well pump that would cause it to run dry and overheat then start to soften the pvc components that then required a big re-pipe job. Many of these were eliminated with a pump relay that requires a manual reset but not all would trip on low pressure. So I decided to add a level of protection that would trigger on water temp at the pump. My DIY solution for this uses a cheap ESP 32 chip, expansion board, and a few relays. Plus some configurable code that I've included in the attachment. This problem can plague pool pumps as well so I've added it here. The parts are:
- ESP 32 Dev Kit - less than $10
- Intermediate relay $5
- Pump relay $15
- 24 v supply (you can tap into this from your irrigation or pool control panel)
- 10K Thermister $2
- 24 v (dc or ac depending on your closest source) pump start relay $15
- Water proof junction box $15
- D1 1N4007 diode - $1
To program the chip download the free Arduino IDE latest version. Simplified wiring diagram is printed below. Code for programing an ESP32 (D or E) Dev module V4 is attached in a text file. You don't need Just copy and paste into the IDE software. Web page is also displayed below. Please also note, I haven't built and tested this yet. I'll update when I do. You don't need any special libraries loaded to the IDE software. I used ver 2.3.4 for this code and it compiled with no errors. Also please note the temp displayed is with no temp sensor so it's erroneous. If you have a different value resistor than the 10K I've added ability to change the code by inputting your value. This should make calibration a little easier. Install the 10K thermister in the pump discharge as close as possible in the PVC pipe to the pump. It needs to be inches away to be effective and prefferably installed in a Tee that is connected directly to the pump. Some pool pump connection hardware makes this difficult and in that case I'd put it in as close as possible using a standard 10K PVC mount.
I hope this is helpful.
Chris
Simplified Wiring Diagram
┌─────────────────────────────┐
│ ESP32 Board │
│ │
│ +-----------------------+ │
│ | | │
│ | ADC (e.g., GPIO36) |◄─┐│
│ | | ││
│ | GPIO (Control) ─────┼────┼─────────┐
│ | | ││ │
│ +-----------------------+ ││ │
└─────────────┬─────────────┘│ │
│ │ │
+------------┴─────────+ │ │
| 3.3V (Power Supply) | │ │
+------------┬─────────+ │ │
│ │ │
Thermistor Voltage Divider │ │
----------------------------- │ │
│ │ │
+---------------┴----------------─┴---------┴---------+
| |
| [Voltage Divider Circuit] |
| |
| +3.3V ──────> [Thermistor] ─────┐ |
| (e.g., 10K) │ |
| │ |
| Junction ──→ ADC Input |
| │ |
| [Fixed Resistor] |
| (default 10K, adjustable) |
| │ |
| GND |
+----------------------------------------------------+
(Sensor Section)
│
│ (Measured Temperature used in code)
▼
┌─────────────────────────────┐
│ ESP32 GPIO (Control Signal) │
└────────────┬────────────────┘
│
▼
┌─────────────────────────────────────┐
│ Low Voltage Relay Module │
│ (Intermediate Relay, driven by ESP32)│
└────────────┬──────────────────────────┘
│ (NO/COM Contacts)
│
├───────→ +24V DC (24V Supply for coil)
│
▼
┌─────────────────────────────────────┐
│ 3‑hp Relay Coil (24V DC) │
└────────────┬──────────────────────────┘
│
[Flyback Diode]
│
▼
┌─────────────────────────────────────┐
│ 3‑hp Relay Contacts │
│ (Isolated High‐Power Side) │
└────────────┬──────────────────────────┘
│
┌─────────────┴─────────────┐
│ │
240 VAC Line (L) 240 VAC Neutral (N)
│ │
│ ┌────┴────┐
│ │ 240 VAC│
│ │ Pump │
│ │ (Load) │
│ └─────────┘
│
└──── (Common AC wiring as required)
Web Page
