Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.73 KB

README.rst

File metadata and controls

61 lines (40 loc) · 1.73 KB

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.