voltlog / esp32-aquarium-controller

ESP32 based aquarium/terrarium controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP32 Aquarium/Terarrium Controller

This project started when a friend of mine which has a snake terrarium asked for my help to build a system that is capable of regulating temperature and humidity so the snake can live in optimum conditions. I’m not necessarily a snake lover, I would rather stay away from these kinds of creatures but that doesn’t stop me from helping my friend.

The ESP32 module is the core of this board and it serves as a central processor taking in sensor data and deciding when to switch on/off the 4 relay controlled outputs to adjust the environment inside the aquarium/terrarium.

If you would like to order one of these boards ready assembled, check out my Tindie store.

More info about this project in Voltlog #361.

Known issues in revA:

  • Power brick module footprint is wrong so it needs to be installed on the bottom side of the board.
  • There are no mounting holes.
  • Fitting the board inside the intended enclosure required some adjustments on the round cutouts. This is something to consider if you want to use the same enclosure but if you plan to install this in a larger plastic enclosure, it shouldn't be a problem.

Firmware

Firmware is built as a PlatformIO project on the Arduino platform using publicly available open-source libraries. The HTML page servered by the asyncronous web server needs to be loaded into the ESP32 SPIFFS memory using the standard upload procedure. The code is just a proof of concept and is provided AS IS without warranty of any kind.

Safety Warning

This control board uses mains voltage so you need to know what you are doing, otherwise, there is a high risk of electrical shock and/or fire. This is a serious topic, if you are not sure what you are doing, ask for help from an electrician. Every connection should be double checked before applying mains power.

Image of the assembled PCB

About

ESP32 based aquarium/terrarium controller

License:GNU General Public License v3.0


Languages

Language:C++ 59.2%Language:HTML 40.8%