[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
interfacing_i2c_devices [2014/04/04 09:23 (UTC)] – [Communicating With An I2C Device] louigi600 | howtos:hardware:arm:interfacing_i2c_devices [2023/05/28 12:39 (UTC)] – [Detecting Connected Devices] louigi600 | ||
---|---|---|---|
Line 18: | Line 18: | ||
===== Detecting Connected Devices ===== | ===== Detecting Connected Devices ===== | ||
- | There are probably many ways to determine what's connected to an I2C bus, I chose to use stuff out of the [[http:// | + | There are probably many ways to determine what's connected to an I2C bus, I chose to use stuff out of the [[http:// |
First thing you want to know is what I2C busses are present on your system as there may be more then one and looking in the wrong bus may be frustrating: | First thing you want to know is what I2C busses are present on your system as there may be more then one and looking in the wrong bus may be frustrating: | ||
Line 258: | Line 258: | ||
====== Voltage Level Shifting ====== | ====== Voltage Level Shifting ====== | ||
You may end up with heterogeneous voltage level devices and if you have many devices the correct way to work around this problem is by using bidirectional I2C voltage level shifters like the [[ http:// | You may end up with heterogeneous voltage level devices and if you have many devices the correct way to work around this problem is by using bidirectional I2C voltage level shifters like the [[ http:// | ||
- | This is how I connected my 5v IMU pcb to a 3.3v I2C bus on my RaspberryPI: | + | This is how I connected my 5v IMU pcb to a 3.3v I2C bus on my RaspberryPI: |
====== Sources ====== | ====== Sources ====== |