×

We are actively looking into website issues. You may encounter degraded performance on the site as we perform maintenance. Thank you for your continued patience!

# Member #81485

Member Since: September 5, 2009

Country: United States

• Are you providing power to the microphone?

Circuit Schematic
Excel Sheet
edit:
Picture of Resistors (SMD 603s) on the Pads: the red wire is +5V, purple is analog out, black is ground.

• So, looks like it’ll be easier inverting the output, using negative logic (note the slash in front of the outs). These are the outputs, 0=0000, 1=0001… 9=1001, *=1010, #=1011. And otherwise (no buttons being pressed) = 1111. I’ll be checking this in awhile, but I checked the hand work several times and believe this to be right.
edit: due to the formatting, I can’t write it correctly. Replace the ‘ “ ’ with shift+8, the multiply symbol.
CHIP ID ATF16V8BQL;
Pin 1 Clk ; Clock pin
Pin 2 p1 ; pad 1
Pin 3 p2 ; pad 2
Pin 4 p3 ; pad 3
Pin 5 p4 ; pad 4
Pin 6 p5 ; pad 5
Pin 7 p6 ; pad 6
Pin 8 p7 ; pad 7
Pin 12 /out0 ; output 0
Pin 13 /out1 ; output 1
Pin 14 /out2 ; output 2
Pin 15 /out3 ; output 3
EQUATIONS
out0 = p1"p4 + p1"p2 + p3"p7 + p5"p7 + p1"p6 + p3"p4
out1 = p1"p4 + p2"p3 + p3"p7 + p1"p7 + p1"p6 + p5"p6
out2 = p1"p4 + p2"p3 + p1"p2 + p2"p5 + p1"p6 + p5"p6 + p3"p4 + p4"p5
out3 = p1"p4 + p2"p3 + p1"p2 + p2"p5 + p3"p7 + p1"p7 + p5"p7 + p3"p6

• I haven’t seen anyone else talk about interfacing this with a PLD, so I thought I’d suggest it. You can get a PLD like the “ATF16V8BQL-15PU” for \$1.60. Use the 7 outs of the keypad as ins for the PLD, make a truth table, and have the PLD output a 4 bit (HEX) number for each (Carnaugh maps may help, but I’m just gonna use maxterms). This would be much simpler to interface with an arduino than using another MCU in the middle. Here’s code that I wrote that I haven’t tested yet, but it should work. You do need a IC programmer.
Ok, it’s late, and I realized that I’m going to have to write it out and look check it and what not to make sure it works, I’ll reply to this later. I really do think this is the best method to decode this keypad though. It’s a static decode, thus logic circuits should be used, not MCUs. Problems will arise if two buttons are pressed, but whatever.

No public wish lists :(

In 2003, CU student Nate Seidle blew a power supply in his dorm room and, in lieu of a way to order easy replacements, decided to start his own company. Since then, SparkFun has been committed to sustainably helping our world achieve electronics literacy from our headquarters in Boulder, Colorado.

No matter your vision, SparkFun's products and resources are designed to make the world of electronics more accessible. In addition to over 2,000 open source components and widgets, SparkFun offers curriculum, training and online tutorials designed to help demystify the wonderful world of embedded electronics. We're here to help you start something.