Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lemariva/upyiot
Connect an M5Stack ATOM running MicroPython to the Google Cloud Platform (GCP) to collect air-quality variables obtained from reading sensors.
https://github.com/lemariva/upyiot
bme680 google-cloud-platform google-iot-core m5stack m5stack-atom micropython pmsa003
Last synced: 13 days ago
JSON representation
Connect an M5Stack ATOM running MicroPython to the Google Cloud Platform (GCP) to collect air-quality variables obtained from reading sensors.
- Host: GitHub
- URL: https://github.com/lemariva/upyiot
- Owner: lemariva
- License: apache-2.0
- Created: 2020-03-28T23:25:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-11T22:30:47.000Z (almost 4 years ago)
- Last Synced: 2024-04-22T12:33:19.318Z (8 months ago)
- Topics: bme680, google-cloud-platform, google-iot-core, m5stack, m5stack-atom, micropython, pmsa003
- Language: Python
- Homepage: https://lemariva.com/blog/2020/04/micropython-google-cloud-platform-getting-data-m5stack-atom-sensing-air-quality
- Size: 75.2 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://lemariva.com/blog/2020/04/micropython-google-cloud-platform-getting-data-m5stack-atom-sensing-air-quality)
## Video
Check out the video:[![Google Cloud Platform getting data from an M5Stack ATOM sensing the air-quality](https://img.youtube.com/vi/DTF0sHlUx7Y/0.jpg)](https://www.youtube.com/watch?v=DTF0sHlUx7Y)
## References
Connection to GCP taken from GoogleCloudPlatform/iot-core-micropython