A collection of code samples, unofficial FAQ, and module index for MicroPython, covering hardware drivers, asyncio, GUIs, and embedded systems.
micropython-samples is a curated collection of code examples, tutorials, and resources for MicroPython, aimed at embedded systems and IoT development. It provides practical solutions for hardware interfacing, networking, and GUI creation, along with an unofficial FAQ to address common developer questions. The project bridges gaps in official documentation by offering tested samples and links to supported modules.
Embedded developers and hobbyists working with MicroPython on platforms like Pyboard, ESP32, and RP2040, who need reliable code for drivers, sensors, displays, or asynchronous programming.
Developers choose this for its extensive, well-documented examples and curated module index, which save time compared to scouring disparate sources. It offers proven implementations for complex tasks like sensor fusion, MQTT resilience, and touch GUIs, with an emphasis on practicality and community trust.
Assorted code ideas, unofficial MP FAQ, plus index to my other repositories.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Links to fully supported modules like asyncio drivers and sensor libraries, saving developers from scouring disparate sources for reliable code.
Provides pinout diagrams, driver implementations, and notes for boards like ESP32 and Pyboard D, filling gaps often missing in official documentation.
Includes tested samples for common embedded tasks like mutexes, watchdogs, and rotary encoders, emphasizing reliability in resource-constrained environments.
Offers detailed discussions on topics like resilient WiFi coding and import optimizations, giving developers deeper understanding beyond basic examples.
The README states only egregious bugs are fixed and feature requests may not be accepted, risking outdated or unsupported code for evolving projects.
As a collection of samples, essays, and links rather than a unified framework, it can be challenging to navigate and integrate cohesively.
Many examples, such as the Pyboard mutex and watchdog, are platform-specific, requiring adaptation for other Micropython boards like ESP32 or RP2040.