- Measure temperature
- Measure humidity
- Measure light
- Use Phoenix's LiveView to display readings
- DHT11 sensor temp/humidity
- Photo-resistor sensor
- RaspberryPi (with SD card)
- Breadboard & wires
Refer to Makefile in firmware folder for common nerves commands.
build firmware: mix firmware
upload: sh upload.sh
(if wifi is setup)
(don't forget to set your MIX_TARGET-- export MIX_TARGET=rpi4
)
To compile assets, before building firmware, run mix assets.deploy
from ui root folder.
- Thanks to Jon Carstens for help with his dht library.
- The Nerves Slack community for help with various things