Hello all,
I am in the process of setting up a new tank (120 x 50 x 40 cm) (approximately 48 " by 20" by 16"). As part of the preparation, I want to make my own aquarium controller using an ESP32. My coding skills are limited, so I went ahead and talked with our dear friend ChatGPT until I got a working sketch. I'm fairly happy with the result so far, but I'm sure the code can be optimized a lot. For instance, I am looking into splitting the code in different files.
At the moment the controller does the following:
Features:
Any input and/or help is greatly appreciated!
Github page: GitHub - Odaller/ESP32Reefcontroller: Aquarium controller based on esp32
I am in the process of setting up a new tank (120 x 50 x 40 cm) (approximately 48 " by 20" by 16"). As part of the preparation, I want to make my own aquarium controller using an ESP32. My coding skills are limited, so I went ahead and talked with our dear friend ChatGPT until I got a working sketch. I'm fairly happy with the result so far, but I'm sure the code can be optimized a lot. For instance, I am looking into splitting the code in different files.
At the moment the controller does the following:
Features:
- Auto-top off based on three float switches (low switch, high switch and reservoir switch) and timer functions
- 3 Dallas ds18b20 probes for temperature monitoring (Sump, Display tank and room temperature)
- 1 analog pH sensor module (ph-4502c), with calibration option
- 12 relay control
- Simple webpage displaying sensor readings, relay control buttons and pH calibration option
- E-mail allert:
- Automatic e-mail alert when ATO reservoir is low
- Screen:
- Oled SSD1306 screen to display IP adress and sensor readings
Any input and/or help is greatly appreciated!
Github page: GitHub - Odaller/ESP32Reefcontroller: Aquarium controller based on esp32