1 Reply Latest reply on Jun 24, 2016 9:11 AM by Intel Corporation

    Plug-and-Play Approach Based on the I2C

    IoT_srinivas

      Hi

       

      Plug-and-play architectures can reduce the timeline for constructing,interface based on the popular inter-integrated circuit (I2C) standard.

      ST’s sensor portfolio includes MEMS (microelectromechanical  sensors including accelerometers, gyroscopes, digital compasses, inertial modules, pressure sensors, humidity sensors and microphones), smart sensors and sensor hubs, UV index sensors, temperature sensors and touch sensors.

       

      My idea is i want to use plug and play i2c devices on Intel Edsion (usb devise similar to windows 7 ).

      Can you provide the  details how we can achieve in Yoctol linux( on Intel Edsion).

        • 1. Re: Plug-and-Play Approach Based on the I2C
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hello IoT_srinivas,
           
          If the devices you would like to use with Edison are to be connected through USB, then you probably need to find its driver and build it into Edison's image in order to get the Plug-and-Play features to work. Plug-and-Play devices in Windows are usually USB devices that have their driver stored within them and once connected to a host machine, they automatically install it or the OS includes the drivers by default (for example, mousses and keyboards).
           
          If you would like to plug simple I2C devices, like the sensors you mention above, then you will have to create a script that is constantly scanning for I2C devices and that does your desired actions upon the detection of the I2C devices. This approach would need you to create a system service for the script I mentioned above.
           
          If you would like to learn how to create system services and how to build your own image in order to include drivers into it, I suggest you to read the following documents:
           
          https://communities.intel.com/docs/DOC-111103
          http://www.intel.com/support/edison/sb/CS-035278.htm
          http://www.yoctoproject.org/docs/1.7.2/mega-manual/mega-manual.html
           
          I hope this information helps you.
          -Peter.