Temperature Monitor I made to monitoring the temperature of broodling quail chicks.
Parts:
- Raspberry Pi Zero (non-wireless because I had a spare non W version lying around and those are practically useless for most projects)
- ds18b20 temperature sensor (left over from Uni and 1-wire is an awesome interface to work with on the pi)
- 16x2 LCD Display Module (I wish I had an i2c module to cut down on wires)
- Raspberry Pi Zero LCD Brackets (3d printed, designed by by clarionut;found here)
Setup:
- Add
dtoverlay=w1-gpio
to/boot/config/
to enable 1-Wire kernel module - Add
dtoverlay=dwc2
to/boot/config.txt
andmodules-load=dwc2,g_ether
afterrootwait
in/boot/cmdline.txt
to the enable OTG Ethernet module (for debugging since we don't have wifi) pip install PILCD
- VSS - GND
- VDD - 5V
- V0 - GPIO11 (pin23)
- RS - GPIO0 (pin27)
- RW - GND
- E - GPIO5 (pin29)
- D0 - NC
- D1 - NC
- D2 - NC
- D3 - NC
- D4 - GPIO6 (pin31)
- D5 - GPIO13 (pin33)
- D6 - GPIO19 (pin35)
- D7 - GPIO26 (pin37)
- A - 5V
- K - GND
Display the temperature value found in /sys/bus/w1/devices/28-XXXXXXXXXXXX/temperature (default Celcius) on the LCD display
References: