Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamadotanjiro-beep/smart-aquarium-v2.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.
https://github.com/kamadotanjiro-beep/smart-aquarium-v2.0
aquarium-automation aquarium-controller arduino diy ds3231-arduino ds3231-rtc iot nodemcu-arduino nodemcu-arduino-ide nodemcu-esp8266 nodemcu-httpserver nodemcu-lua ntp oled oled-display-ssd1306 ota-update relay-switch webserver
Last synced: 11 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/kamadotanjiro-beep/smart-aquarium-v2.0
- Owner: KamadoTanjiro-beep
- License: mit
- Created: 2021-11-18T04:16:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-09T05:39:30.000Z (5 months ago)
- Last Synced: 2024-10-11T15:09:33.503Z (27 days ago)
- Topics: aquarium-automation, aquarium-controller, arduino, diy, ds3231-arduino, ds3231-rtc, iot, nodemcu-arduino, nodemcu-arduino-ide, nodemcu-esp8266, nodemcu-httpserver, nodemcu-lua, ntp, oled, oled-display-ssd1306, ota-update, relay-switch, webserver
- Language: C++
- Homepage:
- Size: 268 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aquarium Automation using NodeMCU 12E
FOR ANY KIND OF QUESTIONS OR QUERIES PLEASE CONTACT ME HERE: https://thingsbypatra.pythonanywhere.com/contact
Also, this code needs some optimisations (I believe that) so, if you have updated something and it works better then please let me know.
Using NodeMCU for aquarium lights, filter, skimmer, power head/wavemaker control with OTA updates, timers, auto time update, visual feedbacks and WiFi signal level icons.
Disclaimer: I take absolutely no responsibility for the use of this code. Use it with your own risk.
##It works as "switches" which turns something on or off automatically (by time). This can be applied to varied of things and can be expanded as automatic dosers, automatic water changes, etc (limited by your imagination).
For DS3231 Library use https://github.com/NorthernWidget/DS3231/releases
Rest of the libraries can be downloaded within Arduino IDE Libraries Manager, and some of them are already included (within Arduino). Please google for "how-to" if you cannot figure it .
Please add http://arduino.esp8266.com/stable/package_esp8266com_index.json in File --> Preferences --> Additional Boards Manager URLs to get support for all ESP Boards.
Pin Configuration:
DS3231 and 128x64 OLED using I2C and are connected to
NodeMCU --> Device
D1 --> SCL
D2 --> SDA
3.3 --> VCC
G --> GNDYes, connect both the I2C devices to the same pin (purpose of I2C). If you are facing I2C device address related issues then please Google it. It is very common and very easy to fix. You just need to adjust one or two resistor value.
For the 4 Channel relay board
NodeMCU --> Device
D3 --> In1
D5 --> In2
D6 --> In3
D7 --> In4For GND and VCC, use appropriate separate power supply (don't take power from NodeMCU, may burn). If you are using separate powersupplies for NodeMCU and Relay, then make sure to connect both the GNDs of Node and Powersupply together, else the relay module won't work. If confused, take help from google or contact me.
## MAIN Parts:
4 Channel 5V Relay Board Module with Optocouplers
DS3231 AT24C32 IIC Precision RTC
NodeMCU-ESP8266 Development Board ESP12E
1.3 Inch I2C IIC 128x64 OLED Display Module 4 Pin - WhiteOther parts as required
WEB SERVER