Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.
A thermostat failure is a very bad morning
Aquarium heaters have a built-in thermostat that can stick on. A cooked tank is a common story. The safest design uses the ESP32 as the fine controller, holding the temperature within a fraction of a degree, while the heater’s own thermostat stays set a few degrees higher as a mechanical backup. A second probe lets the controller check the first one and shout when they disagree.
Practical points
Switch the heater with a relay rated well above its power, inside a closed box away from splashes, with a drip loop on every cable, and a residual-current device on the circuit.
A relay cannot dim a lamp; for a light schedule it simply turns it on and off, and an LED driver with PWM would give sunrise and sunset ramps.
In salt water, keep electronics far away and use sealed stainless probes; salt creep ruins connectors.
A message when the water falls below a set temperature tells you about an outage or a failed heater before the fish do.
Ukraine: we buy and sell these parts ourselves, order them on this site.
Some links are affiliate links: we may earn a commission at no extra cost to you.
Related ideas
⛔ High risk
Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.
Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.
Comments
No comments yet. Share your experience or ask a question.