Aquarium Monitor for ESP32
An ESP32 display project involving SD card.
Parts and sourceBefore you start
Check the exact SD card configuration against the upstream wiring or parts list.
Parts, Cost & Where to Buy
Build total pending. Confirm the exact parts and prices first.
Parts to verify. These entries come from the project’s catalog information and may include alternatives or components already built into the board. Check the upstream schematic or parts list before ordering.
| Part | Qty | Unit (USD) | Line total | Supplier |
|---|---|---|---|---|
| ESP32Example SKU: Espressif ESP32-WROOM-32 Development Board | To confirm | From example: $15.002026-12-06 | — | Adafruit |
| SD card | To confirm | Unpriced | — | DigiKey search |
Reference prices are in US dollars and exclude shipping and tax. Availability and checkout prices may change.
Upstream README
IoT Aquarium Water Quality Monitor
Note: This repository contains the software implementation for my Final Year Project (Tugas Akhir) at Institut Pertanian Bogor (IPB).
An ESP32-based comprehensive water quality monitoring system designed for aquariums. This system continuously reads sensor data, logs historical records, and provides a fully-featured local web dashboard.
Preview

Features
- Real-Time Web Dashboard: View live data through an elegant web interface hosted directly on the ESP32.
- Sensor Integration:
- Temperature: DS18B20 digital temperature sensor
- Turbidity: Analog turbidity sensor
- pH Level: Analog pH sensor running through an ADS1115 16-bit ADC for high-precision readings.
- Historical Data Logging: Records data to an SD card every 10 minutes, automatically rotating logs and keeping 7 days of history.
- Interactive Graphs: The web interface utilizes Chart.js to visualize 7-day historical trends of Temperature, Turbidity, and pH.
- Configurable Alerts: Set minimum and maximum thresholds via the web dashboard; alerts are stored in EEPROM and trigger an onboard buzzer.
- Time Synchronization: Uses an onboard DS3231 RTC module, auto-syncing with NTP servers whenever WiFi is available.
- Data Export: Download CSV logs directly from the dashboard for a single day, the past 7 days, or all historical data.
Hardware Requirements

- ESP32 Microcontroller
- DS18B20 Temperature Sensor
- Analog Turbidity Sensor
- Analog pH Sensor
- Adafruit ADS1115 16-bit ADC (for the pH sensor)
- 16x2 I2C LCD Display
- DS3231 RTC Module
- SD Card Module
- Passive Buzzer
- Push Button (for switching LCD display modes)
- 9V Power Adapter
Installation
- Open
aquarium-monitor.inoin the Arduino IDE. - Install the necessary libraries:
WebServer,EEPROM,OneWire,DallasTemperature,LiquidCrystal_I2C,WiFiManager,RTClib,ArduinoJson,NTPClient,Adafruit_ADS1X15
- Compile and upload to your ESP32.
- On first boot, connect to the
AquOptimizationWiFi hotspot to configure your local network credentials. - The ESP32 will display its IP address on the LCD. Navigate to that IP in your web browser to access the dashboard.
License
This project is licensed under the MIT License.