Keypad 3x4 Prop Sample Code
F_Nina@Yahoo.Com
Posts: 3
·I have not used this forum before, I trust I'm in the right place.
I could not find any information on a 12 Button Keypad and would like to know if anyone has Prop code to work with a 3K12T203 — STORM INTERFACE — Keypads.
Thank You
Frank Nina
I could not find any information on a 12 Button Keypad and would like to know if anyone has Prop code to work with a 3K12T203 — STORM INTERFACE — Keypads.
Thank You
Frank Nina
Comments
There is code in the Object Exchange for a 4x4, perhaps it could be easily adapted?
obex.parallax.com/objects/279/
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
I remember a couple other threads of people asking questions related to matrix keypads. You can use a search.parallax.com to search the forum to find those threads.
How will you be attaching to the keypad? Will you use pullup or pulldown resistors? For the Prop Blade PCB I did a matrix that was 3 "rows" by five "columns". I was reading DIP switches and tactile switches. The row and columns were attached to I/O, 8 total I/O. The columns also had a pullup resistor on them of 10K ohm. The rows are set to be inputs (high impedance). The row that you want to read is then set to a low output (0V DC). The column inputs are read. Note that the inputs will be 1 when they are not pressed and 0 when they are pressed. Then the row output is changed back to an input and the next row is done.
The object is here and should be adaptable to what you are doing: http://obex.parallax.com/objects/341/
I clicked over to Digikey to see more details about the part. That part looks very beefy and good for industrial use, what are designing?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com·- Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto fo SunSPOT, BitScope
www.sxmicro.com - a blog·exploring the SX micro
www.tdswieter.com
Here's a link to some info about the Storm Interface keypad, including a link to a datasheet.
http://www.storm-interface.com/product_attachments/3000Series.pdf
It looks like a regular 4 X 3 matrix style keypad.
Here's a link to a site that has some generic information about reading and using matrix style keypads.
http://www.elexp.com/t_keypad.htm
Good Luck
B-
Post Edited (Brian218) : 7/30/2008 6:49:50 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Concentrate on understanding the problem, not applying the tool
David