PM2.5 Sensor with Clue Plotter example (CircuitP:ython)

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jbritton
 
Posts: 3
Joined: Sat Aug 07, 2010 12:32 am

PM2.5 Sensor with Clue Plotter example (CircuitP:ython)

Post by jbritton »

Starting with the plotter example, I wanted to add a sensor, not on the board. Using a PM2.5 external air quality sensor, I got it to plot, but I had to use the _i2c internal object of the clue object. First I want to suggest that the _i2c object be a public object. I know in reality it's just the _ but it might be useful to have it in the documentation that that's how you do it.

And the second question is, I imagine someone might find this useful if just to see how it's done, does adafruit allow PR's on examples?

For anyone curious, i instantiated the pm25 object with:
pm25 = PM25_I2C(clue._i2c, None)

then just read it with:
aqdata = pm25.read()

User avatar
kevinjwalters
 
Posts: 1025
Joined: Sun Oct 01, 2017 3:15 pm

Re: PM2.5 Sensor with Clue Plotter example (CircuitP:ython)

Post by kevinjwalters »

You could describe it and:

Locked
Please be positive and constructive with your questions and comments.

Return to “CLUE Board”