Source: https://mokxi.com/learn/path/build-aquarium-controller
Updated: 2026-11-20

All paths

# Build an aquarium controller

Build the controller a reef tank runs on: temperature, a guarded heater, sunrise to moonlight, auto top-off and a feeder.

Arduino Uno R3 Free 6 lessons 5 h 3 chapters 1,778 XP Maker · Intermediate +150 XP

0 of 6 done

Start the course free Temperature Lesson plan for teachers

What you will build

## 3 projects, built step by step

6 lessons in 3 chapters, about 5 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

### Heater control

Run a heater through an SSR as a thermostat with a half degree band, and guard it: an overtemp latch, a probe fault cutoff and a no-rise check.
Open it in the simulator

Chapter 2 project

### Water level

Top off evaporation automatically: a level sensor powered only while it is read, a relay pump from 20 to 30 mm, a 15 second limit and a high water stop.
Open it in the simulator

Chapter 3 project

### Project: a reef night and day

The whole controller: the heater, the light day, the top-off and the feeder, with a status line every minute.
Open it in the simulator

The map

## Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

## Keep it warm

Read the water, and heat it safely.

Open 174 XP

### Temperature

Read the water with a DS18B20 every second and hold it against the 24 to 27 C that most tropical fish want.

0 of 4 steps

Start What is in it

Project Locked 410 XP

### Heater control

Run a heater through an SSR as a thermostat with a half degree band, and guard it: an overtemp latch, a probe fault cutoff and a no-rise check.

0 of 5 steps

4 questions, graded as you go.

Chapter 2

## Light and water

A day of light from the clock, and water topped off.

Locked 205 XP

### Lighting cycles

Light the tank on a WS2812 bar from the clock: a 30 minute sunrise and sunset, the day, three hours of moonlight and darkness.

0 of 5 steps

Project Locked 410 XP

### Water level

Top off evaporation automatically: a level sensor powered only while it is read, a relay pump from 20 to 30 mm, a 15 second limit and a high water stop.

0 of 5 steps

4 questions, graded as you go.

Chapter 3

## Feed and run

A feeder that cannot overfeed, then the whole tank.

Locked 205 XP

### Feeding

Feed on a schedule with a servo feeder and by hand on a button, and guard against the most common way fish die: overfeeding.

0 of 5 steps

Project Locked 374 XP

### Project: a reef night and day

The whole controller: the heater, the light day, the top-off and the feeder, with a status line every minute.

0 of 5 steps

3 questions, graded as you go.

Syllabus

## Every lesson in the course

All 6 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

### Keep it warm

- Temperature Read the water with a DS18B20 every second and hold it against the 24 to 27 C that most tropical fish want.
- Heater control Run a heater through an SSR as a thermostat with a half degree band, and guard it: an overtemp latch, a probe fault cutoff and a no-rise check.

Chapter 2

### Light and water

- Lighting cycles Light the tank on a WS2812 bar from the clock: a 30 minute sunrise and sunset, the day, three hours of moonlight and darkness.
- Water level Top off evaporation automatically: a level sensor powered only while it is read, a relay pump from 20 to 30 mm, a 15 second limit and a high water stop.

Chapter 3

### Feed and run

- Feeding Feed on a schedule with a servo feeder and by hand on a button, and guard against the most common way fish die: overfeeding.
- Project: a reef night and day The whole controller: the heater, the light day, the top-off and the feeder, with a status line every minute.

Keep going

## The next course on your track

Build an aquarium controller is part of the maker track, a ladder of courses from zero to expert.

Next course

### Build an electronic chessboard

Build a chessboard that knows where every piece is: reed switches and an expander, move detection, the rules, LED hints and a small engine to play.
Open the next course

Track

### Maker track

Follow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.
See every course on the track

Kits

## Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

### Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kit

Questions

## About Build an aquarium controller

Is Build an aquarium controller free?

Yes. All 6 lessons of Build an aquarium controller are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Build an aquarium controller take?

About 5 hours: 6 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: Heater control, Water level and Project: a reef night and day.

Where do I start?

With "Temperature", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.
