LCD RGB 16x2 Arduino Shield -> Raspberry Pi

Moderators: adafruit_support_bill, adafruit

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/
Locked
User avatar
d82k
 
Posts: 9
Joined: Thu Mar 21, 2013 4:50 pm

LCD RGB 16x2 Arduino Shield -> Raspberry Pi

Post by d82k »

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

crazedanimekid
 
Posts: 3
Joined: Mon Dec 17, 2012 9:23 pm

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

Post by crazedanimekid »

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
d82k
 
Posts: 9
Joined: Thu Mar 21, 2013 4:50 pm

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

Post by d82k »

Thank you crazedanimekid.
I will try tomorrow to solder it and see if it works as well!
:D

tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

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

Post by tldr »

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

User avatar
d82k
 
Posts: 9
Joined: Thu Mar 21, 2013 4:50 pm

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

Post by d82k »

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...

User avatar
d82k
 
Posts: 9
Joined: Thu Mar 21, 2013 4:50 pm

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

Post by d82k »

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

Locked
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/

Return to “Adafruit Raspberry Pi® accessories”