Aquarium Automation on a Budget: DIY Smart Tank With Arduino and ESP32

· emilynakatani · 5 min read
Aquarium Automation on a Budget: DIY Smart Tank With Arduino and ESP32

Commercial aquarium controllers deliver polished automation but carry price tags that put them out of reach for many hobbyists. With aquarium automation budget diy projects built on Arduino and ESP32 microcontrollers, you can automate top-offs, control lighting, monitor temperature, and receive alerts — all for under $100 SGD. At Gensou Aquascaping, 5 Everton Park, Singapore, we have helped clients prototype affordable automation systems that rival commercial units in functionality while costing a fraction of the price.

Choosing Your Platform: Arduino vs ESP32

Arduino Uno is the simplest entry point — extensive community support, thousands of tutorials, and a straightforward IDE make it ideal for first-time builders. However, it lacks built-in Wi-Fi. The ESP32 costs roughly the same ($8 to $15 SGD on Shopee) and includes Wi-Fi and Bluetooth, enabling remote monitoring and push notifications. For most aquarium automation projects, the ESP32 is the better choice. It runs on 3.3V logic, has enough GPIO pins for multiple sensors, and supports over-the-air firmware updates so you can tweak code without opening the cabinet.

Auto Top-Off System

Evaporation in Singapore’s warm climate can drop water levels by 1 to 2 litres daily in an open-top reef tank. A DIY auto top-off uses a float switch ($3 SGD) connected to a relay module ($5 SGD) that powers a small DC pump. When the water level drops below the float switch, the pump draws RO water from a reservoir until the switch triggers again. Add a second float switch mounted slightly higher as a failsafe — if the primary switch sticks, the backup cuts power to the pump, preventing a catastrophic overflow. Total parts cost sits around $25 SGD.

Temperature Monitoring and Alerts

A DS18B20 waterproof temperature probe paired with an ESP32 logs readings to a cloud dashboard like Blynk or ThingSpeak. Program the ESP32 to send a push notification to your phone if temperature exceeds 30 degrees Celsius or falls below 24 degrees Celsius. This simple project takes under an hour to build and provides the same core functionality as the temperature monitoring in a $900 Neptune Apex. For added safety, wire a relay to control your chiller or heater based on temperature thresholds, creating a closed-loop system that reacts automatically.

Automated Lighting With LED Strips

Addressable LED strips like the WS2812B allow per-pixel colour and brightness control through an Arduino or ESP32. Simulate sunrise and sunset ramps, moonlight phases, and cloud cover effects using open-source libraries like FastLED or WLED. WLED is particularly popular — it runs on ESP32, offers a web-based control panel, and integrates with Home Assistant for scheduling. A 60 cm strip of quality LEDs costs $15 to $25 SGD and, while not a replacement for high-output reef lighting, works brilliantly for freshwater planted tanks and ambient accent lighting.

Dosing Pump Controller

Peristaltic pumps dispense precise volumes of liquid fertiliser, calcium, alkalinity, and magnesium supplements. A single peristaltic pump head costs $10 to $20 SGD on Lazada. Connect it to a relay controlled by the ESP32 and schedule dosing times in firmware. Calibrate by running the pump for a set duration into a measuring cylinder — most small peristaltic pumps deliver 1 to 2 ml per second. A three-channel dosing controller using an ESP32 and three pump heads costs under $80 SGD total, compared to $250 or more for commercial equivalents.

Water Level and Leak Detection

Capacitive water level sensors mounted outside the sump wall detect level changes without direct water contact, avoiding corrosion issues that plague submerged probes. A simple resistive water sensor placed on the floor beneath your tank cabinet triggers a relay that cuts the return pump and sends an alert if a leak is detected. These preventive measures cost under $10 SGD in components but can save thousands in water damage to flooring and — in HDB flats — the ceiling of the unit below.

Wiring Safely Around Water

Working with mains voltage near aquariums demands caution. Always use relay modules rated for the load they control — a 10A relay for a return pump drawing 8A is cutting it too close. Use 16A-rated relays as standard. Enclose all electronics in a waterproof project box mounted above potential splash zones. Separate low-voltage sensor wiring from mains cables using cable management channels. A residual current device on the wall socket provides essential protection against earth faults. Never solder connections that may be exposed to moisture — use waterproof connectors or heat-shrink terminals instead.

Bringing It All Together

Start with one project — temperature monitoring is the easiest — and build confidence before tackling auto top-off or dosing. Each module connects to the same ESP32 board, and the firmware grows incrementally. Within a few weekends of tinkering, you can assemble an aquarium automation system that monitors temperature, tops off evaporation, doses supplements, and alerts you to problems — all for under $100 SGD and a satisfying sense of having built it yourself.

Related Reading

emilynakatani

Still Have Questions About Your Tank?

Drop by Gensou Aquascaping — most walk-in questions get answered in under 10 minutes by someone who has set up hundreds of tanks.

5 Everton Park #01-34B, Singapore 080005 · Open daily 11am – 8pm

Related Articles