I2c scanner: Difference between revisions
From wikiluntti
(→Theory) |
(→Theory) |
||
Line 4: | Line 4: | ||
== Theory == | == Theory == | ||
[[Arduino i2cScanner.png|The Scanner from IDE]] | |||
[[File:Arduino i2c scanner.png|thumb|Output of the scanner]] | [[File:Arduino i2c scanner.png|thumb|Output of the scanner]] |
Revision as of 20:49, 26 November 2022
Introduction
GY-91 and many other Arduino digital sensors use I2c protocol to send the data using digital protocols.
Theory

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
- Two arduinos as master and slave: https://www.instructables.com/Arduino-and-I2C/
- https://dronebotworkshop.com/i2c-arduino-arduino/