Home

Awesome

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:

<img src="https://lemariva.com/storage/app/uploads/public/5e8/a10/3a0/5e8a103a0e68e594189329.jpg" width="400px" style="max-width:400px">
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:

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 <a href="https://github.com/GoogleCloudPlatform/iot-core-micropython" target="_blank">GoogleCloudPlatform/iot-core-micropython</a>