Keypad Reader Program?
I have a 4 x 4 keypad with 3 pins and a 3 x 4 keypad with 13 pins. Could someone post a BASIC or Propeller program helping me read these?
The 4 x 4 keypad is sold by www.ucontroller.com/index_pro1.html
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
The 4 x 4 keypad is sold by www.ucontroller.com/index_pro1.html
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
Comments
Never seen a 13 pin but 1 will be common amongst all connect it to gnd and put a 10k resister from each of others to your power rail. To read just look for a 0 meaning button is pressed.
Most have 7 pins where you would connect 3 of the pins to power through resisters and output a 0 on each of the other 4 in turn. When button is pressed you get a 0 back on 1 of the 3 and 1 of the 4 you outputed corresponding to row and column
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are in stock. Only $30. PCB available for $5
Want to make projects and have Gadget Gangster sell them for you? propmod-us_ps_sd and propmod-1x1 are now available for use in your Gadget Gangster Projects.
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
http://forums.parallax.com/showthread.php?p=697153
And here is one for the 4x4 keypad:
http://forums.parallax.com/showthread.php?p=820064
phil
Post Edited (phil kenny) : 7/22/2009 5:41:53 PM GMT
How do I know which pin is the GND? Just try each one in turn?
Thanks for all of your fast replies!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
Use miltimeter between 2 pins if gndone of the buttons will cause contacts to short
Never used serial keypad just recognize pin count
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are in stock. Only $30. PCB available for $5
Want to make projects and have Gadget Gangster sell them for you? propmod-us_ps_sd and propmod-1x1 are now available for use in your Gadget Gangster Projects.
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
TX is then connected to your microcontroller. I haven't used a STAMP in years, but if you'd like some Propeller code, let us know what the rest of your Propeller set up consists of... Do you have connected to TV or VGA that you want to echo each keypress to? or echo right back to a serial terminal?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio - the modular Development system for the Propeller
PropNIC - Add ethernet ability to your Propeller! PropJoy - Plug in a joystick and play some games!
SD card Adapter - mass storage for the masses Audio/Video adapter add composite video and sound to your Proto Board