{"id":13802692,"url":"https://github.com/agners/scd30logger","last_synced_at":"2025-03-31T00:16:56.930Z","repository":{"id":138111379,"uuid":"193564485","full_name":"agners/scd30logger","owner":"agners","description":"Sensirion SCD30 based CO2, Humidity and Temperature Logger for MicroPython","archived":false,"fork":false,"pushed_at":"2019-06-24T19:14:35.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-02T00:35:56.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agners.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-06-24T19:14:02.000Z","updated_at":"2019-06-24T19:14:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"369f2aec-8418-4a0d-859d-d62069886cd7","html_url":"https://github.com/agners/scd30logger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agners%2Fscd30logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agners%2Fscd30logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agners%2Fscd30logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agners%2Fscd30logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agners","download_url":"https://codeload.github.com/agners/scd30logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246395594,"owners_count":20770243,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T00:01:50.377Z","updated_at":"2025-03-31T00:16:56.889Z","avatar_url":"https://github.com/agners.png","language":"Python","readme":"# SCD30 Logger\n\nCO2, Humidity and Temperature Logger using Sensirion SCD30 written in Python 3\nfor MicroPython. Continously logs date, time and sensor data on a file on the\nSD card. The SD card as well as the sensor module is turned off to conserve\nbattery power (further improvements possible by using RTC wakeup instead of a\nsimple sleep).\n\n## Getting Started\n\n### Prerequisites\n\n* Sensirion SCD30 Sensor\n* Pyboard D (other MicroPython boards should work with some adjustments)\n\n### Wiring\n\n| Pyboard       | SCD30         |\n| ------------- |---------------|\n| X15 (3V3)     | VDD           |\n| X14 (GND)     | GND           |\n| X9            | TX/SCL        |\n| X10           | RX/SDA        |\n\nI recommend to also connect VBAT (Y15) to a backup battery. This makes sure that\nthe RTC keeps time when disconnecting the board and connecting it someplace\nelse.\n\n\n### Installing\n\nCopy main.py and lib/scd30.py on a SD-card and plug it into the board or\nthe internal flash (via USB).\n\nThe logger uses the RTC to write down when the measurement has been taken. Make\nsure to set date and time correctly:\n\n```python\nfrom pyb import RTC\nrtc = RTC()\nrtc.datetime((2019, 6, 12, 3, 8, 49, 20, 0)) # y, m, d, weekday, h, m s, ms\nrtc.datetime()\n```\n\n## Built With\n\n* [MicroPython](http://micropython.org/)\n* [SCD30](https://www.sensirion.com/en/environmental-sensors/carbon-dioxide-sensors-co2/)\n- SCD30 Sensor Module (available from various suppliers)\n\n## License\n\nThis project is licensed under the MIT License - see the\n[LICENSE](LICENSE) file for details\n\n","funding_links":[],"categories":["Development"],"sub_categories":["Logging"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagners%2Fscd30logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagners%2Fscd30logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagners%2Fscd30logger/lists"}