Adafruit 16x2 LCD doesn't turn on with Pine64
#10
(08-26-2016, 01:11 AM)pfeerick Wrote:
(08-25-2016, 08:53 PM)MarkHaysHarris777 Wrote: i can see from your print-out of the i2c registers that it is not detecting the address of the LCD.  How are you powering it?  Double check your connections.  Make sure its on the correct bus...

Mark, I think you need to have a another look at the first post, specifically the picture... you can clearly see the LCD is on a Adafruit LCD Pi Plate, meaning it is i2c, with all comms and power comming from the pi bus. Plus, there is no room for incorrect wiring as assembly is as simply as place LCD here and solder connectors, etc. 

My question here would be does I2C work out of the box with a particular debian or ubuntu image, and if not, what configuration is needed to get it up and running?

Although that question might not have been directed at me -- I have one data-point's worth of answer to it.

i2c on the bus in question here, TWI-1 or /dev/i2c-1 as it appears in the Linux file system, does have all necessary support bits in place on the Debian 3.10.102-3-pine64-longsleep kernel. (I had it working with the previous -1- and -2- ones as well, but those are obsolete.) These are ready for use, though one will want to install the i2c-tools and libi2c-dev (and whatever other similar packages apply to python) to be able to use them for anything interesting. Reading and writing to simple devices will be the same.


So much for the software side. Hardware-wise, we have to have something connected of course, and if the i2c-capable device or board connected was originally designed for Raspberry Pi, the good news is that there is a good chance of it working, and the less-than perfectly good news is that we have to add the pull-up resistors to the two i2c lines since they are not present from before.
  Reply


Messages In This Thread

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine64 and Nexdoc mcf 11 19,297 12-05-2017, 03:10 AM
Last Post: Pander
  Mounting RPI3 "hats" on Pine64 gczuczy 5 9,937 07-30-2017, 10:29 AM
Last Post: KnReLe
  adafruit ultimate gps hat mrjake 3 6,781 02-16-2017, 08:15 PM
Last Post: mrjake
  Analog Amplifier for Pine64 mbt28 2 5,100 02-09-2017, 08:46 AM
Last Post: mbt28
  ZJ080NA-08A and pine64 mbt28 4 6,719 10-10-2016, 05:12 AM
Last Post: mbt28
  Euler bus/Pi2 bus on Pine64 xxvolwarexx 1 5,806 10-05-2016, 06:35 PM
Last Post: pfeerick
Exclamation Pine64+ not starting (never) Alex89cgn 1 3,423 08-15-2016, 12:05 PM
Last Post: MarkHaysHarris777
  Pine64 Eagle LBR openhardwarecoza 3 5,821 08-01-2016, 11:05 AM
Last Post: xalius
  Setting up UART2 for Adafruit GPS hat stephen fleming 1 3,493 05-13-2016, 03:20 PM
Last Post: peterz

Forum Jump:


Users browsing this thread: 1 Guest(s)