I2c scanner: Difference between revisions

From wikiluntti
Line 4: Line 4:


== Theory ==
== Theory ==
[[File:Arduino i2c scanner.png|thumb|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.
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.

Revision as of 20:47, 26 November 2022

Introduction

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

Theory

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.

Exercises

References