Libraries

Built-ins are documented under language / libraries. This page is everything you add. The taxonomy follows awesome-micropython (CC0). Check each repo’s licence before you vendor it — the core is MIT; drivers often are not.

On the board

Sensors

BME280 / BME680, DHT11/22, MPU6050 / ICM-20948, VL53L0X, BH1750, SCD30/SCD41, PMS5003, DS18B20, HX711. Prefer I2C drivers that use machine.I2C rather than bit-banged copies of Adafruit CircuitPython helpers, unless that is the only maintained code.

Displays

SSD1306, SH1106, ST7735, ST7789, ILI9341, e-ink (SSD1680 and friends), MAX7219 matrices, WS2812 / APA102. framebuf is the built-in drawing layer for 1-bit panels.

Communications

MQTT (umqtt.simple, mqtt_as), HTTP clients, LoRa (SX127x), nRF24L01, CAN helpers, Modbus, OneWire, DMX. BLE profiles sit on aioble.

Storage

SD cards via machine.SDCard, I2C EEPROM, SPI flash, littlefs versus FAT. For data that must survive rebuilds, keep it off the firmware partition.

Audio

I2S microphones and DACs, tone on PWM, MP3/WAV decoders where RAM allows (ESP32 and i.MX RT, not ESP8266).

Motors and motion

H-bridges, steppers (A4988, TMC2208), servos on PWM, encoders (now also a growing machine.Encoder API).

IoT and cloud

AWS / Azure / GCP samples exist but age quickly. MQTT to your own broker is the durable pattern. Home Assistant usually via MQTT discovery.

AI / ML

Tiny models only. ulab (numpy-shaped arrays), CMSIS-NN style ports, and vendor examples for ESP-DL. This is not a laptop PyTorch environment.

Utilities

Logging, config parsers, schedulers, mip packages in micropython-lib (collections, datetime extras, requests). Install with mpremote mip install name.

Full list with links: mcauser/awesome-micropython.