alanb128 / audio-streaming-box

Create a streaming music box with moOde audio, controls and an LCD
28 stars 4 forks source link

LCD I2C Direct Connection #4

Open bryanwallen opened 1 month ago

bryanwallen commented 1 month ago

Hi Alan. I am trying to build your Music-Streaming-Box and wish to connect a 16x2 LCD display with I2C interface directly to the SDA and SCL terminals on the Pi. However, having followed your instructions I am unable to get any data to the display. Am I doing something wrong? regards

Bryan Allen

alanb128 commented 1 month ago

Hello Bryan, the code in this repo is for this specific LCD display: https://www.adafruit.com/product/181 and that uses SPI instead of I2C. So if you want to use I2C it is possible but you would have to use a different library and change the code accordingly. What model display are you using?

bryanwallen commented 1 month ago

Hi Alan. It’s an HD44780 compatible display.BryanOn 22 May 2024, at 03:33, Alan Boris @.***> wrote: Hello Bryan, the code in this repo is for this specific LCD display: https://www.adafruit.com/product/181 and that uses SPI instead of I2C. So if you want to use I2C it is possible but you would have to use a different library and change the code accordingly. What model display are you using?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

alanb128 commented 1 month ago

If your display already has I2C and you want to connect using that method, then you'll need to modify the code a bit to work with the particular library for your display. Alternatively, you might be able to attach a backpack like this: https://www.adafruit.com/product/292 and connect to the Pi via SPI so the code works as written.

bryanwallen commented 1 month ago

Okay, thanks for your help, Alan. I will have a look and, hopefully, get it working.Regards BryanOn 24 May 2024, at 04:44, Alan Boris @.***> wrote: If your display already has I2C and you want to connect using that method, then you'll need to modify the code a bit to work with the particular library for your display. Alternatively, you might be able to attach a backpack like this: https://www.adafruit.com/product/292 and connect to the Pi via SPI so the code works as written.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>