I2C and sensors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-19 8:08 AM
Hello, I have a STM32F100RBT6B board, and I should use some sensors
LSM303D
with I2C
.
Just a question: wich is the maximum number of sensors that I can use with an I2C interface? #sensor #i2c- Labels:
-
I2C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-19 8:18 AM
wich is the maximum number of sensors that I can use with an I2C interface?
Will be limited by the number of unique addresses you can assign to the devices you plan on using, in the case of the part you mentioned that would be TWO, controlled by the SA0 pinUp vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-19 8:23 AM
Thanks for the answer. So if I would like to control 4 sensors, should I use both I2C interface? In this case, is it impossible to control 5 sensor?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-19 8:46 AM
So if I would like to control 4 sensors, ...
Not correct. I2C uses the LSB to differ between read and write access, so you can attach only two devices to one bus without interference. That is even described in the LSM303D datasheet (see sect. 6.1.1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-19 9:00 AM
Thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-19 9:06 AM
Thank you very much
