Connect Arduino UNO and Raspberry Pi using I2C

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
dileepmohan
 
Posts: 5
Joined: Fri Jun 21, 2013 1:42 pm

Connect Arduino UNO and Raspberry Pi using I2C

Post by dileepmohan »

Hi
I am trying to connect my Raspberry PI with arduino uno/leonardo through I2C. Is this possible using Adafruit 4-channel I2C-safe Bi-directional Logic Level Converter - BSS138. Is there any tutorials available on how to use the 4-channel I2C-safe Bi-directional Logic Level Converter - BSS138

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

Re: Connect Arduino UNO and Raspberry Pi using I2C

Post by adafruit_support_bill »

Yes, it is possible to do. Using this level shifter is relatively straightforward.

Connections from the Pi are:

GND->GND
3.3v->LV
SDA->A1
SCL->A2

Connections from the Arduino are:

GND->GND
5v->HV
SDA->B1
SCL->B2

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”