This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Multi-Sensor Network Using I2C

Hi, i just want some help for how to initialize the code for Multi-sensor network Using C-code..How can i connect two different sensor to communicate? I know how to configure SDL and SCL GPIO pins and I2C configuration. But should i need to configure each sensor for different GPIO pins and I2C configuration or just one configuration will work? Please anybody has any idea appreciate it....The sensors are Maxbotix MB1222 I2CXL-MaxSonar®-EZ2 .....

Parents
  • If you maybe startup by reading a bit about I2C, you should quickly pick up how you address I2C devices and how you use multiple sensors. That's really part of the basic knowledge when using I2C.

    Note that the two sensors doesn't communicate with each other - your processor is the master.

Reply
  • If you maybe startup by reading a bit about I2C, you should quickly pick up how you address I2C devices and how you use multiple sensors. That's really part of the basic knowledge when using I2C.

    Note that the two sensors doesn't communicate with each other - your processor is the master.

Children