Andrea De Gaetano
Published © Apache-2.0

Door Sensor

Monitor if the door or the valve gas is open... or if someone opened the cookie jar!

BeginnerWork in progress8 hours7,745
Door Sensor

Things used in this project

Hardware components

Arduino MKR1000
Arduino MKR1000
×1
Li-Ion Battery 1000mAh
Li-Ion Battery 1000mAh
optional
×1
Micro Limit Switch
OpenBuilds Micro Limit Switch
×1

Software apps and online services

ARTIK Cloud for IoT
Samsung ARTIK Cloud for IoT

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

the circuit

too simple to any comment :)

The circuit as an image

Code

Code of the project

The articdoor.ino code is teste with mkr1000. You have to edit it before upload it , changing: - wifi SSID and password - device id - Token id Check for the comment in the code "CHANGE PARAM" . The other part of the code is for a php web app, it allows you to get information about the Last registered event. Follow the webapp tutorial on artic.cloud than replace the file hello.php with the one on my repository.

Credits

Andrea De Gaetano

Andrea De Gaetano

10 projects • 25 followers
Interested in iot, mobile and security Love hackathons This is my blog http://pestohacks.blogspot.com
Thanks to Zoran Roncevic .

Comments