# Overview

Source: [https://docs.qualcomm.com/doc/80-70014-7/topic/overview.html](https://docs.qualcomm.com/doc/80-70014-7/topic/overview.html)

The Qualcomm® system-on-chip (SoC) includes an application processor that runs the Linux
      operating system, a low-power processor (aDSP), and other processors. The low-power processor
      runs the real time operating system (RTOS) for executing the Qualcomm sensing hub (QSH) use
      cases.

The low-power processor supports the following: 
- GPIOs configurable as serial bus: I^3^C, SPI, I^2^C, and UART.
- Serial buses in low-power mode.
- Dedicated local memory, also known as the island in QSH.

Note: The Qualcomm Linux platform allows you to develop applications for QCS6490 and QCS5430.

## QSH sensors

Source: [https://docs.qualcomm.com/doc/80-70014-7/topic/overview.html](https://docs.qualcomm.com/doc/80-70014-7/topic/overview.html)

The QSH framework supports multiple sensors, and provides access to both hardware-based and
      software-based sensors. The following information explains the functionalities and
      capabilities of hardware-based and software-based sensors:

- Hardware-based sensors are physical sensors that gather the data by directly measuring
        specific environmental properties, such as acceleration, magnetic field, pressure, humidity,
        light, and angular velocity.
- 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 QSH provides a framework to use data from a wide range of sensors. The sensor data is
      useful in fields such as IoT, gaming, health, and fitness. A device can have more than one
      sensor of a given type. For
      example, a flip phone has an accelerometer placed on each of the two planes. The published
      attributes or capabilities distinguishes each accelerometer sensor. You can access the
      availability, attributes, and capabilities of a sensor on the platform using the QSH client
      APIs. Use the same QSH client APIs to get the sensor data from the QSH framework.

The QSH framework APIs consist of QSH client APIs and sensor APIs, which enable you to
      perform the following sensor-related tasks:

- Determine the sensors available on a platform.
- Determine the capabilities of an individual sensor using sensor attributes, such as
        supported sample rate, maximum range, manufacturer, power requirements, and resolution.
- Enable sensors with a sample rate to get the sensor data and provide the data according to
        the configuration.

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,<br>              and z) in m/s^2^ | `sns_accel.proto` |
| Gyroscope | `gyro` | Measures the rate of rotation of a device around each of the 3 physical axes (x,<br>              y, and z) in rad/s | `sns_gyro.proto` |
| Sensor temperature | `sensor_temperature` | Measures the temperature of the sensor in degrees Celsius (°C) | `sns_sensor_temperature.proto` |
| Magnetometer | `mag` | Measures the ambient magnetic field for all the 3 physical axes (x, y, and z) in<br>              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 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 degrees Celsius (°C) | `sns_ambient_temperature.proto` |
| Hall | `hall` | Measures the magnetic field and provides a magnet *near/far*<br>              indication | `sns_hall.proto` |
| Capacitive proximity | `sar` | Detects human object proximity using change in capacitance and reports *near/                far* events | `sns_sar.proto` |

Last Published: Jul 12, 2024

[Next Topic
Getting Started](https://docs.qualcomm.com/bundle/publicresource/80-70014-7/topics/get_started.md)