Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
netmaniac /
Last active Feb 4, 2020
Nova SDS011 sensor. Code is free to use in own projects, but I don't provide any support nor don't make me liable if it is not working :)
# -*- coding: UTF-8 -*-
import serial, time, struct, array
from datetime import datetime
ser = serial.Serial()
ser.port = "/dev/ttyUSB0" # Set this to your serial port
ser.baudrate = 9600
You can’t perform that action at this time.