apc1sensor
2.1.0.0
|
APC1 Air Quality Sensor Bundle - Experience advanced air quality monitoring with our bundle solution, merging the ScioSense APC1 Air Quality sensor and the MIKROE Terminal Click boardâ„¢. This dynamic combination creates a compact and precise system that measures PM levels, VOCs, temperature, humidity, and more. Explore this bundle to build an effective monitoring solution perfect for ensuring healthy indoor spaces or contributing to broader air quality research efforts.
We provide a library for the APC1 Sensor Demo as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for APC1 Sensor Demo driver.
apc1sensor_cfg_setup
Config Object Initialization function. apc1sensor_init
Initialization function. apc1sensor_default_cfg
Demo Default Configuration function. apc1sensor_start_measurement
This function starts measurement by setting the device to measurement mode. apc1sensor_read_info
This function reads the device name, serial number, and firmware version. apc1sensor_read_measurement
This function reads the measurement 64-bytes output structure data. This example demonstrates the use of APC1 Air Quality Sensor Bundle by reading measurement results (PM1.0, PM2.5, PM10, TVOC, eCO2, AQI, temperature, relative humidity, etc.).
The demo application is composed of two sections :
Initializes the driver, performs the sensor default configuration, and reads the sensor name, serial number, and firmware version.
Reads the measurement results and displays all data on the USB UART once per second.
By default, the I2C communication interface is selected in the library,
which is compatible with APC1001J sensor. If you are using an UART version of the sensor (APC1001U) refer to the apc1sensor_drv_interface_sel function description in order to properly change the interface selection in the library.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART Click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.