Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspberry

by Stouf on Fri Oct 18, 2013 2:40 pm

Hi ! I have just finished to solder my Adafruit LCD Shield and i've done the GPIO and I2C config tutorial but when i write : sudo i2cdetect -y 1 it doesn't recognize my LCD there is no things writing on the i2cdetect tool.
I will send you some pics of my solder job and please can you tell me what's wrong with what i've done please ?

"pic erased because of the tall"

Thanks so much to help us !
Last edited by Stouf on Tue Oct 29, 2013 12:38 pm, edited 1 time in total.
Stouf
 
Posts: 10
Joined: Fri Oct 18, 2013 2:17 pm

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by adafruit_support_bill on Fri Oct 18, 2013 2:48 pm

You have several 'cold' joints and joints where the solder dit not flow well onto the pad or the pin. Please review this page for advice on identifying and repairing these solder joints: http://learn.adafruit.com/adafruit-guid ... n-problems
User avatar
adafruit_support_bill
 
Posts: 25349
Joined: Sat Feb 07, 2009 9:11 am

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by Stouf on Sat Oct 26, 2013 9:18 pm

Hi ! I've just work on the Plate tonight and it doesn't work, so I guess i'm not good to see solder problems. I tried so hard but it seems to have a probleme again. Please check my pics and tell me if you see an obvious soldering probleme or it should be good now :S Thanks

pic erased because of the tall

Thanls again for your help.
Last edited by Stouf on Tue Oct 29, 2013 12:37 pm, edited 1 time in total.
Stouf
 
Posts: 10
Joined: Fri Oct 18, 2013 2:17 pm

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by adafruit_support_bill on Sun Oct 27, 2013 6:30 am

There are still some joints with a 'lumpy' appearance. These are 'cold' joints. The ideal joint should be smooth and have a cross-section as in the diagram below. Some of the other joints have a 'frosted' appearance. This can also be an indication of a cold joint, but it can also just be due to using lead-free solder. What kind of solder are you using?

You should be able to fix these up. Just take your time and use a clean-hot iron. Clean your tip after every few joints and give it a chance to re-heat. This is especially important if you are using a low-powered (25W or less) iron.

Image
User avatar
adafruit_support_bill
 
Posts: 25349
Joined: Sat Feb 07, 2009 9:11 am

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by Stouf on Sun Oct 27, 2013 9:01 am

Hi, I'm using the tools you can see on the picture below (60w "campingaz" iron + 1.0mm 60% solder for electonical job + unsolder tap)
I'm gonna check again what's wrong with my solder job and I come back after that. Thanks a lot for your help.

pic erased because of the tall
Last edited by Stouf on Tue Oct 29, 2013 12:37 pm, edited 1 time in total.
Stouf
 
Posts: 10
Joined: Fri Oct 18, 2013 2:17 pm

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by Stouf on Tue Oct 29, 2013 10:28 am

Hi ! my thread is kind of unreadable now sorry

So i've re-heated all the cold joints and watched carefully all the joints on the plate and always no power on the plate and no i2c detection. So i took a pic to show you exactly how the plate is plug in the pi so you can tell me if that's the problem. And i've got other pics to show you all the joints now...I can post it when you want.
See before this one and tell me please.

Image

(the other pics)

Image
Image
Image
Last edited by Stouf on Tue Oct 29, 2013 12:34 pm, edited 1 time in total.
Stouf
 
Posts: 10
Joined: Fri Oct 18, 2013 2:17 pm

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by adafruit_support_bill on Tue Oct 29, 2013 10:46 am

If you can re-size your photos to about 800x600, they will load much faster and still have plenty of detail.

It looks like your ribbon cable is oriented properly. Just make sure thatit lines up exactly with the pins. It is easy to be off by one pin in either direction.
User avatar
adafruit_support_bill
 
Posts: 25349
Joined: Sat Feb 07, 2009 9:11 am

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by Stouf on Tue Oct 29, 2013 12:36 pm

Hi, I resized all the pictures, thanks for the tip ;)
Can you check my soldering job please ? I really don't know what's happening and if it's hurting the plate all that manipulation :S

Thanks for your help.
Stouf
 
Posts: 10
Joined: Fri Oct 18, 2013 2:17 pm

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by adafruit_support_bill on Tue Oct 29, 2013 12:45 pm

The solder joints do look better.
Which version of the Raspberry Pi do you have? Older versions of the Pi used i2c bus #0, so you would need to type:
Code: Select all
sudo i2cdetect -y 0
User avatar
adafruit_support_bill
 
Posts: 25349
Joined: Sat Feb 07, 2009 9:11 am

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by Stouf on Tue Oct 29, 2013 12:52 pm

I'm using version 2 but I tried both of the commande as you can see in the picture.

Image
Stouf
 
Posts: 10
Joined: Fri Oct 18, 2013 2:17 pm

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by adafruit_support_bill on Tue Oct 29, 2013 3:06 pm

ON closer look, it seems you have used a different header. The kit should come with a female header that looks like the the photo below when installed. It is meant to plug directly into the Pi.

The ribbon cable you are using is the wrong configuration for that header. It would work if you had the headers installed the other way around and plugged in the cable from the top of the plate.

Image
User avatar
adafruit_support_bill
 
Posts: 25349
Joined: Sat Feb 07, 2009 9:11 am

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by Stouf on Tue Oct 29, 2013 3:14 pm

You were right ! It works ! ;) thanks so much for your help !
Last edited by Stouf on Tue Oct 29, 2013 7:36 pm, edited 1 time in total.
Stouf
 
Posts: 10
Joined: Fri Oct 18, 2013 2:17 pm

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by Stouf on Tue Oct 29, 2013 7:34 pm

Hi ! Thanks again all work great now.
But I have a last (but big) advice to ask you....There is not much tutorials for this model of plate (but a lot for the model without button and shield).....I tell you what I wanna do....

I would like different pages with the buttons....for exemple I want the LCD to display my ip adress and the time with green backlight when I press the button UP and I want the message "Welcome Stouf !" with purple backlight when i push the button right also I want the pi to shutdown if i press the select buton more than 3sec...Is all that possible ? can you guide me thru that ?

Thanks a lot for your help !

ps : my pi will not be a bitcoin miner neither a wifi radio just in case you wanna know...it's just a little computer with Raspbian for now....maybe it gonna be a LAMP one day...that's it.
Stouf
 
Posts: 10
Joined: Fri Oct 18, 2013 2:17 pm

Re: Adafruit RGB 16x2 LCD "POSITIVE" + Keypad Kit for Raspbe

by lbendlin on Fri Nov 15, 2013 12:33 pm

Look at the code for the WiFi radio - it shows you how to poll buttons and how to react to them.

Code: Select all
    # Poll all buttons once, avoids repeated I2C traffic for different cases
    b        = lcd.buttons()
    btnUp    = b & (1 << lcd.UP)
    btnDown  = b & (1 <<lcd.DOWN)
    btnLeft  = b & (1 <<lcd.LEFT)
    btnRight = b & (1 <<lcd.RIGHT)
    btnSel   = b & (1 <<lcd.SELECT)
    ...
lbendlin
 
Posts: 8
Joined: Thu Nov 14, 2013 10:41 pm