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/

LCD RGB 16x2 Arduino Shield -> Raspberry Pi

by d82k on Thu Mar 21, 2013 4:12 pm

Dear All,

I would like to add a lcd to my Raspberry Pi as described in this tutorial http://learn.adafruit.com/adafruit-16x2 ... spberry-pi.
Unfortunately my distributor had only this model http://adafruit.com/products/715 (with http://www.adafruit.com/products/399) which I bought... will the same library reported in the tutorial for raspberry is going to work? Are also switches going to work?

Thank you for your kind support,
dk
d82k
 
Posts: 6
Joined: Thu Mar 21, 2013 3:50 pm

Re: LCD RGB 16x2 Arduino Shield -> Raspberry Pi

by crazedanimekid on Thu Mar 21, 2013 5:34 pm

Those two parts seem to be the same as the backpack kit; I just installed mine today. The only issue I ran into using the Adafruit code is I had to change the smbus number from -1 to 1 in the python code.

I have only run the tests included with Adafruit's Python code libraries, but so far so good. Hope that helps. :D
User avatar
crazedanimekid
 
Posts: 3
Joined: Mon Dec 17, 2012 8:23 pm
Location: MI-US

Re: LCD RGB 16x2 Arduino Shield -> Raspberry Pi

by d82k on Sat Mar 23, 2013 3:44 pm

Thank you crazedanimekid.
I will try tomorrow to solder it and see if it works as well!
:D
d82k
 
Posts: 6
Joined: Thu Mar 21, 2013 3:50 pm

Re: LCD RGB 16x2 Arduino Shield -> Raspberry Pi

by tldr on Sat Mar 23, 2013 11:01 pm

you'll want to omit r1 and r2 as they will pull the voltage on the i2c lines up to 5v and fry your pi. you'll want to attach c4 and c5 to the i2c pins on the pi. c4 and c5 are the pins on the very edge of the board nearest the reset button and contrast pot. connect 5v from the pi to the third pin from the adafruit logo. connect ground from the pi to the pin two further down from the 5v pin.

this photo might help.Image
"If I had known it was harmless, I would have killed it myself." - Phillip K. Dick, A Scanner Darkly
User avatar
tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 12:34 am

Re: LCD RGB 16x2 Arduino Shield -> Raspberry Pi

by d82k on Sun Mar 24, 2013 3:25 am

Thank you tldr for your reply.
Ok so if I understood correctly I should not solder the two 4.7K resistor R1 and R2 (should I substitute them with anything else?) and do all the rest.
Than I will connect the 5v, GND, GPIO0 (SDA), and GPIO 1 (SCL) pins of the RPi to the corrispondent ones of the image you post. Using the library of the adafruit tutorial for the RPi everything should work...
Thank you for your advices
dk

EDIT: I just realized that the FAQ of the RGB LCD Shield the last one clearly state the incompatibility with the RPi. I guess that is because of R1 and R2.. I guess also that once removed it would not be anymore compatible with Arduino...
d82k
 
Posts: 6
Joined: Thu Mar 21, 2013 3:50 pm

Re: LCD RGB 16x2 Arduino Shield -> Raspberry Pi

by d82k on Mon Apr 01, 2013 2:53 pm

Hello,

I was finally able to solder my LCD kit!!!
Yes, I confirm, not using the R1 and R2 the lcd works with RPi!
Thank you again for your kind support.
dk
d82k
 
Posts: 6
Joined: Thu Mar 21, 2013 3:50 pm