Skip to content

blackcj/PhotonDoorSensorAlarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Photon Door Sensor Alarm

This is an example on how to wire up a door sensor and activate a piezo alarm. When the door is opened, an LED will light up and a tone will play. Using WebHooks, you could record this data into a database or send a text message with the Twilio API.

Required Parts

Total Project Cost: ~$39.90 + tax & shipping costs

Wiring

wiring

For the complete schematic, open the door-sensor-alarm.fzz file in Fritzing.

Code

See the door-sensor-alarm.ino file.

WebHook

You could optionally create a WebHook that makes an API request when the door is open. This would allow you to record each open and close event.

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages