GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - thoughtcroft/aquamon: Aquaponics monitoring using Arduino managed sensors

BranchesTags
Open more actions menu

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
ThingsBoard_Config
ThingsBoard_Config
 
 
ThingsBoard_Sensor_Interface
ThingsBoard_Sensor_Interface
 
 
ThingsBoard_WiFi_Interface
ThingsBoard_WiFi_Interface
 
 
images
images
 
 
.gitignore
.gitignore
 
 
CommonConfig.h
CommonConfig.h
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Aquamon

Aquaponics monitoring using Arduino managed sensors.

I have an aquaponics setup with a 1,000 litre fish tank, 700 litre sump tank and 3 x 450 litre media beds made from IBCs in a chop and flip style. This system is a CHIFT-PIST system (constant height in fish tank, pump in sump tank) and I wanted to automate monitoring of key elements governing water quality in the system.

This project uses two different micro-controllers:

  • Arduino Uno to collect data from various sensors
  • D1 mini ESP8266 to connect to ThingsBoard over WiFi

There are several components that work together.

Components

ThingsBoard IoT Platform

I am using ThingsBoard Community software for managing IoT services including device management, rules based actions, dashboards etc.

There is a comprehensive rules engine for managing events such as device off-line, data range violations etc. I am using a Telegram bot to alert me to such events on my phone.

The RuleChains are available in this repo. All sensitive data and parameters are stored as server attributes on the relevant device in ThingsBoard. Again feel free to import these rule chains into your own ThingsBoard setup.

Network connectivity

The D1 Mini ESP8266 controller board is responsible for connecting to the ThingsBoard server via my home WiFi network. The ThingsBoard_WiFi_Interface Sketch is basically a loop that connects to WiFi, connects to the ThingsBoard server and sends a JSON request over the Serial connection then waits for data to send on to ThingsBoard.

Sensor data collector

The Arduino Uno controller board is responsible for collecting data from the different sensors and sending them to the D1 Mini over the Serial connection whenever data has been requested. The ThingsBoard_Sensor_Interface Sketch is a loop that listens to the Serial connection for a request and then reads the different sensors and forwards the data using JSON in a format that ThingsBoard understands.

Images

This is a schematic of the breadboard set up for linking sensors with the Arduino board as well as connecting the D1 Mini ESP8266 via serial.

Schematic

Acknowledgements

I am indebted to the internet community for so much good content on how to set up and develop code using the Arduino IDE.

The two systems use a serial connection to communicate using an approach that I borrowed from Acrobotic.

The different sensors have been interfaced using ideas from:

  • OneWire based temperature sensors setup
  • two point calibration of the temperature sensors
  • using the water flow sensor

In each case though, I have attempted to simplify and improve the suggested approaches. Feel free to comment or suggest additional improvements or borrow this approach to suit your own situation.

About

Aquaponics monitoring using Arduino managed sensors

Topics

arduino-unod1-mini

Resources

Readme
License
Activity

Stars

4 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.