This Particle firmware accompanies the blog post found at https://www.losant.com/blog/keep-an-eye-on-your-fridge-with-a-photon-photocell-tmp36-and-buzzer.
- Particle Photon (Tested)
- Particle Electron
- Particle Core
- Redbear Duo
- Particle Photon
- TMP36 Sensor
- Photocell
- Piezo Buzzer
- 330 Ohm Resistor
- Jumper Wires
- Breadboard
The easiest way to use the code is to clone this repository and then flash it to your Particle device using the CLI tools.
git clone https://github.com/sidwarkd/losant_fridge_watcher.git
cd losant_fridge_watcher
particle flash [YOUR DEVICE] ./