Hi Jim

So I looked at a variety of other i2c based LCD codes (there seem to be
lots for the Raspberry Pi), but I didn't like them.
So you can try mine.

You can do the following on the BBB:

git clone https://github.com/dhylands/python_lcd.git
cd python_lcd
sudo pip install -e .
sudo python lcd/i2c_lcd.py

Running i2c_lcd.py runs some test code which puts some stuff up on the LCD,
and after 3 seoncds shows the current data and time and then cycles through
a variety of backlight/display on/off combinations.

I used a 3.3v to 5v level shifter.

I wound up using smbus directly rather than the Adafruit_I2C (but
installing Adafruit_I2C will install smbus)

I threw some photos together here:
https://picasaweb.google.com/115853040635737241756/PythonI2CLCD?authkey=Gv1sRgCLyZoJ3_uPjiXA#

Coming from the BeagleBone Black the wire colors are:
Black: P9-1 GND
Red: P9-3 3.3v
Orange: P9-5 5v
Yellow: P9-19 SCL
White: P9-20 SDA

And the colors going to the LCD are:
Black: GND
Red: 5v
White: SDA
Yellow: SCL

--
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to