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
Worldwide shipping via DHL
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 1360 views

Raspberry Pi Pico W AP Mode: Host a Web Server

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

Raspberry Pi Pico BME280: Save Sensor Data to PC

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

Raspberry Pi Pico W MQTT: Send messages anywhere

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

Pico W WiFi: Send data between boards

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

Raspberry Pi Pico ADXL345: Read Acceleration in MicroPython

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

Raspberry Pi Pico W MicroPython: Set Up PyCharm

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

Raspberry Pi Pico W MicroPico: VSCode MicroPython Setup

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

XIAO RP2040 MPU6050: Get MicroPython readings

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

XIAO RP2040 + BME280: Read I2C Sensor Data

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

Raspberry Pi Pico W ChatGPT API: Send Prompts Over WiFi

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

Raspberry Pi Pico W Gmail: Send Email in MicroPython

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

Raspberry Pi MPU6050: Smooth Sensor Data in MicroPython

Build a Raspberry Pi MPU6050 low-pass filter in MicroPython to smooth noisy accelerometer readings and keep stable, usable sensor data with ShillehTek.