Temperature sensors with display and alerting for marine aquarium
ELECTRONIC
ESP8266
MARINE-AQUARIUM
This article is still in progress and not completed yet...
In marine fishkeeping the water temperature belongs to the important and easy to monitor water parameters that can be monitored electronically straightforward. The temperature is strongly dependent on the room temperature and influenced by equipment like UV-C clearer and lighting in particular if the LEDs are sitting close to the water surface. Inappropriate water temperature, meaning out of the rage of 23 to 28 °C can lead to damage or even death of the fishes and the corals.
In order to monitor the temperature I build a small device with two temperature sensors that will constantly monitor the temperature at two different places in the aquarium. You don’t need your mobile all the time, the values can be checked at the display of the device and if the temperature leaves a defined range of 24-27 °C you get notified. The device has got a physical notification. That means a buzzer starts beeping and you can pause the notification by pressing the snooze button for defined period of time. The device is communicating to a mqtt broker of the houseautomation system as well, so that you get a push message on your mobile when you are on the go.
Now lets have a look at the list of part I used:
## | Parts | Amazon.de |
---|---|---|
1 | 1 x D1 Mini D1 Mini V3 NodeMCU ESP8266EX | Amazon-Link |
2 | 1 x OLED display shield I2C SSD1306 | Amazon-Link |
3 | 2 x Temperature Sensor - 3M Kabel DS18B20 | Amazon-Link |
4 | 1 x Box, Electronic Enclosure, Waterproof (89x59x35mm) | Amazon-Link |
5 | 1 x Round Acryl Sheets, 2 Zoll/ 5 cm | Amazon-Link |
6 | 1 x UHU 45440 Superglue | Amazon-Link |
7 | 1 x M12 Cable Fitting | Amazon-Link |
8 | 1 x KY-012 Piezo Buzzer Alarm | Amazon-Link |
9 | 1 x Resistor 470Ω from Resistor Kit | Amazon-Link |
10 | 1 x Resistor 10kΩ from Resistor Kit | Amazon-Link |
11 | 1 x PCB 7x3cm shortened from Universal Board Kit | Amazon-Link |
12 | 3 x Screw Terminals from Universal Board Kit | Amazon-Link |
13 | 1 x Tactile Push Button 9,5mm from Button Kit | Amazon-Link |
14 | 1 x Micro Cable Electronics Male/Female Connector | Amazon-Link |
15 | 1 x Universal Power Supply 5V | Amazon-Link |
I used the tool Fritzing to desing the circuite. Afterwards I cut out a board and soldered all parts on it so that it fits into the small case.
Source Code
The source code of the PlatformIO project can be found on Github: