1

I have bought the following two items:

which I have soldered together and got working nicely on my Arduino Uno, however, I have had less luck with the RPi. I have been following the Adafruit guide for the BackPack and the RPi but this is focused on other types of display. I've also looked at the Raspberry Pi Spy posts but these focus on doing it without the backpack.

My Question: Has anyone had any success with what I am trying to do?

1

Make sure python modules python-smbus and i2c-tools are installed.

Try checking that /etc/modules file contains the i2c related kernel modules (i2c-bcm2708 & i2c-dev)

Also check the bus you are using. Adafruits i2c use default bus but it may differ in some cases so try to edit Adafruit_CharLCDPlate class and replace the busnum parameter at line 425 with the one you are using. To check your bus use command: sudo i2cdetect -y 1 (bus format is like 0x00) (For old Rasp. Pi Model B 256MB command is sudo i2cdetect -y 0)

0

Yes. I have had that working, using a 2 line and a 4 line LCD display.

I don't have a write-up available yet, the Raspberry Pi Spy article explains how to configure I2C and I have some source code on github (for the 4 line version) https://github.com/penguintutor/learnelectronics/tree/master/quiz

  • Hi Stewart, Thanks for replying. I had a quick look at your code but these do not appear to use the backpack, which I had hoped to use. I have another LCD on order so will try the 'native' approach when it arrives. – Davies-Barnard Jun 16 '16 at 12:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.