Jump to content
Sign in to follow this  
Joshua Benore

16 x 2 LCD keypad Shield -V2.1 buttons not working

Recommended Posts

Problem:

 

I have a new LCD shield and testing it out for the first time. I copy and pasted two different programs (a button test for this unit and a program to adjust the brightness of the screen using the buttons) to the Arduino and it looks like it is working normally except none of the buttons are responding at all on either program.

 

My understanding on the mechanism:

 

After reading about the shield it looks like all of the buttons are using the AO (analog in) pin at different voltages. I assume that this works by different volt resistors on the buttons so that just one pin can receive input from all 5 buttons via these different voltages.

 

Work so far:

 

I found the Library for LCDKeypad as my Arduino and added it after the program initially failed. I then realized the Arduino program needed to be restarted before the changes could take effect. Also unplugging the the Arduino and reconnecting it to clear the averdude errors (Arduinos can be a bit eccentric).

 

Hypothesis of diagnosis:

 

The pin going into the A0 is a little bit longer than the other pins which I would not assume be an issue unless it was SHORTER than the other pins. I don't know if it is just an anomaly of the manufacturing process or this pin is intentionally about 1/2 millimeter longer than the other pins to ensure connectivity.

 

In quarry:

 

Before I do anything drastic like cutting the extra length off of the LCD sheild's pin to AO, I will first find a way to test the AO input on my Arduino Uno to make sure it is not my Arduino's input port malfunctioning. Any input or ideas for troubleshooting this cool little toy would be appreciated. I will respond with a solution if found for the sake of the product's quality assurance. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×