Skip to content

Connect an M5Stack ATOM running MicroPython to the Google Cloud Platform (GCP) to collect air-quality variables obtained from reading sensors.

License

Notifications You must be signed in to change notification settings

lemariva/uPyIoT

Repository files navigation

uPyIoT

Spring in Europe has already started and many people are having allergy problems. Therefore, I thought of making a project to measure air quality and collect this data to train a model that can tell me, when is the best time to open my apartment windows to let some fresh air into the apartment and thus minimize possible allergy attacks and sneezing! Like almost everyone right now (thanks to COVID-19), I'm working from home and this beautiful photo shows the possible causes of allergies:

My apartment's courtyard

This code allows you to connect an M5Stack ATOM running MicroPython to the Google Cloud Platform (GCP) to collect air-quality variables obtained from reading two sensors:

  • BME680: a gas sensor that integrates high-linearity and high-accuracy gas, pressure, humidity and temperature sensors.
  • PMSA003A: a digital and universal particle concentration sensor, which can be used to obtain the number of suspended particles in the air, i.e. the concentration of particles, and output them to a digital interface.

Tutorial

Check out the tutorial: MicroPython: Google Cloud Platform getting data from an M5Stack ATOM sensing the air-quality

Video

Check out the video:

Google Cloud Platform getting data from an M5Stack ATOM sensing the air-quality

References

Connection to GCP taken from GoogleCloudPlatform/iot-core-micropython

Releases

No releases published

Packages

No packages published

Languages