Pi 4 Automated Aquarium Controller Kit with Raspberry Pi 4 + Relay
Raspberry Pi 4 Automated Aquarium Controller Kit – Build a Python-Driven Self-Regulating Planted Tank
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.
Imagine leaving your planted aquarium unattended for days yet returning to perfectly stable temperature, a thriving carpet of glossostigma under timed lighting, topped-up water, and fish fed exactly on schedule. This kit delivers all the electronics and software scaffolding to turn a Raspberry Pi 4 into a deployable, four-channel automation brain that orchestrates heater relay activation, daylight-mimicking grow lights via RTC schedule, an auto top-off pump, and a servo-based feeding mechanism—all written in Python you control.
What You'll Build
You'll assemble and program a fully functional freshwater or marine aquarium controller. The system reads two DS18B20 waterproof sensors at different tank depths, triggers a heater relay when temperature drops below a setpoint, runs a high‑PAR LED or T5 fixture on a precise DS3231 real‑time clock schedule, activates a peristaltic pump for top‑off when a float switch or capacitive sensor indicates low water, and dispenses a measured amount of flakes via a hobby servo at programmed times. Every action logs to a local dashboard you can extend.
What You'll Learn
- Interfacing DS18B20 waterproof digital sensors with OneWire protocol on Raspberry Pi GPIO and resolving sensor bus reliably in Python.
- Setting and reading a DS3231 RTC module over I²C, and building cron‑style light schedules that mimic sunrise/sunset transitions.
- Driving a 4‑channel relay module to safely switch 230V AC Indian mains for heater and pump, with 1N4007 flyback diodes suppressing inductive spikes.
- Reading BH1750 ambient light intensity to adapt lighting power dynamically and avoid overdriving plants on bright days.
- Writing a non‑blocking Python control loop with threading, exception handling, and logging for a multi‑tasking environmental controller.
Kit Contents
| Component | Quantity |
|---|---|
| Raspberry Pi 4 Model B 2GB | x1 |
| DS18B20 Waterproof | x2 |
| DS3231 RTC | x1 |
| 4-ch Relay Module | x1 |
| BH1750 | x1 |
| 40-pin GPIO Header | x1 |
| 1N4007 Diode | x5 |
| M-F Wires | x25 |
| MicroSD Card 32GB | x1 |
| USB-C PSU | x1 |
Why Buy This Kit Instead of Sourcing Parts Separately
| Factor | Sourcing Separately | Compoden Kit |
|---|---|---|
| Compatibility checks | You verify every part | Pre-tested as a system |
| Build support | Forums and scattered tutorials | AI companion trained on this exact project |
| Time to first working build | Days of debugging | Hours, with step-by-step guidance |
| Shipping coordination | Multiple sellers, multiple delays | One shipment from Bengaluru in 3-5 days |
Who This Kit Is For
B.Tech ECE/EEE students building IoT‑based aquaculture or automation capstone projects, Smart India Hackathon teams working on smart agriculture/aquafarming themes, ATL lab mentors demonstrating closed‑loop environmental control, and advanced hobbyists who want a precision‑controlled planted tank without reinventing the software stack. If you're comfortable flashing an SD card and editing Python scripts, this kit takes you from components to deployment in a weekend.
Built and Backed by Compoden
Every Compoden kit ships with an AI build companion trained on this exact project — accessible via a QR code on the box, with WhatsApp and email backup. We've spent 10 years building projects for makers, schools, and institutions across India. If a part fails because of a manufacturing defect, replace it free within 7 days.
What if I get stuck during the build?
Scan the QR code in the box to launch the AI companion; it has deep knowledge of the wiring and Python code for this exact kit. Still stuck? Drop a WhatsApp message and our engineers reply within hours.
Can I use this kit for a saltwater reef tank?
Yes, the temperature, lighting, top‑off, and feeding control work seamlessly for reef aquariums. However, a salinity probe is not included; the kit focuses on the four automation channels. You can add a conductivity sensor later using spare GPIO.
Is the relay safe for 230V AC Indian mains?
Absolutely. The 4‑channel relay module is rated for 10A 250VAC, and the kit provides five 1N4007 flyback diodes for protection when switching inductive loads like pumps. All mains wiring should be enclosed and performed by a person familiar with electrical safety standards.
Does the kit include the aquarium, heater, or pump?
No, the kit contains all electronics and the software framework. You supply the aquarium tank, submersible heater, grow light fixture, top‑off pump, and a small servo for the feeder. We provide detailed guidance on selecting and connecting these peripherals.
Pi 4 Python controls heater relay, grow light RTC schedule, auto top-off pump and feeding servo.
What's in this kit
Other projects you can build
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items