Skip to content

matt-desmarais/freezeralarm

Repository files navigation

freezeralarm

pi zero w based freezer alarm with sms

Easy way to install the dependencies and freezeralarm repo
curl https://raw.githubusercontent.com/matt-desmarais/freezeralarm/master/install.sh | bash

Configuration script
bash /home/pi/freezeralarm/configure.sh
Paste in Twilio and Adafruit credentials when prompted

Single Door Alarm
Use singledooralarm.py
Connect the buzzer
Connect Pi 3.3V to Buzzer +
Connect Pi Pin 17 to Buzzer –
Connect Pi Ground to Buzzer N

Connect the door sensor, doesn't matter which wire goes where
attach one wire to Pi Ground
attach the other wire to Pi Pin 18

Connect the LED
attach Pi Ground to black wire
attach Pi Pin 16 to the red wire
attach Pi Pin 20 to the green wire
attach Pi Pin 21 to the blue wire
wiringdiagramsingledooor

Double Door Alarm
Use doubledooralarm.py
Connect the buzzer
Connect Pi 3.3V to Buzzer +
Connect Pi Pin 17 to Buzzer –
Connect Pi Ground to Buzzer N

Connect the door sensors, doesn't matter which wire goes where
Attach the first door sensor
attach one wire to Pi Ground
attach the other wire to Pi Pin 18
Attach the second door sensor
attach one wire to Pi Ground
attach the other wire to Pi Pin 27

Connect the LEDs
attach Pi Ground to black wire
attach Pi Pin 16 to the red wire
attach Pi Pin 20 to the green wire
attach Pi Pin 21 to the blue wire

attach Pi Ground to black wire
attach Pi Pin 13 to the red wire
attach Pi Pin 19 to the green wire
attach Pi Pin 26 to the blue wire
wiringdiagramdoubledooor

Temperature Monitoring
Use tempiodata.py
Connect the MAX31855
Connect Pi 3.3V to MAX31855 Vin
Connect Pi GND to MAX31855 GND
Connect Pi GPIO 10 to MAX31855 DO.
Connect Pi GPIO 9 to MAX31855 CS.
Connect Pi GPIO 11 to MAX31855 CLK.
wiringdiagramMAX31855

Parts List:
Pi Zero W - $10
Header pins - $1
F/F jumper wires 3" - $4
F/F jumper wires 12" - $8
Squid LEDs - $10 (2 count) or Squid LED - $4 (single)
Active Piezo Buzzer - $5 (5 count)
Magnetic Door Switch(s) - $4 each
MAX31855 - $15
Thermocouple - $10

Releases

No releases published

Packages

No packages published