Hi, I've been trying to use the LCD plate on my pi but after a short while of use it stops being able to access the i2c bus and throws up some errors such as: IOError: [Errno 5] Input/output error.
Does anyone have any idea why this might be?
LCD Plate errors
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/
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_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: LCD Plate errors
Please post some clear, detailed pictures of both sides of your plate.
-
- Posts: 4
- Joined: Fri Oct 11, 2013 8:56 am
Re: LCD Plate errors
I'll post pictures tonight when I get home. The problem occurs on two different plates and 3 different Pis. One other question is whether or not connecting an Arduino to the correct pins on the plate and using the Aduino library would work with this plate/
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: LCD Plate errors
Is there anything else attached to the Pi?giannie wrote:The problem occurs on two different plates and 3 different Pis.
I haven't tried it, but it should work. Power the plate from 5V.giannie wrote:One other question is whether or not connecting an Arduino to the correct pins on the plate and using the Aduino library would work with this plate/
-
- Posts: 4
- Joined: Fri Oct 11, 2013 8:56 am
Re: LCD Plate errors
Looking at the layout of the Arduino version of the board, there are two resistors that are not on the Pi as apparently the Arduino expects pull up resistors on the i2c lines. Do you know if this will cause an issue, I'm not so familiar with the Arduino? If so, do you have any idea how I could connect resistors in a way that would avoid the problem.I haven't tried it, but it should work. Power the plate from 5V.
The problem occurred before attaching anything else to the Pi. Currently there is an RF transmitter connected to 5V, GND and GPIO17.Is there anything else attached to the Pi?
I've attached pictures of the board, and I have checked every joint that might be shorted with a multimeter.
- Attachments
-
- IMG_0003.jpg (660.04 KiB) Viewed 286 times
-
- IMG_0002_2.jpg (873.92 KiB) Viewed 286 times
-
- IMG_0001.jpg (737.29 KiB) Viewed 286 times
-
- Posts: 4
- Joined: Fri Oct 11, 2013 8:56 am
Re: LCD Plate errors
Those pictures may have been too wide... sorry.
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: LCD Plate errors
That is correct. The Pi has pullups on SDA and SCL, the Arduino does not. You would need to add pullups to use it with the Arduino. The resistor value is not critical, but the shield kit uses 4.7Kohm between SDA/SCL and 5v.Looking at the layout of the Arduino version of the board, there are two resistors that are not on the Pi as apparently the Arduino expects pull up resistors on the i2c lines.
I don't see any obvious issues with the assembly. But if the problem occurs on the Arduino also, that would confirm that the problem is somewhere on the plate.
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/
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/