Post by keshin on Jan 20, 2018 5:46:31 GMT
First off i would like to thank greatly PAPA for all his help and patience with me to get this up and functional. Now on to the project
Hey everyone, today im sharing with you all my very first project with arduino, I have not yet integrated it with openhab but as a beginner myself and papa felt others may enjoy and be able to integrate this themselves.
===========================================
*** IMPORTANT NOTE ***
The alarm portion of this sketch uses a keyfob, I have relocated the ir sensor to the unit which you will see below in the photos. It also relies on the keyfob requiring a 5v source and that the button press's work by passing 5v.
To check your keyfob works this way take a multimeter and place your ground probe on the negative side of the battery (do not remove battery) next without pushing the keyfob buttons take your positive probe and test either side of the buttons, if one side of each button has a 5v reading this will work for you. If not you will need to alter or create a circuit to handle your keyfob.
The keyfob works by the arduino sending a high signal (5v) directly to the output side of the momentary keyfob button. In my case the entire keyfob still needs to be powered Others may vary.
Finally in this project we are only using the disarm and away modes, the home mode is not used.
===========================================
The Idea.
# A keypad that has the functionality to open/unlock a door
# Controls home alarm system from states set via the door
# Audible alerts to password entered
# Ability to control door lock from inside whilst maintaining security
===========================================
What you will need:
* Arduino pro mini (others will work but for size and pin requirements this is sufficient)
* 3x4 keypad with 7 outputs (others can be used but sketch will need to be modified to suit)
* 1x 10kΩ resistor
* 1x 220Ω resistor
* 1x piezo
* 1x hobby servo
* 1x red led
* 1x green led
* 1x normally open momentary button
* 1x 5v power source
===========================================
Schematic (Attempt at one at least)
===========================================
Some photos of the unit completed.
======================================
Hey everyone, today im sharing with you all my very first project with arduino, I have not yet integrated it with openhab but as a beginner myself and papa felt others may enjoy and be able to integrate this themselves.
===========================================
*** IMPORTANT NOTE ***
The alarm portion of this sketch uses a keyfob, I have relocated the ir sensor to the unit which you will see below in the photos. It also relies on the keyfob requiring a 5v source and that the button press's work by passing 5v.
To check your keyfob works this way take a multimeter and place your ground probe on the negative side of the battery (do not remove battery) next without pushing the keyfob buttons take your positive probe and test either side of the buttons, if one side of each button has a 5v reading this will work for you. If not you will need to alter or create a circuit to handle your keyfob.
The keyfob works by the arduino sending a high signal (5v) directly to the output side of the momentary keyfob button. In my case the entire keyfob still needs to be powered Others may vary.
Finally in this project we are only using the disarm and away modes, the home mode is not used.
===========================================
The Idea.
# A keypad that has the functionality to open/unlock a door
# Controls home alarm system from states set via the door
# Audible alerts to password entered
# Ability to control door lock from inside whilst maintaining security
===========================================
What you will need:
* Arduino pro mini (others will work but for size and pin requirements this is sufficient)
* 3x4 keypad with 7 outputs (others can be used but sketch will need to be modified to suit)
* 1x 10kΩ resistor
* 1x 220Ω resistor
* 1x piezo
* 1x hobby servo
* 1x red led
* 1x green led
* 1x normally open momentary button
* 1x 5v power source
===========================================
Schematic (Attempt at one at least)
===========================================
Some photos of the unit completed.
======================================