Buy 10+ on select items — save 10% auto-applied
Free US shipping on orders $35+
Order by 3pm ET — ships same-day from the US
Skip to main content
ShillehTek IoT & Beyond

MicroPython Tutorials

Python on microcontrollers — setup guides, sensors, WiFi, and MQTT.

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 W AP Mode: Host a Web Server | ShillehTek
Oct 23, 2023 Mahmood M. Shilleh 1250 views

Raspberry Pi Pico W AP Mode: Host a Web Server | ShillehTek

Build a Raspberry Pi Pico W AP mode network that hosts a simple MicroPython web server, so you can connect by WiFi an...
Raspberry Pi Pico BME280: Save Sensor Data to PC | ShillehTek
Oct 23, 2023 Mahmood M. Shilleh 411 views

Raspberry Pi Pico BME280: Save Sensor Data to PC | ShillehTek

Stream Raspberry Pi Pico BME280 readings over serial and save them to a local PC file with Python, enabling long-term...
Raspberry Pi Pico W MQTT: Send messages anywhere | ShillehTek
Oct 23, 2023 Mahmood M. Shilleh 206 views

Raspberry Pi Pico W MQTT: Send messages anywhere | ShillehTek

Build a distributed IoT message system with Raspberry Pi Pico W and MQTT using HiveMQ Cloud in MicroPython, sending p...
Pico W WiFi: Send data between boards | ShillehTek
Oct 23, 2023 Mahmood M. Shilleh 588 views

Pico W WiFi: Send data between boards | ShillehTek

Build a two-device Raspberry Pi Pico W WiFi client and server in MicroPython using Thonny, so you can send messages a...
Raspberry Pi Pico ADXL345: Read Acceleration in MicroPython | ShillehTek
Oct 23, 2023 Mahmood M. Shilleh 268 views

Raspberry Pi Pico ADXL345: Read Acceleration in MicroPython | ShillehTek

Build a Raspberry Pi Pico ADXL345 I2C accelerometer reader in MicroPython to print real-time X, Y, Z values in g for ...
Raspberry Pi Pico W MicroPython: Set Up PyCharm | ShillehTek
Oct 23, 2023 Mahmood M. Shilleh 241 views

Raspberry Pi Pico W MicroPython: Set Up PyCharm | ShillehTek

Set up PyCharm to flash and run MicroPython on a Raspberry Pi Pico or Pico W, then verify the workflow with an onboar...
Raspberry Pi Pico W MicroPico: VSCode MicroPython Setup | ShillehTek
Oct 22, 2023 Mahmood M. Shilleh 529 views

Raspberry Pi Pico W MicroPico: VSCode MicroPython Setup | ShillehTek

Set up VSCode with the MicroPico extension to write and run MicroPython on a Raspberry Pi Pico W, including firmware ...
XIAO RP2040 MPU6050: Get MicroPython readings | ShillehTek
Oct 22, 2023 Mahmood M. Shilleh 155 views

XIAO RP2040 MPU6050: Get MicroPython readings | ShillehTek

Connect a XIAO RP2040 to an MPU6050 and read accelerometer values in MicroPython using Thonny and simple library file...
XIAO RP2040 + BME280: Read I2C Sensor Data | ShillehTek
Oct 22, 2023 Mahmood M. Shilleh 122 views

XIAO RP2040 + BME280: Read I2C Sensor Data | ShillehTek

Build an I2C environmental monitor by wiring a Seeed Studio XIAO RP2040 to a BME280 and printing temperature, humidit...
Raspberry Pi Pico W ChatGPT API: Send Prompts Over WiFi | ShillehTek
Oct 22, 2023 Mahmood M. Shilleh 166 views

Raspberry Pi Pico W ChatGPT API: Send Prompts Over WiFi | ShillehTek

Build a Raspberry Pi Pico W script that connects over WiFi, sends ChatGPT API prompts, and prints responses for fast ...
Raspberry Pi Pico W Gmail: Send Email in MicroPython | ShillehTek
Oct 22, 2023 Mahmood M. Shilleh 464 views

Raspberry Pi Pico W Gmail: Send Email in MicroPython | ShillehTek

Build a Raspberry Pi Pico W MicroPython script that sends Gmail SMTP email using an app password, enabling easy alert...
Raspberry Pi MPU6050: Smooth Sensor Data in MicroPython | ShillehTek
Oct 22, 2023 Mahmood M. Shilleh 203 views

Raspberry Pi MPU6050: Smooth Sensor Data in MicroPython | ShillehTek

Build a Raspberry Pi MPU6050 low-pass filter in MicroPython to smooth noisy accelerometer readings and keep stable, u...