This project consist of two branches , the main branches which is the firmware and the node-red branch
Just a prototype project I did myself during my Internship which mainly used Arduino IDE and Node-Red, This is My Very first project using Node-Red :)
The aquaponics system Arduino firmware consists of both source code for Arduino Nano board and ESP 8266 board which communicates through serial port
This is the Final Product and how it looks, btw I'm not the one in charge of the structural design , another person is in charge of the structural design
I was only involved with the design of the system functionality :)
Great project to be involved in, I'm grateful to be a part of the team
This is how the circuit within the control panel looks like, incomplete version btw
I lost the picture for the complete version, will update if I find the final picture!
- It can monitor the Water Level, Total Dissolved solids , pH and Temperature of the water
- It can control several components which are Plant Light, Heater, Auto Feeder and Water Pump
- Arduino JSON Library https://github.com/bblanchon/ArduinoJson.git
- TDS Sensor Library https://github.com/DFRobot/GravityTDS.git
- MQTT Pubsub client library https://github.com/knolleary/pubsubclient.git
- Change the credentials at the top of the ESP 8266 Firmware
const char* ssid = "YOUR SSID"; // ESP32 and ESP8266 uses 2.4GHZ wifi only
const char* password = "YOUR PASSWORD"; //Your WI-FI Password
const char* mqttuser = "YOUR MQTT USERNAME"; // ESP32 and ESP8266 uses 2.4GHZ wifi only
const char* mqttpass = "YOUR MQTT PASSWORD"; //Your MQTT Password
- Once you changed the credentials upload the code into the ESP 8266 board
- Please ensure that the ESP 8266 board manager is installed on Arduino IDE, otherwise it will not detect ESP 8266 default libraries such as ESP8266WIFI.h
- Select your ESP 8266 model and upload the firmware and you're good to go!
- For the Arduino side, I use Arduino Nano but Arduino UNO R1 can also be used
- No need to configure anything just upload as it is since the Arduino only acts as a slave
- Arduino acts as a slave and ESP 8266 acts as a master
- The Arduino (Slave) reads and writes the incoming and outgoing data from ESP 8266 (Master)
- The Arduino communicates with ESP 8266 through Serial Port 0