MicroPython turns any ESP32 or Pico into a board you can program in plain Python — no toolchain, just a REPL. These tutorials cover environment setup with Thonny and VS Code, sensor drivers, WiFi and MQTT, and the patterns that make embedded Python reliable. Pair them with a MicroPython-ready board below.
Shop the parts used in these tutorials
Raspberry Pi Pico BME280: Measure altitude
Build a Raspberry Pi Pico + BME280 CircuitPython project that prints temperature, humidity, pressure, and estimated altitude with sea-level calibration by ShillehTek.
Raspberry Pi Pico W FTP (ftplib): Connect to a server
Enable FTP on a Raspberry Pi Pico W by adding a working MicroPython ftplib.py, so you can connect to an external FTP...
Raspberry Pi Pico HC-SR04: Measure Distance in MicroPython
Build a Raspberry Pi Pico HC-SR04 distance sensor project in MicroPython to get reliable ultrasonic readings fast for robotics, with guidance from...
Pico W HC-SR04 RGB: Distance Colors in MicroPython
Build a Pico W + HC-SR04 RGB (RUS-04) distance sensor in MicroPython, using WS2812 control to change LED colors by distance with...
Pico W MPU9250: Heading Angle in MicroPython
Build a Pico W MPU9250 compass in MicroPython to compute a stable heading angle using calibration, low-pass filtering, and declination correction with...
Raspberry Pi Pico Capacitive Soil Sensor: Read Analog Values
Wire a Raspberry Pi Pico to a capacitive soil moisture sensor and read raw analog values, so you can calibrate later and...
Raspberry Pi Pico W MPU6050: Improve IMU accuracy
Calibrate an MPU6050 IMU on a Raspberry Pi Pico W with MicroPython to compute offsets and improve gyro and accelerometer accuracy with...
Raspberry Pi Pico BME280: Read sensor data in MicroPython
Build a Raspberry Pi Pico + BME280 MicroPython sensor reader to measure temperature, humidity, and pressure quickly for weather and IoT projects...
Raspberry Pi Pico MPU6050: Read motion data
Build a Raspberry Pi Pico (or Pico W) + MPU6050 setup to read acceleration, gyro, and temperature in Thonny for fast motion...
Raspberry Pi Pico W Twilio: Send SMS via API
Build a Raspberry Pi Pico W MicroPython SMS sender using the Twilio API over WiFi, avoiding large libraries and keeping deployment lightweight...