Store › Forums › Defusable Clock › General Discussion › Adding a keypad
Tagged: defusable clock, keypad
- This topic has 10 replies, 4 voices, and was last updated 8 years, 2 months ago by TDG_BullDog.
-
AuthorPosts
-
June 2, 2015 at 3:24 pm #769monkeyman3024Participant
Hello all,
I’ve been looking into one of these for a scenario paintball game and was wondering how I could work in a keypad for an alternate path of disarming the prop. I didn’t see enough open pins to connect one. Anyone have any suggestions?
Looking at some of the keypads out there I would need anywhere from 4 to 7 pins.
Thanks!
June 2, 2015 at 7:41 pm #2266MichaelKeymasterSorry, there’s only one pin left on the microcontroller, so keypad is not possible.
June 3, 2015 at 12:49 pm #2267monkeyman3024ParticipantWould it be possible to re-purpose some of the buttons? I was thinking alarm, hour and minute buttons as ones that I won’t need.
June 3, 2015 at 7:23 pm #2272MichaelKeymasterUnfortunately, you need a LOT of pins to read a keypad.
http://nootropicdesign.com/projectlab/2010/04/03/keypad-tutorial/July 5, 2015 at 11:15 pm #2289IChopMemberA quick google search shows there are ways to do this…
http://www.youtube.com/watch?v=URO042VrCKU
http://forum.arduino.cc/index.php?topic=13178.0July 7, 2015 at 1:43 pm #2292MichaelKeymasterThanks for those links, IChop. Yes with some cleverness and additional components, it could be possible.
July 14, 2015 at 3:08 pm #2293monkeyman3024ParticipantThank you for that info. I was considering using a second arduino for keypad entry and then pass the information serially but this should help eliminate extra components and power needs!
October 14, 2015 at 12:44 pm #2356monkeyman3024ParticipantThis wasn’t difficult at all. I’ll see about posting my results, pictures, and more links tonight.
I used the diagram and schematic to determine which pins I wanted to use then removed the alarm button and soldered a wire to 5V, the 3/4 pin for the keypad input, and 1/2 for the ground.
From there it was just applying one of the single pin guides to create a voltage divider.After that was completed it was just a matter of modifying the code as to take the keypad input where desired and how to handle it.
If you needed to add more features than just a keypad you could use another micro controller or your preference on hardware and communicate over some communication protocol to allow for many more features to be added. At some point though I feel like it would be beneficial to just make something from scratch than trying to re-purpose the board.
June 26, 2016 at 3:54 pm #8282monkeyman3024ParticipantSo the basic information is all here on the Arduino website: http://playground.arduino.cc/Code/OneWireKeyPad
Keypad and resistors on breadboard with an Artuino as a Test
Keypad and resistors soldered to board.
- This reply was modified 8 years, 5 months ago by monkeyman3024.
- This reply was modified 8 years, 5 months ago by monkeyman3024.
June 27, 2016 at 8:45 pm #8289MichaelKeymasterJust FYI, we are currently working on a new version of the Defusable Clock that will support a keypad without any extra components. This will be available later this year.
September 1, 2016 at 7:14 pm #8418TDG_BullDogParticipantJust now saw your response Michael. Looking forward to building another using the new kit when it’s available.
-
AuthorPosts
- You must be logged in to reply to this topic.