wallarug / CircuitPython_SDS011

A CircuitPython Driver for the SDS011 Pollution Sensor

Repository from Github https://github.comwallarug/CircuitPython_SDS011Repository from Github https://github.comwallarug/CircuitPython_SDS011

Introduction

Documentation Status Discord Build Status

CircuitPython helper library for SDS011 Pollution Sensor

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Usage Example

import time import board import busio

import roboticsmasters_SDS011

uart = busio.UART(board.GROVE_TX, board.GROVE_RX, baudrate=9600)

sensor = roboticsmasters_SDS011.SDS011(uart)

while True:
data = sensor.query() print(data) time.sleep(5)

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Documentation

For information on building library documentation, please check out this guide.

About

A CircuitPython Driver for the SDS011 Pollution Sensor

License:MIT License


Languages

Language:Python 100.0%