ATmega328P16U2ESP32UARTSTM32F407ST-LINKlaptop1job: plant sensor2read: 1 analog pin3send: over Wi-Fi4power: USB, 5 V2 KB520 KB192 KB5 V3.3 V3.3 V
Back: three boards, each with its chip, USB helper chip, USB socket and pin headerFront: your laptop with USB cables, and the job card for the worked exampleTokens: SRAM sizes, pin voltages, the Wi-Fi need and its answers, the firmwareThree development boards: an Arduino Uno R3 (ATmega328P, 16 MHz, 2 KB SRAM, 5 V), an ESP32-DevKitC (ESP32, up to 240 MHz, 520 KB SRAM, Wi-Fi) and an STM32F4DISCOVERY (STM32F407, 168 MHz, 192 KB SRAM, ST-LINK debugger). A Wi-Fi plant sensor needs a radio, so only the ESP32 fits on its own. The firmware reaches each chip through the board's USB helper: a bootloader in ROM on the ESP32, a bootloader in flash on the Uno, the ST-LINK over SWD on the STM32.

Meet the boards

  1. 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.

Choose for the job

Get code on

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.