Build smart devices. Learn MicroPython. Bring your ideas to life.
MicroPython and IoT Projects is your beginner-friendly guide to using Python on microcontrollers like the ESP32 and Raspberry Pi Pico. If you've ever wanted to control lights, sensors, or other hardware with Python instead of C or Arduino, this book is for you.
Designed with practical learners in mind, this book walks you through step-by-step projects that combine coding with real-world hardware. You'll connect sensors, push data to the cloud, and even control devices from your phone-all while writing clean Python code that runs on tiny, efficient boards.
Inside, you'll build projects like:
Wi-Fi Temperature Logger - Monitor room temperature and push data to a Google Sheet or web dashboard
Motion-Activated LED Alarm - Detect movement and trigger lights or buzzers
Bluetooth Device Controller - Control gadgets wirelessly with your phone
Smart Plant Monitor - Measure soil moisture and send alerts when to water
IoT Button - Send custom commands to web apps or smart home platforms
OLED Screen Data Display - Show sensor values or messages on a small screen
You'll learn how to:
Flash MicroPython firmware onto ESP32 and Raspberry Pi Pico
Connect sensors and actuators using GPIO
Work with Wi-Fi and Bluetooth
Send and receive data over MQTT, HTTP, and APIs
Use libraries like umqtt, urequests, and machine
Troubleshoot, optimize, and expand your projects
Whether you're an electronics hobbyist, Python coder, or tech educator, this hands-on book gives you everything you need to start building real IoT projects with Python, not theory.