Pages: [1]   Go Down
Author Topic: Sparkfun Keypad Defective?? Pictures included  (Read 1429 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm working on a larger project that uses a keypad for input. Before I add it to my project I tested it separately to see if it worked. I followed this guide:

http://www.instructables.com/id/Using-the-sparkfun-12-Button-keypad-with-the-ardu/?ALLSTEPS

This is my setup:











Do you see anything wrong with this setup?

I don't get any information printed to my serial window when I press a button. Thanks, Mike
« Last Edit: March 02, 2013, 12:49:30 pm by mpick67 » Logged

Offline Offline
Edison Member
*
Karma: 57
Posts: 2078
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I didn't check every wire in the photos, but I can't see what's wrong.

Can you use a multimeter, and with the keyboard not attached to the Arduino. To see if pressing a key causes a combination of wires to connect ?

Can you add a serial print to the setup() function, so you know the serial communicaton is okay ?
Serial.println("Hello");
« Last Edit: March 02, 2013, 01:03:28 pm by Erdin » Logged

Denmark
Offline Offline
God Member
*****
Karma: 8
Posts: 530
Please don't send questions as PM!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Those solder joints looks very suspicious!

Is the solder even contacting the pads below ? It almost looks like there is no pad underneath the solder, almost like someone ripped it clean off...

Please take a better picture from a different angle of this

// Per.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Those solder joints looks very suspicious!

Is the solder even contacting the pads below ? It almost looks like there is no pad underneath the solder, almost like someone ripped it clean off...

Please take a better picture from a different angle of this

// Per.

I tried to be very careful when I was soldering, and I tried pulling on the wires connected to the keypad to see if they were lose, but they seemed to be very secure. Here are the pictures you requested.











Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 65
Posts: 2934
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you touch pins 5 and 8 on the arduino, do you get an output?

Why are you using pull down resistors? Take them out.
« Last Edit: March 12, 2013, 11:45:34 am by HazardsMind » Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you touch pins 5 and 8 on the arduino, do you get an output?

Why are you using pull down resistors? Take them out.

I resoldered all the connections so I'm just about 100% sure it's not my connections that are bad. I touched pins 5 and 8 but nothing happened. The reason I was using the resistors was because I was following this tutorial: http://bildr.org/2011/05/arduino-keypad/

Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 65
Posts: 2934
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
You won't need external resistors or diodes because the library uses the internal pullup resistors and additonally ensures that all unused column pins are high-impedance
http://playground.arduino.cc//Code/Keypad

Also if you download the Keypad library, why not just use one of the other examples to test your keypad?
« Last Edit: March 12, 2013, 02:13:13 pm by HazardsMind » Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
You won't need external resistors or diodes because the library uses the internal pullup resistors and additonally ensures that all unused column pins are high-impedance
http://playground.arduino.cc//Code/Keypad

Also if you download the Keypad library, why not just use one of the other examples to test your keypad?

I'm thinking it must be my arduino uno that's the problem. I tried the examples but none of them seem to work. I connected my multimeter to pins 2 and 3 and read -.005 volts and when I pressed button 1 the multimeter instantly went to zero volts. So do you think my arduino is bad?
Logged

Maine
Offline Offline
Sr. Member
****
Karma: 10
Posts: 413
Caution: Explosives in use.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
You won't need external resistors or diodes because the library uses the internal pullup resistors and additonally ensures that all unused column pins are high-impedance
http://playground.arduino.cc//Code/Keypad

Also if you download the Keypad library, why not just use one of the other examples to test your keypad?

I'm thinking it must be my arduino uno that's the problem. I tried the examples but none of them seem to work. I connected my multimeter to pins 2 and 3 and read -.005 volts and when I pressed button 1 the multimeter instantly went to zero volts. So do you think my arduino is bad?

You want to be measuring resistance, not voltage.
Logged

"Anyone who isn't confused really doesn't understand the situation."

Electronic props for Airsoft, paintball, and laser tag -> www.nightscapetech.com

Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just went through and tested all of the pins on my arduino with a servo motor to check and see if my arduino was broken by chance. All the pins work (1-13). And my serial link is good. This is really aggravating.  smiley-eek this silly keypad is holding up my entire project.
Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 65
Posts: 2934
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think I now see what your problem is. I just tried to make my own keypad password, with a changeable master password and once I change the master, my '1' button does not work. Even in the serial monitor, it won't work. I don't understand what changed, but I think your having the same issue, however yours just wont work at all.

This is very strange.

Now if it was just the keypad, you should get a reading when you touch pins 5 and 8, but even then, nothing happened.

It must be a bug in the library.
Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Queens, New York
Offline Offline
Faraday Member
**
Karma: 65
Posts: 2934
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I solved my problem, and I think I spotted yours. Your resistors, are they going to GND or V+?
Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Pages: [1]   Go Up
Jump to: