List of device I2C addresses for the Arduino Project

Posted on

I2C address of Device

In some Arduino development projects or something like it, sometimes we forget what the I2C address of a device is. Therefore, to simplify this condition, in this article I collect List of device I2C addresses for the Arduino Project.

Display

ImageFeatureAddress
OLED SSD1306 I2C
OLED SSD1306 I2C Address
Monochrome LCD 128×64 px0x3C
LCD 16×2 I2C
LCD 16x2 I2C Address
Monochrome LCD 16×20x27
LCD 20×4 I2C
LCD 20x4 I2C Address
Monochrome LCD 20×40x3F

Sensor

ImageFeatureAddress
MPU-6050
mpu6050 i2c address
Accelerometer
Gyroscope
0x68 if ADO = 0
0x69 if ADO = 1
MPU-9250
List of device I2C addresses for the Arduino Project
Accelerometer
Gyroscope
Magnetometer
0x68 if ADO = 0
0x69 if ADO = 1

AK8963 (Magnetometer) Address:
– 0x0C
INA219
INA219 I2C Address Arduino
Current
Voltage
Power
0x40 if A0 = 0, A1 =1
0x41 if A0 = 1, A1 =0
0x44 if A0 = 0, A1 =1
0x45 if A0 = 1, A1 =1

*0 = not connected, 1 connected

Time

ImageAddress
DS1307
DS1307 I2C Address Arduino
RTC : 0x68

AT24C32 EEPROM : 0x50
DS3231 RTC
DS3231 I2C Address Arduino
RTC : 0x68

AT24C32 EEPROM:
0x57 if jumper A0 = 0, A1 = 0, A2 = 0 (Default)
0x56 if jumper A0 = 1, A1 = 0, A2 = 0
0x55 if jumper A0 = 0, A1 = 1, A2 = 0
0x54 if jumper A0 = 1, A1 = 1, A2 = 0
0x53 if jumper A0 = 0, A1 = 0, A2 = 1
0x52 if jumper A0 = 1, A1 = 0, A2 = 1
0x51 if jumper A0 = 0, A1 = 1, A2 = 1
0x50 if jumper A0 = 1, A1 = 1, A2 = 1

*0 = not connected, 1 connected

I hope this article List of I2C device addresses for Arduino Projects was useful. If you find it helpful and if so, you may share this article with other people.

More turorial: