I2c scanner

From cod3v

Introduction

GY-91 and many other Arduino digital sensors use I2c protocol to send the data using digital protocols.

Theory

The Scanner from IDE
Output of the scanner

From Arduino IDE find “File → Examples → Wire → i2c_scanner”. Using that script, you can find out what I2C devices are connected to your Arduino Board.

I have connected the GY-91 sensor which has

  • MPU 9250 sensor and
  • BMP280 sensor.

The other address 0x68 is for the other sensor and the other 0x76 is for the other sensor.

Exercises