Skip to content

Using NodeMCU ESP8266 for controlling switches (Relay). Uses RTC (Real Time Clock - DS3231) and NTP (Network Time Protocol) for maintaining time. OLED Display (128x64) for instant updates. A webserver for Manual Controls. Vast application including Aquariums and IOT related.

License

Notifications You must be signed in to change notification settings

desiFish/Smart-Aquarium-V2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌊 Smart Aquarium V2.0 🐠

GitHub last commit License: GPL v3 Project Status: Closed

🎛️ IoT-Based Aquarium Automation System

Control your aquarium using a web interface!

⚠️ CAUTION: This project involves working with electrical components and may require handling of high voltage connections. Always prioritize safety, use proper insulation, and consult with a qualified electrician if you're unsure about any aspect of the installation or operation.

📢 NOTE: This project (V2.0) is now closed. For the latest updates and improvements, please check out Smart Aquarium V3.0.

✨ Features

  • 🌐 Web-based control interface
  • ⏰ Automated timing controls
  • 🌡️ Real-time temperature monitoring
  • 💡 Smart lighting control
  • 🔄 Power-saving modes
  • 📱 Mobile-responsive design
  • 🔄 OTA (Over-The-Air) updates
  • ⚡ Low latency control

🛠️ Hardware Required

Component Image Purpose
NodeMCU ESP8266 Main controller with WiFi capabilities
DS3231 RTC Module Accurate time keeping
OLED Display Status display
4-Channel Relay Control aquarium equipment

📥 Installation

# Clone this repository
git clone https://github.com/desifish/Smart-Aquarium-V2.0.git

# Navigate to the directory
cd Smart-Aquarium-V2.0

# Open in Arduino IDE
# Update WiFi credentials in aqua_NODEMCU.ino
# Flash to NodeMCU

Important: The favicon image inside the data folder needs to be copied into the flash storage of the NodeMCU. This ensures the web interface can properly display the favicon. For instructions on how to upload files to the ESP8266 filesystem using LittleFS, please refer to this updated guide.

📝 Documentation

📌 Version History
  • v1.12 - Added Power Saver Mode
  • v1.11 - Updated UI with customizable timers
  • v1.10 - Added auto-start relay feature
  • v1.9 - Added web-based time updates
  • v1.8 - Added Auto/Manual Control
🔌 Wiring Diagram
NodeMCU ESP8266 -> OLED Display
D1 -> SCL
D2 -> SDA
3.3V -> VCC
GND -> GND

NodeMCU ESP8266 -> DS3231
D1 -> SCL
D2 -> SDA
3.3V -> VCC
GND -> GND

NodeMCU ESP8266 -> 4 Channel Relay
D0 -> IN1
D6 -> IN2
D7 -> IN3
D5 -> IN4
5V -> VCC
GND -> GND

📱 Web Interface

The system provides an intuitive web interface accessible from any device on your network:

  • 💻 Desktop View
  • 📱 Mobile-Responsive
  • 🎛️ Real-time Controls
  • 📊 Status Monitoring

Web Interface

Web Interface

🔒 License

This project is licensed under GPL-3.0 License - see the LICENSE file for details.

GNU General Public License v3.0

License Details

Permissions:

  • ✅ Commercial use
  • ✅ Modification
  • ✅ Distribution
  • ✅ Patent use
  • ✅ Private use

Conditions:

  • 📝 License and copyright notice
  • 📄 State changes
  • 📦 Disclose source
  • 📜 Same license

Limitations:

  • ❌ Liability
  • ❌ Warranty

Made with ❤️ for the IoT Community

Follow on GitHub

About

Using NodeMCU ESP8266 for controlling switches (Relay). Uses RTC (Real Time Clock - DS3231) and NTP (Network Time Protocol) for maintaining time. OLED Display (128x64) for instant updates. A webserver for Manual Controls. Vast application including Aquariums and IOT related.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages