กลับไปหน้ารวมไฟล์
aquarium-controller-1e3c45-en.md

This aquarium controller manages the following devices, and measures the following parameters:

- Water temperature (measure of value, control of heater and cooling fan (proportional PID);

- Measure of ambient temperature;

- Light: ON-OFF of power supply, PWM dimming, sunrise and sunset simulation (2 outputs);

- Measure of CO2 circuit pressure;

- CO2: ON-OFF of solenoid valve at setted times, cutoff if overpressure

- ON-OFF of air pump at setted times

- Fertilization: two dosing pumps controlled to dosed quantity and choice frequency (days at week);

The circuit was assembled on PCB and all PCB files are provided, but it can also assembled with modules linked by wires.

The controller is powered by a 12Vdc 2A power supply, because the fan and the peristaltic pump I used, need 12Vdc. Arduino Nano board operate at 5V, and voltage is regulated by a step down DC-DC converter installed on the main PCB board. The timing is based on a DS3231M RTC.

The AC devices (heater, solenoid valve, lights, aerator) are controlled by SSR and Triac.The temperature sensors are DS18B20 in waterproof stainless steel case.

The eather and the cooling fan are non controlled in ON-OFF mode, but like a proportional PID. The advantage obtained is a better regulation of the temperature. All other AC devices are operated in ON-OFF by solid state relays G3MC-202P-DC5

The fan and the peristaltic pumps are powered by a 7-ch NMOS array low-side driver TPL7407LADR, that is similar to the ULN2003A, but more efficent ad low drop out voltage. Some NMOS are paralleled for increase the current capability.

All informations are showed on a 2004 LCD with I2C interface, and all settings are operate by 5 tactile swithes on a separate PCB board.

EXPANDED TECHNICAL DETAILS

Automated Aquatic Life Support

This project automates the critical parameters of an aquarium, ensuring a stable environment for fish and plants.

  • Hysteresis Thermal Management: The Arduino monitors the water temperature using a DS18B20 waterproof sensor. If it drops below 24°C, it activates a heater via a relay; if it rises above 27°C, it triggers a cooling fan.
  • Photoperiod Light Cycling: Manages the aquarium's LED lighting using a DS3231 RTC. The firmware replicates natural daylight cycles, including a gentle "Sunrise" and "Sunset" fade-in using PWM.

Maintenance

  • Timed Feeding Mode: Features a "Feeding Button" that pauses the water pump for 15 minutes, allowing fish to eat without the food being sucked into the filtration system.

ข้อมูล Frontmatter ดั้งเดิม

title: "Aquarium controller"
description: "A complete aquarium controller Arduino Nano based"
author: "maurober"
category: ""
tags:
  - "fishtank"
  - "acquario"
  - "aquarium"
views: 4073
likes: 1
price: 2450
difficulty: "Intermediate"
components:
  - "1x Arduino Nano R3"
  - "1x Tactile Switch, Top Actuated"
  - "1x DC-DC Buck Step-down Power Supply Module 5V"
  - "1x DS3231M - ±5ppm, I2C Real-Time Clock"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles:
  - "https://projects.arduinocontent.cc/00eb185e-f53f-4de8-8bc9-0345a1082d89.zip"
  - "https://projects.arduinocontent.cc/00eb185e-f53f-4de8-8bc9-0345a1082d89.zip"
documentationLinks: []
passwordHash: "d941acca31c018b35269947a7ede01171708d2a5f27dd0966adca519ceba8e98"
encryptedPayload: "U2FsdGVkX1/6EM1YW0EigkLdqTo7oEOBfH+wwmqOhDFqiJPmia28Iv36o4Bo8OzYje6E5jmfoXId/LAAhpnUkNR/sXroFI7avHUYQJih8pQ="
seoDescription: "Comprehensive Arduino Nano based Aquarium controller for automated fish tank management."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/aquarium-controller-1e3c45_cover.jpg"
lang: "en"