162306a36Sopenharmony_ci.. include:: <isonum.txt> 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci============ 462306a36Sopenharmony_ciIntroduction 562306a36Sopenharmony_ci============ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ciThe main purpose of the Industrial I/O subsystem (IIO) is to provide support 862306a36Sopenharmony_cifor devices that in some sense perform either 962306a36Sopenharmony_cianalog-to-digital conversion (ADC) or digital-to-analog conversion (DAC) 1062306a36Sopenharmony_cior both. The aim is to fill the gap between the somewhat similar hwmon and 1162306a36Sopenharmony_ci:doc:`input <../input>` subsystems. Hwmon is directed at low sample rate 1262306a36Sopenharmony_cisensors used to monitor and control the system itself, like fan speed control 1362306a36Sopenharmony_cior temperature measurement. :doc:`Input <../input>` is, as its name suggests, 1462306a36Sopenharmony_cifocused on human interaction input devices (keyboard, mouse, touchscreen). 1562306a36Sopenharmony_ciIn some cases there is considerable overlap between these and IIO. 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciDevices that fall into this category include: 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci* analog to digital converters (ADCs) 2062306a36Sopenharmony_ci* accelerometers 2162306a36Sopenharmony_ci* capacitance to digital converters (CDCs) 2262306a36Sopenharmony_ci* digital to analog converters (DACs) 2362306a36Sopenharmony_ci* gyroscopes 2462306a36Sopenharmony_ci* inertial measurement units (IMUs) 2562306a36Sopenharmony_ci* color and light sensors 2662306a36Sopenharmony_ci* magnetometers 2762306a36Sopenharmony_ci* pressure sensors 2862306a36Sopenharmony_ci* proximity sensors 2962306a36Sopenharmony_ci* temperature sensors 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ciUsually these sensors are connected via :doc:`SPI <../spi>` or 3262306a36Sopenharmony_ci:doc:`I2C <../i2c>`. A common use case of the sensors devices is to have 3362306a36Sopenharmony_cicombined functionality (e.g. light plus proximity sensor). 34