Site icon 14core.com

Scanning i2C Device Address on Arduino

In this guide we will going to find and detect i2c address on our i2c device. You can scan and find the i2c address used by your devices by find the exact address used by the i2c device for more detail how i2c works please see this link, before we will going to begin you need to have the Arduino IDE and the source code sketch, the code below will scan and find the address which has been used by your i2c device. in this example we will going to used the i2c lcd 16×2 LCD display.  upload the source code to your Arduino board and then change the baud rate 115200, and push the reset button then see the result.

Scanned Output
[crayon-6695dfdab11cf686030834/]
Arduino Sketch (i2C Address Scanner)
[crayon-6695dfdab11d7951113806/]
i2C Scanner Sketch Code 2
[crayon-6695dfdab11db345736823/]
 

Scanning i2C Device Address on Arduino
Exit mobile version