This repository contains a collection of MicroPython example code for various sensors, actuators, modules, and functionality.
The examples are organized into the following sections:
Covers basic MicroPython functionality like digital I/O, analog input, serial print, etc.
- See here for more details.
Digital input and output examples like blinking LEDs, reading buttons, PWM, etc.
- See here for more details.
Reading analog data, performing voltage conversion, input smoothing, etc.
- See here for more details.
Basic control circuit examples like using internal pullup resistors.
- See here for more details.
Example code using add-on MicroPython modules for various sensors, displays, motors, and more.
- See here for more details.
Example code for MicroPython OS functionality like filesystem access, directories, etc.
- See here for more details.
Examples of my own written lib including the api call, drawing eye, etc.
Example of external functionality like gpio serial control, etc.
- See here for more details.
- MicroPython board (tested on ESP32, ESP8266)
- Components required for each example
Contributions welcome! Please open an issue or PR for any bugs or improvements.