https://github.com/brenordv/micropython-snippets
Collection of libraries and helpers for Micropython + Raspberry Pi Pico
https://github.com/brenordv/micropython-snippets
am2302 apds9960 dht22 ds18x20 hc-sr501 hy-srf05 iot kyes516 micropython micropython-rpi-pico sg90-servo ssd1306 vl6180x yx5200
Last synced: 4 months ago
JSON representation
Collection of libraries and helpers for Micropython + Raspberry Pi Pico
- Host: GitHub
- URL: https://github.com/brenordv/micropython-snippets
- Owner: brenordv
- Created: 2024-08-11T19:28:16.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-15T21:48:36.000Z (over 1 year ago)
- Last Synced: 2025-03-23T15:24:51.826Z (about 1 year ago)
- Topics: am2302, apds9960, dht22, ds18x20, hc-sr501, hy-srf05, iot, kyes516, micropython, micropython-rpi-pico, sg90-servo, ssd1306, vl6180x, yx5200
- Language: Python
- Homepage:
- Size: 17 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# MicroPython Snippets
I save snippets of code in this repository that I use when working with MicroPython.
To understand what each snippet does, please refer to the README file inside the corresponding folder.
One of the main reasons I created this repository is that I frequently lose code from previous projects and have to rewrite everything from scratch. To avoid this, I decided to create some well-structured code snippets that I can reuse in future projects. I hope this repository helps you as much as it helps me.
It's worth noting that not all code snippets are related to sensors. Some are more generic or encapsulate specific functionalities, such as loading a configuration file, handling WiFi connections, making HTTP requests, and more.
## Important Notes
- Unless specified otherwise, all examples assume MicroPython v1.23.0 (2024-06-02) running on a Raspberry Pi Pico.
- All snippets and classes are provided **AS-IS**. Although I have tested them, they have not undergone thorough testing. Use them at your own risk. No warranty or guarantee is provided.
- Each snippet folder includes a Pico pinout image, so everything you need is inside the main folder of the sensor you are working with.