Program all the things - How to develop IoT devices using MicroPython
summary
Builds a Wi‑Fi IoT pet using MicroPython on ESP8266 dev boards (Adafruit Feather Huzzah, Wemos D1 Mini, NodeMCU), a 12‑LED neopixel ring, SSD1306 OLED, button and piezo buzzer. Uses the interactive REPL, ampy and webrepl to iterate, PWM for tones, and uMQTT for publish/subscribe. Notes one ADC pin limit on ESP8266, drives ~30–40 LEDs safely from a single pin, and demos a working web server and MQTT button events — prototype survives packing poorly.
AI-written summary · about
chapters (23)
- 0:00Intro
- 0:47About me
- 1:43Getting started developing IoT devices
- 4:22MicroPython Compatible Hardware
- 5:05Which ESP8266 dev board?
- 7:34Incremental prototyping
- 9:47Pet Circuit
- 10:52Preparing the board
- 11:38Flash the firmware
- 11:52Connect to the board
- 13:02Uploading code using the WebREPL
- 13:46Change the Wifi config
- 14:27Button on pin 12
- 14:37Using machine library: read from a pin
- 15:16Poll button value
- 15:34Analog sensors
- 16:07Piezo Buzzer on pin 14
- 16:17Using the machine library
- 17:31Neopixels
- 18:27Neopixel ring on pin 2
- 20:26Loading additional libraries
- 22:01Basic web server (2/2)
- 29:59Why MicroPython?








