Skip to content

V3.0 - 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-V3.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

33 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Aquarium Automation using NodeMCU ESP-12E V3.0 ๐ŸŸ

License Stars Issues Arduino ESP8266 Maintenance Website made-with-arduino

โš ๏ธ Disclaimer

HIGH VOLTAGE electricity involved! Use at your own risk. Work under proper supervision if you are a minor. I take no responsibility for any accidents that may occur from using this code.

๐ŸŽฏ Features

  • Modern responsive web interface
  • Asynchronous webserver for better performance
  • Real-time page updates using JavaScript XMLHttpRequest
  • ESP-NOW time broadcasting to other ESP devices
  • Multiple control modes:
    • Automatic (time-based)
    • Power Saver
    • Timer
    • Manual
  • Intuitive status display on web interface
  • Solid State Relay support for reliability
  • Over-the-Air (OTA) updates
  • Automatic time synchronization
  • Visual feedback and WiFi signal indicators

๐Ÿ“ฆ Prerequisites

ESP8266 Board Support

Add this URL in Arduino IDE:

http://arduino.esp8266.com/stable/package_esp8266com_index.json

File โ†’ Preferences โ†’ Additional Boards Manager URLs

๐Ÿ”ง Hardware Setup

I2C Devices (DS3231 & OLED 128x64)

NodeMCU Device
D1 SCL
D2 SDA
3.3V VCC
GND GND

Note: Both I2C devices share the same pins. For I2C address conflicts, adjust pull-up resistor values.

4-Channel Relay Board

NodeMCU Relay
D3 IN1
D5 IN2
D6 IN3
D7 IN4

Important: Do not fetch power from ESP GPIO Pins for relay board. Connect GND between NodeMCU, Relay and power supply.

๐Ÿ› ๏ธ Required Components

Core Components

Relay Board
Relay Board
4 Channel 5V SSR
250V 2A with Resistive Fuse
DS3231
RTC Module
DS3231 I2C
Precision RTC
NodeMCU
Microcontroller
NodeMCU-ESP8266
ESP12E Development Board
OLED
OLED Display
1.3" I2C I2C 128x64
Any Color

๐ŸŒ Web Interface

Web Interface
Responsive Web Dashboard

๐ŸŽฎ Control Features

  • โฑ๏ธ Time-based automation
  • ๐Ÿ”Œ Manual device control
  • โšก Power saver mode
  • โฒ๏ธ Custom timer settings

๐Ÿ“Š Dashboard Features

  • ๐Ÿ“ก Real-time status updates
  • ๐Ÿ“ฑ Mobile-responsive design
  • ๐Ÿ”” Visual status indicators
  • ๐Ÿ“ˆ Device runtime statistics

๐Ÿค Contributing

We welcome contributions! Here's how you can help:

  • ๐Ÿ”€ Fork the repository
  • ๐Ÿ‘ฉโ€๐Ÿ’ป Create your feature branch
  • โœจ Make your changes
  • ๐Ÿ“ Open a Pull Request

๐Ÿš€ Future Aspects

Here's what more can be done:

  • ๐Ÿ“ฑ Mobile App Integration
  • ๐ŸŒก๏ธ Temperature Control
  • ๐Ÿ’ง Water Level Monitoring
  • ๐Ÿ”„ Auto Water Change System

See our Issues page for detailed roadmap and planned features.

๐Ÿ”„ Future Updates

See Issues for planned features and improvements.

๐Ÿ“„ License Summary

Click to expand detailed license information
GNU General Public License v3.0 Details
Permissions โœ… Commercial use - Use for business purposes
โœ… Modification - Modify the code
โœ… Distribution - Share the code
โœ… Patent use - This license provides an express grant of patent rights from contributors
Conditions ๐Ÿ“ License and copyright notice - Include the original license and copyright
๐Ÿ“ State changes - Document all changes made to the code
๐Ÿ“ Disclose source - Source code must be made available when distributing
๐Ÿ“ Same license - Modifications must be released under the same license
Limitations โš ๏ธ No Liability - Author is not responsible for damages
โš ๏ธ No Warranty - Code is provided "as is"
โš ๏ธ Must preserve copyleft - Cannot change to a more restrictive license

This is a copyleft license that requires anyone who distributes your code or a derivative work to make the source available under the same terms.
For complete license text, see LICENSE


Made with โค๏ธ for the IoT Community

โญ Star this project ย |ย  ๐Ÿ› Report Bug ย |ย  โœจ Request Feature

About

V3.0 - 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

Languages