ghile
Posts: 40
Joined: Thu Jun 15, 2017 9:52 am

DAC + I2C LCD

Sat Feb 04, 2023 1:18 pm

Hi,

I have a raspberry pi zero w and a HIFI DAC HAT connected. I would like to add a 16X2 I2C LCD display. The display connects via the pins: gnd, vcc, sda and sc1. Can I connect them to the dac pins?

Thank you,

User avatar
rpdom
Posts: 21513
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: DAC + I2C LCD

Sat Feb 04, 2023 2:52 pm

Does the DAC HAT use the i2c SCL/SDA pins? Even if it does, you can still connect the display to those pins and power as long as the two devices have different i2c addresses - and the 16x2 display units usually have a way of changing the address if it does clash.

Short answer: Yes, but you might need to change an address setting.
Unreadable squiggle

ghile
Posts: 40
Joined: Thu Jun 15, 2017 9:52 am

Re: DAC + I2C LCD

Sat Feb 04, 2023 3:09 pm

rpdom wrote:
Sat Feb 04, 2023 2:52 pm
Does the DAC HAT use the i2c SCL/SDA pins? Even if it does, you can still connect the display to those pins and power as long as the two devices have different i2c addresses - and the 16x2 display units usually have a way of changing the address if it does clash.

Short answer: Yes, but you might need to change an address setting.
HI,
Thanks for the reply. The DAC has a 40 pin connector, so it covers all gpio of the rapsberry pi zero.
How can I check if it uses the same pins? The display I should connect them to the gpio 2 and gpio3.

thanks !

User avatar
rpdom
Posts: 21513
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: DAC + I2C LCD

Sat Feb 04, 2023 4:55 pm

Have you got any links to the HAT? Specifications and schematic would be really helpful.
Unreadable squiggle

aBUGSworstnightmare
Posts: 7028
Joined: Tue Jun 30, 2015 1:35 pm

Re: DAC + I2C LCD

Sat Feb 04, 2023 6:05 pm

As we don't know which HAT is in use my answer needs to be a little generic.

If your display uses GPIO and you 'can't connect it because the HAT is blocking all I/O' you can use i.e. this https://shop.pimoroni.com/products/pico-hat-hacker
Some examples of real life use
Image
Image
easy access to unused GPIO now!
Last edited by aBUGSworstnightmare on Tue Feb 07, 2023 10:37 am, edited 1 time in total.

ghile
Posts: 40
Joined: Thu Jun 15, 2017 9:52 am

Re: DAC + I2C LCD

Sat Feb 04, 2023 7:09 pm

Hi,

The dac is innomaker DAC HAT PCM5122. This is the manufacturer's http://www.inno-maker.com/product/hifi-dac-hat/, but I couldn't find any documentation on the gpio being used.
The display is GeeekPi I2C LCD 16X2.
The os is volumio.

thank you !

Inno-maker
Posts: 15
Joined: Wed Apr 03, 2019 5:41 am

Re: DAC + I2C LCD

Tue Feb 07, 2023 10:21 am

Dear, thank you for choosing innomaker.

Refer to the pins maps, Pls check the chapter 3.2 of below usermanual,

https://github.com/INNO-MAKER/HIFI-DAC- ... spberry-Pi

Inno-maker
Posts: 15
Joined: Wed Apr 03, 2019 5:41 am

Re: DAC + I2C LCD

Tue Feb 07, 2023 10:29 am

If the IIC address of display is different from DAC. You could connect the display to the IIC pins of DAC modue. Not be affected
The IIC address of DAC HAT is 0X4D(7bits mode),

Return to “HATs and other add-ons”