Skip to content

Instantly share code, notes, and snippets.

Geoff Watts geoffwatts

Block or report user

Report or block geoffwatts

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@geoffwatts
geoffwatts / sds011.py
Created Jan 25, 2016
Read an SDS011 Laser PM2.5 Sensor (Nova PM Sensor) with Python
View sds011.py
#!/usr/bin/python
# -*- coding: UTF-8 -*-
import serial, time, struct
ser = serial.Serial()
ser.port = "/dev/cu.wchusbserial1410" # Set this to your serial port
ser.baudrate = 9600
ser.open()
You can’t perform that action at this time.