Arduino + Sparkfun 12 button keypad part 1

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,930
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 17, 2009

Simple sketch of a keypad interface that uses a password to open a lock or what ever.... Right now all it does is make sounds and flash LED's.

Code for this was borrowed from the Keypad Tutorial here: http://www.arduino.cc/playground/Main/KeypadTutorial and the Password Library here: http://www.arduino.cc/playground/Code/Password and I used the open, error and startup sounds from here: http://hacknmod.com/hack/arduino-keypad-security-system/

Keep in mind that I am still pretty new to the Arduino platform and as such this sketch could probably use some cleanup....

Sketch can be found on my Facebook page here: http://www.facebook.com/note.php?note_id=208615619062

This video was shot and uploaded from a Motorola Droid phone.

Category:

Education

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (TwiztedIndian)

  • @freeroam10 Sure you would basically just need a function for controlling the servo and just set a call to that fuction in the "code accepted" section.

see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • PS: The link with the sound library is broken, I can't find anything.

  • How did you make the buzzer play different notes? I have one similar to yours but thay said me that it can just play one note.

  • I've tried using your code, but it appears that some of the code maybe missing? the last lines are

    void resetSound() { int n = 100; for (int vez=0;vez

  • i love your code is thier anyway that you can mod it so that a servo comes on when you type in the correct code?

  • Awesome :D

  • Just got one of these keypads as well. Your code worked like a charm!! Got to start learning more of this stuff :)

  • 1337. Nice password.

  • Well I had some great comments, then I saw your code. I gotta say, this is the first productive use I have seen of facebook notes.

    Only thing I gotta say is that if you get it to work with multiple passwords, you can have a master password, which when entered, would allow you to program in new passwords on the fly. Also you can use the EEPROM to save them, even when the power is turned off.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more