Community
cancel
Showing results for 
Search instead for 
Did you mean: 
sk23
New Contributor II
932 Views

Plug-and-Play Approach Based on the I2C

Jump to solution

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).

0 Kudos
1 Solution
idata
Community Manager
47 Views

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 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.

View solution in original post

1 Reply
idata
Community Manager
48 Views

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 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.

View solution in original post

Reply