SolderHub Editorial
Articles &
Guides
In-depth tutorials, component deep-dives, and hardware engineering insights — written for builders.
Featured
MicroPython vs Arduino on ESP32: Which Should You Learn First?
An honest comparison for beginners: where MicroPython is easier, where Arduino C++ is faster, how libraries and memory differ, and how to choose based on your project instead of hype.
All articles
MicroPython ESP32 Web Server: Control an LED or Relay from Your Browser
Create a working web server with the socket module, parse requests, serve a responsive control page for an LED or a relay, keep the displayed state truthful, choose a safe relay startup state and make the server survive bad or repeated requests.
MicroPython on ESP32 and Raspberry Pi Pico W: The Complete Guide
A structured MicroPython learning path for ESP32 and Pico W. Set up your tools, control GPIO, read sensors, connect to WiFi, build web servers, publish MQTT data and make projects reliable. Start here, then follow the links by level.
boot.py vs main.py in MicroPython: What Runs, When and Why
Understand the difference between boot.py and main.py in MicroPython, startup order, Wi-Fi setup, project structure, and recovery from boot errors.
Raspberry Pi Pico W and Pico 2 W: Install MicroPython with Thonny or UF2
Hold BOOTSEL, drag the correct UF2 file, open the REPL and blink the onboard LED. Includes the Pico vs Pico W vs Pico 2 W firmware differences and what to do when the drive does not appear.
MicroPython PWM on ESP32: Fade an LED and Control a Servo
Understand frequency and duty cycle, dim an LED smoothly and drive an SG90 servo with correct pulse widths, including how duty ranges differ between ESP32 and Pico.
MicroPython SSD1306 OLED on ESP32: Text, Shapes and Live Sensor Data
Install the SSD1306 driver, show text and graphics with the framebuf-based API, draw lines and rectangles and build a small live display for sensor readings.
MicroPython Deep Sleep on ESP32: Timer, Button and Touch Wake-Up
Learn machine.deepsleep, check why the board woke, keep a counter across sleeps and design a sensor node that wakes, reports and sleeps again to stretch battery life.
MicroPython Troubleshooting: Thonny Can't Connect, ImportError, OSError and MemoryError
A symptom-first troubleshooting guide for MicroPython on ESP32 and Pico: what each error means, how to confirm the cause and the shortest fix, from USB cables and full file systems to MemoryError, heap fragmentation and gc.collect.
Raspberry Pi Pico W Web Server in MicroPython: Control an LED and Read a Sensor
Connect the Pico W to WiFi, serve a responsive control page, switch an LED and display the onboard temperature or an external sensor, with timeouts and reconnect handling.
Install MicroPython on ESP32 with Thonny or esptool: Flash Firmware and Run Your First Script
Install Thonny, download the right firmware for your exact board, flash it with Thonny or esptool, open the REPL and save a first script. Includes chip-specific flash offsets, USB driver and cable problems, and what to do when the port is not found.
MicroPython GPIO on ESP32: Blink an LED and Read a Button
Learn machine.Pin from scratch: outputs, inputs, internal pull-ups, active-high vs active-low wiring and software debouncing, with a simple LED-and-button circuit you can build in minutes.