Seeking Advice on a DIY Water Top-Off System for My Aquarium Using ESP32 – Struggling with Power Compatibility Issues

Hi everyone,

First of all, a disclaimer: I’m a beginner in microelectronics. So far, I’ve only worked on a couple of small projects using ESP8266, primarily for reading and logging air conditioner temperatures and displaying the data on a web interface.

Now, I’m aiming higher. I want to build a water top-off system for my 500L aquarium in my country house. The air there is very dry, so water evaporates quickly, and I’m often away for weeks at a time.

Here’s the system I envision:

  • A 100L water container near the aquarium.
  • A water level sensor (JSN-SR04T) in the aquarium to monitor water levels.
  • Another JSN-SR04T sensor in the water container to track remaining water.
  • An ATMAN PH4000 pump installed in the water container.
  • The pump will be connected to a power outlet, which will be controlled by an SSR-25DA relay (chosen for reliability over the SRD-05VDC-SL).
  • Two DS18B20 temperature sensors for monitoring the water temperature in the aquarium and the container.
  • A YF-S201 water flow sensor to track the amount of water added.
  • Finally, I plan to use an ESP32 Wroom-32 (30 pin) to control everything via Wi-Fi and have a web interface.

Here’s my main problem:
The ESP32 operates on 3.3V, but from what I understand, some of my components (like the relay and certain sensors) require 5V for proper operation. I’m stuck on how to connect everything correctly.

Should I consider using a different controller, or is there a solution to make this setup work with ESP32?

I’d greatly appreciate any advice or guidance from this community!

Thanks!

The data sheet for the relay says 3-32 volts. Maybe should read over the data sheets for the other components again and make sure.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.