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
Image | Feature | Address |
---|---|---|
OLED SSD1306 I2C | Monochrome LCD 128×64 px | 0x3C |
LCD 16×2 I2C | Monochrome LCD 16×2 | 0x27 |
LCD 20×4 I2C | Monochrome LCD 20×4 | 0x3F |
Sensor
Image | Feature | Address |
---|---|---|
MPU-6050 | Accelerometer Gyroscope | 0x68 if ADO = 0 0x69 if ADO = 1 |
MPU-9250 | Accelerometer Gyroscope Magnetometer | 0x68 if ADO = 0 0x69 if ADO = 1 AK8963 (Magnetometer) Address: – 0x0C |
INA219 | 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
Image | Address |
---|---|
DS1307 | RTC : 0x68 AT24C32 EEPROM : 0x50 |
DS3231 RTC | 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:
- Arduino Compass Using MPU9250 Magnetometer & OLED
- AMG8833 Arduino Processing
- AMG8833 Arduino Buzzer
- AMG8833 NodeMCU
- MPU9250 MEMS Sensor
- MPU6050 Angle Measurement
- RC522 RFID Sensor
- INA219 Voltage Current Sensor