HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How To Find Unknown I2C Addresses Several Ways

23,087 views October 26, 2018 17:32

Watch on YouTube
ChannelGadget Reboot

Description from the creator

After struggling to get a 128x64 OLED display working over I2C, I learned many things about I2C addressing including:
-There are 7-bit and 10-bit addressing schemes
-There is no 8-bit addressing scheme, but some vendors improperly provide 8 bit addresses
-There are a few shortcuts to finding out what the real I2C address of a device may be
-As a last resort, an I2C scanner can be employed to locate all valid devices on the bus and report their addresses

This is a video of my journey!

Previous video with I2C address issues
youtu.be/a-pqcmCr79I

Sketch for I2C Scanner:
github.com/GadgetReboot/Arduino/tree/master/Uno…

Arduino I2C Scanner Reference Code
playground.arduino.cc/Main/I2cScanner

NXP I2C Specification Manual
nxp.com/docs/en/user-guide/UM10204.pdf

Adafruit I2C Device Address List
learn.adafruit.com/i2c-addresses/the-list

Reference info on improper 8-bit I2C address referencing
totalphase.com/support/articles/200349176-7-bit…

Patreon: patreon.com/gadgetreboot
Pinterest: pinterest.ca/GadgetReboot
Twitter: @GadgetReboot twitter.com/gadgetreboot

About this tutorial

Gadget Reboot published this 17:32 video tutorial on October 26, 2018. It has been watched 23,087 times on YouTube.

Duration
17:32
Published
October 26, 2018
Views
23,087
Likes
451

Tags

Share

Further reading

  • How to Scan I2C Address in Arduino - Arduino Project Hub create.arduino.cc

    When you are going to use I2C modules for your Arduino Projects, sometimes the manufacturer didn't give the address of I2C device inside the chip. It can be a serious problem if the address is unknown or you write the w…

  • Hello? Who's out there? I2C address unknown, how to obtain it? forum.arduino.cc

    The thing I'm wondering, is the controller using the same I2C address as the nunchuck? or some other device address, and is there a way to send a 'Who's Out There?" request from the arduino? I can't seem to find an answ…

  • Find I2C Addresses (I2C Scanner) - Eli the Computer Guy elithecomputerguy.com

    I2C devices allow you to add numerous sensors and displays to your Arduino project using only 2 communication wires. The issue can be that since I2C is an Addressable Communication Protocol that you need to know the add…

This tutorial in other languages