EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / i2c mesh network / know thy neighbour

i2c mesh network / know thy neighbour

|

Miscellaneous › Others › i2c mesh network / know thy neighbour

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 6 months ago by Prabakaran P M.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 1, 2015 at 1:30 pm #3954
    Howard
    Participant

    Dear all,

     

    I am new to this forum and have a question that has been bothering me for a while.

    My approach might be wrong and your advise would be much appreciated.

     

    I am trying to build a network of components with unique IDs where I can address on component and request its neighbouring component IDs. The network should work in a 'plug and play' manner.

     

    I have been exploring the idea of using I2C as they are simple components that can have a unique identifier and a value that can be read or written. On connecting a component – is it possible to pass this component's ID or values to its neighbouring I2C?

     

    Basic example:

    I2C/A (id: A, value: 0)

    I2C/B (id: B, value: 0)

     

    1. I2C is connected to an arduino

    2. I2C/A is connected to I2C/B

    3. I2C/A transfers its ID to I2C/B resulting in I2C/B (id: B, value: A)

    4. I2C/B’s value is read via arduino as A.

    September 1, 2015 at 2:00 pm #13251
    Prabakaran P M
    Participant

    Hi Howard,

    Actually i2c is a master/slave protocol. 

    Master This is the device that generates clock, starts communication, sends I2C commands and stops communication

    Slave This is the device that listens to the bus and is addressed by the master

    Multi-master I2C can have more than one master and each can send commands

    Arbitration A process to determine which of the masters on the bus can use it when more masters need to use the bus

    You can set the address of slave by the master so your approach is correct but the explanation and the implementation steps are slightly different.

     

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Phone to op amp circuit? March 14, 2026
  • ESP32 battery-powered IoT project March 14, 2026
  • Want Thermal Camera with Fixed Thermal Span option March 14, 2026
  • Very Curious Issue With DS3231 RTC Clock March 14, 2026
  • Fender rumble 100 base amp, power, light and overdrive light flash repeatedly when power turned on no output March 14, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise