Meet the boards
A development board puts a microcontroller on a small card with helpers: a USB socket, a chip that speaks USB, a power regulator and rows of pins. Plug it into a laptop and you can program it with no other tools.
The Uno R3 carries an ATmega328P: an 8-bit chip at 16 MHz with 32 KB of flash for the program and 2 KB of SRAM for variables. It has 14 digital pins and 6 analog inputs, all working at 5 volts.
The ESP32-DevKitC carries an ESP32: two 32-bit cores at up to 240 MHz and 520 KB of SRAM, with Wi-Fi and Bluetooth inside the chip. The program sits in a separate 4 MB flash chip under the module's metal lid.
The STM32F4DISCOVERY carries an STM32F407: a 32-bit Arm Cortex-M4 at 168 MHz with 1 MB of flash and 192 KB of SRAM. A second chip, the ST-LINK, is a debugger: it can pause your running code and show its values.
Choose for the job
Put the numbers together. Clocks: 16, 240 and 168 MHz. SRAM for variables: 2, 520 and 192 KB, so the ESP32 holds 260 times as much as the Uno. Bigger is not always better: a small job runs fine on a small chip.
A HIGH pin on the Uno is 5 volts. The ESP32 and STM32 boards run on 3.3 volts or less. An ESP32 pin takes at most 3.6 volts, so lower a 5 V signal first: a later lesson on level shifting shows how.
Our worked example: a plant-pot sensor that reads soil moisture and sends it over Wi-Fi. Test each board against that one hard need. The Uno and this STM32 have no radio. The ESP32 has Wi-Fi on the chip.
The ESP32 wins: Wi-Fi is built in, it has analog inputs for the sensor, and the Arduino IDE can program it with Espressif's Arduino core. The other boards would need an extra Wi-Fi board wired on.
Get code on
The laptop compiles the sketch into a firmware image and sends it down the USB cable. The bridge chip turns USB into serial and resets the ESP32 into download mode. A bootloader in the chip's ROM writes the image into flash.
On the Uno, the ATmega16U2 passes the image to a 512-byte bootloader kept in the ATmega328P's own flash. On the STM32 board, the ST-LINK writes flash directly through the chip's debug port, called SWD. The next lesson follows compile, link and flash.
What happens
;; step 1/10 · board development board = microcontroller + helpers USB socket power and data from the laptop USB helper chip turns USB into something the MCU understands regulator steady supply voltage for the chip pin headers where your wires go one cable, no extra programmer needed
Each family has many boards. We use one common board for each: the Arduino Uno R3 (ATmega328P), the ESP32-DevKitC V4 with an ESP32-WROOM-32E module (4 MB flash; WROVER versions have 8 MB), and the STM32F4DISCOVERY (STM32F407VG). Other boards in the same family have other numbers. The Uno's sketch may use at most 32,256 of the 32,768 bytes of flash: the other 512 hold the optiboot bootloader, and avrdude talks to it at 115,200 baud. On the ESP32 the auto-reset uses the bridge's DTR and RTS lines; you can also hold Boot and press EN by hand.