Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

PM2.5 Sensor with Clue Plotter example (CircuitP:ython)
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

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

by jbritton on Sun Jan 03, 2021 9:37 pm

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()

jbritton
 
Posts: 3
Joined: Sat Aug 07, 2010 12:32 am

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

by kevinjwalters on Thu Jan 14, 2021 11:17 am

You could describe it and:


kevinjwalters
 
Posts: 960
Joined: Sun Oct 01, 2017 3:15 pm

Please be positive and constructive with your questions and comments.