Skip to content

wallarug/CircuitPython_SDS011

Repository files navigation

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages