Close

Added USB-C adapter / bridge

A project log for USB connected Laser particle detector for IAQ

Measure air particulate density levels for PM1 PM2.5 and PM10 on Raspberry Pi and OSx

carboncycleCarbonCycle 11/19/2020 at 00:200 Comments

Updated the CircuitPython repo to include a new option for this sensor.   The sensor does not output ASCII over serial, rather it is binary data.  This can lead to discomfort for some users who would rather have formatted ASCII that can be immediately consumed in a terminal or parsed by a program.    To address this use-case, I selected a device that is inexpensive ($5) yet has enough resources to host a CircuitPython interpreter and space left over to perform the binary to ASCII conversion.    A user may customize the python code to their desired behavior, including fan management.

A bonus ( for me ) is the USB-C port that is native on my MacPro.

XIAO CircuitPython code

Discussions