Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/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
driver embedded particulates-sensors pm25 sen44 sensirion sensirion-embedded-drivers sensor shdlc sps30 uart
Last synced: 2 months ago
JSON representation
Embedded UART Driver for Sensirion Particulate Matter Sensors - Download the Zip Package from the Release Page
- Host: GitHub
- URL: https://github.com/Sensirion/embedded-uart-sps
- Owner: Sensirion
- License: bsd-3-clause
- Created: 2018-08-29T07:23:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-19T13:18:39.000Z (9 months ago)
- Last Synced: 2024-07-31T20:40:18.968Z (5 months ago)
- Topics: driver, embedded, particulates-sensors, pm25, sen44, sensirion, sensirion-embedded-drivers, sensor, shdlc, sps30, uart
- Language: C
- Homepage: https://github.com/Sensirion/embedded-uart-sps/releases
- Size: 131 KB
- Stars: 44
- Watchers: 15
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-air-quality - Embedded UART Driver for Sensirion Particulate Matter Sensors
README
# embedded-uart-sps [![CircleCI](https://circleci.com/gh/Sensirion/embedded-uart-sps.svg?style=shield)](https://circleci.com/gh/Sensirion/embedded-uart-sps) [![GitHub license](https://img.shields.io/badge/license-BSD3-blue.svg)](https://raw.githubusercontent.com/Sensirion/embedded-uart-sps/master/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](https://github.com/Sensirion/embedded-sps) repository.## Clone this repository
```
git clone https://github.com/Sensirion/embedded-uart-sps.git
```## Repository content
* `embedded-uart-common` submodule repository for common UART HAL
* `sps30` SPS30 driver## 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:* `sensirion_arch_config.h` architecture specifics, you need to specify the
integer sizes
* `sensirion_uart_implementation.c` functions for UART communication
Alternatively ready-to-use implementations are available in the
`sample-implementations` folder## Building the driver
1. Step into your desired directory (e.g.: `release/sps30-uart`)
2. Adjust sensirion\_arch\_config.h if the `` 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](docs/getting-started-on-the-raspberry-pi.md)
---