en:i2c
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:i2c [2014/12/20 17:54] – further translation fluktuacia | en:i2c [2014/12/21 00:39] – [Linking of I²C devices] kaklik | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== I²C bus as an MLAB's component ====== | ====== I²C bus as an MLAB's component ====== | ||
- | [[http:// | + | [[http:// |
- | Thanks to an advancement in computer technologies [[cs:arm|new possibilities]] arise allowing the use of the bus for direct communication between sensors and Linux systems. Furthermore, | + | Thanks to an advancement in computer technologies [[en:arm|new possibilities]] arise allowing the use of the bus for direct communication between sensors and Linux systems. Furthermore, |
- | + | ||
===== Linking of I²C devices ===== | ===== Linking of I²C devices ===== | ||
Line 13: | Line 11: | ||
Although the I²C bus was originally designed to link devices on small scales (within the dimensions of PCB), using certain techniques it is possible to enlarge its range to tens of meters (( [[http:// | Although the I²C bus was originally designed to link devices on small scales (within the dimensions of PCB), using certain techniques it is possible to enlarge its range to tens of meters (( [[http:// | ||
- | Linking of I²C devices within MLAB is implemented on several levels according to extent of a network. Locally (on scale of several meters), the modules are connected by MLAB cables and separated by [[cs:i2chub]]. This module also solves the conversion between logic 3.3V and +5V. | + | Linking of I²C devices within MLAB is implemented on several levels according to extent of a network. Locally (on scale of several meters), the modules are connected by MLAB cables and separated by [[en:i2chub]]. This module also solves the conversion between logic 3.3V and +5V. |
- | Over more extensive distances the bus is linked through shielded signal cables ending in female connectors and connected to [[cs: | + | Over more extensive distances the bus is linked through shielded signal cables ending in female connectors and connected to [[en:uniserial|UniSerial]] module. This module also contains a basic surge protection and most importantly acts as a mechanical bridge between 'heavy external wiring' |
In the case of extensive networks I²C is replaced by other physical layer (CAN, Ethernet) that interconnects individual I²C network segments. | In the case of extensive networks I²C is replaced by other physical layer (CAN, Ethernet) that interconnects individual I²C network segments. | ||
Line 25: | Line 23: | ||
Pymlab represents a software package that enables a creation of network made of I²C devices and modules, which serve as routing points. It defines the structure of a network and addresses of individual nodes in a source file of a control program. Individual points in the network can than be accessed using simple python commands. | Pymlab represents a software package that enables a creation of network made of I²C devices and modules, which serve as routing points. It defines the structure of a network and addresses of individual nodes in a source file of a control program. Individual points in the network can than be accessed using simple python commands. | ||
- | The installation of the [[cs: | + | The installation of the [[en: |
sudo pip install pymlab | sudo pip install pymlab | ||
Line 51: | Line 49: | ||
* [[http:// | * [[http:// | ||
- | These share a common problem with a quality of drivers. Furthermore, | + | These share a common problem with a quality of drivers. Furthermore, |
==== USB HID ==== | ==== USB HID ==== | ||
- | To connect without having to use drivers designed for specific hardware [[http:// | + | To connect without having to use drivers designed for specific hardware [[http:// |
en/i2c.txt · Last modified: 2014/12/21 10:42 (external edit)