Ribbit-Network / ribbit-network-frog-hardware

The sensor for the world's largest crowdsourced network of open-source, low-cost, GHG Gas Detection Sensors.
https://www.ribbitnetwork.org/
MIT License
96 stars 26 forks source link

Add a Barometer to the Sensor #15

Closed keenanjohnson closed 3 years ago

keenanjohnson commented 3 years ago

According to the Interface Description for the SCD30, the sensor can provide a higher accuracy CO2 PPM when a barometric pressure measurment is provided.

A suitable barometer should be picked out for the system and trialed to see if the accuracy improves.

See section 1.4.8 of the interface description, also attached here: image

Sensirion_CO2_Sensors_SCD30_Interface_Description.pdf

keenanjohnson commented 3 years ago

I've just purchased a few of these simple barometeric pressure sensors and will test when they arrive.

https://www.adafruit.com/product/4494

keenanjohnson commented 3 years ago

The barometer has arrived. I'm going to install for testing shortly.

E8J7LJ6VEAUZ_Il

lwbantoto commented 3 years ago

Awesome! How are you planning to test the barometer?

keenanjohnson commented 3 years ago

Right now I’m planning on taking two sensors right next to each other and comparing the barometer compensated sensor to the non compensated one.

Hopefully there will be a sufficient noise reduction or shift in the compensated sensor!

On Fri, Aug 6, 2021 at 9:09 PM Lance Bantoto @.***> wrote:

Awesome! How are you planning to test the barometer?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/Ribbit-Network/ribbit-network-sensor/issues/15#issuecomment-894601420, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATQ3FSNUVEV5NPGCZUOPWTT3SWYNANCNFSM5BNWBAUQ .

keenanjohnson commented 3 years ago

I've wired the sensor and integrated in software: https://github.com/Ribbit-Network/ribbit-network-frog-sensor/blob/912850c6732eaf6c82549f14c60ef1ddb7b91eb2/software/co2/co2.py#L101-L102

I don't see a noticeable difference in the noise of the sensor based on my testing, however, I think this will make a big difference for sensors that exist at different altitudes. I'm making the call to include it in the sensor :)