# Overview Note The Qualcomm® sensing hub (QSH) is available only on [QCS5430](https://www.qualcomm.com/products/internet-of-things/industrial/industrial-automation/qcs5430) and [QCS6490](https://www.qualcomm.com/products/internet-of-things/industrial/building-enterprise/qcs6490). The Qualcomm® system-on-chip (SoC) includes an application processor that runs the Linux operating system, a low-power application digital signal processor (aDSP), and other processors. The low-power processor runs the real-time operating system (RTOS) for executing the QSH use cases. The low-power processor supports the following for QSH operations: - GPIOs configurable as serial bus: serial peripheral interface (SPI), inter-integrated circuit (I^2^C), improved I^2^C (I^3^C), and universal asynchronous receiver/transmitter (UART). - Serial buses in low-power mode. - Dedicated local memory, also known as the island in QSH. ## QSH sensors The QSH framework provides access to both hardware-based and software-based sensors for the following functionalities and capabilities: - Hardware-based sensors are physical sensors that gather data by directly measuring specific environmental properties, such as acceleration, magnetic field, pressure, humidity, light, and angular velocity. The following table lists the hardware-based sensors that the QSH framework supports: Table : Hardware-based sensors | Sensor name | Sensor type | Description | Proto API | | --- | --- | --- | --- | | Accelerometer | `accel` | Measures the acceleration applied to a device on all the 3 physical axes (x, y, and z) in meter/second square (m/s2) | `sns_accel.proto` | | Gyroscope | `gyro` | Measures the rate of rotation of a device around each of the 3 physical axes (x, y, and z) in radians/second (rad/s) | `sns_gyro.proto` | | Sensor temperature | `sensor_temperature` | Measures the temperature of the sensor in degreesCelsius (°C) | `sns_sensor_temperature.proto` | | Magnetometer | `mag` | Measures the ambient magnetic field for all the 3 physical axes (x, y, and z) in microtesla (μT) | `sns_mag.proto` | | Proximity | `proximity` | Measures the proximity of an object and provides *near/far* events | `sns_proximity.proto` | | Ambient light | `ambient_light` | Measures the ambient light level illumination in lux (lx) | `sns_ambient_light.proto` | | Pressure | `pressure` | Measures the ambient air pressure in hectoPascal (hPa) | `sns_pressure.proto` | | Humidity | `humidity` | Measures the relative ambient humidity in percentage (%) | `sns_humidity.proto` | | Ambient temperature | `ambient_temperature` | Provides the ambient room temperature in degreesCelsius (°C) | `sns_ambient_temperature.proto` | | Hall | `hall` | Measures the magnetic field and provides a magnet *near/far* indication | `sns_hall.proto` | | Capacitive proximity | `sar` | Detects human object proximity using change in capacitance and reports *near/ far* events | `sns_sar.proto` | - Software-based sensors, also known as virtual sensors, are the algorithms that gather data from one or more physical sensors and generate the intended output. The common examples are gravity, step counter, and game rotation vector. The following table lists the software-based sensors that the QSH framework supports: Table : Software-based sensors | Sensor name | Sensor type | Proto API | Description | | --- | --- | --- | --- | | Absolute motion detector | `amd` | `sns_amd.proto` |
Reports a stationary state event when the device is at absolute
rest. For example, the device is placed on a stationary object, such as desk or table.
Reports a moving state event when the device transitions from absolute rest to moving state.
For example, the device is being lifted from a desk or table.
Uses the accelerometer motion detect interrupts to reduce
the power.
Triggers when detecting a significant motion - a motion
that might lead to a change in the user location. For
example, walking, biking, or sitting in a moving car,
coach, or train.
The following examples do not trigger a significant
motion:
The device is in a pocket and the person is not
moving.
The device is on a table and the table shakes a bit.
Reporting mode: Single response, after the notification
sensor automatically disables itself.
A low-power dynamic calibration algorithm for gyroscopes.
Validated across multiple gyroscope parts from different
vendors.
A low-power dynamic calibration algorithm for the magnetometer sensor.
Validated across multiple magnetometer parts from
different vendors.
Reports the orientation of the device that is relative to
an unspecified coordinate frame.
Obtains the orientation through integration of
accelerometer and gyroscope readings. Therefore, the
Y-axis does not point north; instead, it points to an arbitrary
reference.
Provides a three-dimensional vector indicating the
direction and magnitude of gravity.
Typically, this sensor determines the relative
orientation of the device in space.
Reports the orientation of the device relative to the East-North-Up coordinates frame.
Obtains orientation through the integration of accelerometer, gyroscope, and magnetometer readings.
Tracks the distance in meters, and reports the client when the requested distance is covered.
The client can query the accumulated distance anytime before the final distance is reached.