Sensirion / embedded-uart-sps

Embedded UART Driver for Sensirion Particulate Matter Sensors - Download the Zip Package from the Release Page
https://github.com/Sensirion/embedded-uart-sps/releases
BSD 3-Clause "New" or "Revised" License
44 stars 24 forks source link
driver embedded particulates-sensors pm25 sen44 sensirion sensirion-embedded-drivers sensor shdlc sps30 uart

embedded-uart-sps CircleCI GitHub license

This repository contains the embedded UART driver sources for Sensirion's SPS product line.

The i2c driver of the SPS is available in the embedded-sps repository.

Clone this repository

git clone https://github.com/Sensirion/embedded-uart-sps.git

Repository content

Collecting resources

make release

This will create a release folder with the necessary driver files in it, including a Makefile. That way, you have just ONE folder with all the sources ready to build your driver for your platform.

Files to adjust (from embedded-uart-common)

You only need to touch the following files:

Building the driver

  1. Step into your desired directory (e.g.: release/sps30-uart)
  2. Adjust sensirion_arch_config.h if the <stdint.h> header is not available
  3. Implement necessary functions in *_implementation.c
  4. make

Getting Started on the Raspberry Pi 3

See docs/getting-started-on-the-raspberry-pi.md