Two components that use I2C on RPi 3

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
steve0429
 
Posts: 21
Joined: Thu Jul 30, 2015 10:12 am

Two components that use I2C on RPi 3

Post by steve0429 »

How does one go about using two (or more) electrical components that use I2C on a Raspberry Pi 3?
The first component is Adafruit RGB Negative 16x2 LCD+Keypad Kit for Raspberry Pi (1110).
The next component is Stereo 2.8W Class D Audio Amplifier - I2C Control AGC - TPA2016 (1712)

I see in the description for the RGB LCD it states "lets you control a 16x2 Character LCD, up to 3 backlight pins AND 5 keypad pins using only the two I2C pins on the R-Pi! The best part is you don't really lose those two pins either, since you can stick i2c-based sensors, RTCs, etc and have them share the I2C bus. " I guess what I don't understand is how you do you physically add something else that those I2C pins since they are covered up.

Thank you for addressing this that even a newbie can understand.

Steve

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Two components that use I2C on RPi 3

Post by adafruit_support_bill »

If you use a Cobbler and a breadboard, you can make multiple connections on the breadboard. Otherwise, you can just splice some wires together and plug them into the Pi GPIO header.

User avatar
steve0429
 
Posts: 21
Joined: Thu Jul 30, 2015 10:12 am

Re: Two components that use I2C on RPi 3

Post by steve0429 »

Thank you for your answer. But if the 16x2 kit board plugs directly into the RPi via the "Raspberry Pi Plate Header" then is it ok to simply solder I2C wires from the 16x2 LED kit board side to continue the I2C to the other component that needs I2C?

Steve

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Two components that use I2C on RPi 3

Post by adafruit_support_bill »

That would work. Another option is to use stacking headers. https://www.adafruit.com/products/2223

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”