A computer receives information, processes it according to instructions, stores state, and produces outputs. In an LED project, input can be a button voltage, processing can decide whether a press changes mode, memory can retain the mode, and output can drive a pin. The physical arrangement can be tiny while still implementing the same broad computational idea as a larger machine.
A CPU executes instructions. Registers hold small amounts of immediate working state; memory holds more program/data state; buses connect components; peripherals perform specialized work. A clock coordinates operations. Clock frequency alone does not determine useful performance: instruction set, memory access, available parallelism, compiler output, and specialized hardware also matter.
A timer can count without the program manually incrementing a variable every clock tick. A UART can serialize bytes while the CPU works on something else. Those peripherals explain how a small processor can coordinate several physical activities. The program configures and services them rather than performing every electrical transition in software.
A microprocessor names a processor device, often relying on external components for a complete system. A microcontroller integrates processing, memory, and control peripherals in a device intended for embedded work. A system-on-chip, or SoC, integrates substantial system functions and can include radios or application processors. These categories overlap; they do not form a simple ranking from weak to strong.
A development board packages a chip or module with power circuitry, connectors, clocks, programming support, and accessible signals. A module can include the MCU, flash, radio circuitry, and antenna-related arrangement on a small subassembly. An ESP-WROOM-32 marking identifies a module family; the surrounding development board contributes USB bridge, regulator, connector, and pin exposure details.
A single-board computer supplies a computer system on one board, commonly capable of running an operating system such as Linux. Raspberry Pi 4 and 5 belong to that class. Raspberry Pi Pico boards are microcontroller boards despite sharing the Raspberry Pi brand. Brand names are not a useful substitute for computing class.
Chip-level capabilities do not guarantee board-level access. A pin can be occupied by flash, connected to onboard circuitry, omitted from headers, or constrained during boot. A board pin label, package pin number, framework GPIO number, and connector position can be different numbering systems. Check the correct pinout for the physical board and software API.
MCU versus Linux SBCConcept diagram
MCU · Uno / Pico
processor + memory + peripherals
Firmware in flash → GPIO
Linux SBC · Pi 4 / Pi 5
processor + memory + peripherals
OS → scheduled processes → GPIO / files
Contrast firmware in flash with an OS scheduling processes and accessing files; show GPIO on both with separate timing expectations.
Pico belongs on the MCU side; Pi 4/5 on the SBC side. Brand is not class.
Flash is nonvolatile storage commonly used for firmware. RAM holds mutable runtime state. ROM can contain factory-programmed startup or support routines. Some MCUs provide EEPROM; others use flash-backed mechanisms for persistent application data. Each storage type has its own capacity, access, retention, and write-endurance characteristics.
On reset, startup code establishes conditions such as initialized data, stack context, and runtime state before application execution. A bootloader can receive firmware over a supported interface and transfer control to the application. Its reserved storage reduces the available application region in some configurations. Native USB, external USB-to-UART bridges, boot ROM upload paths, and external programming interfaces produce different workflows.
Power loss usually discards RAM state. Saving a variable does not make it nonvolatile. Persistent data requires an appropriate storage API and integrity policy. Rewriting a flash-backed setting every loop can waste endurance; write when state meaningfully changes and design for interruption during an update.
Firmware flash and runtime RAM are different budgets. A program can fit the flash limit yet fail because buffers and call-stack demand exceed RAM. Conversely, a mostly static lookup table can consume flash while using little mutable memory if the target/library representation is appropriate. Build reports describe important limits but do not always establish worst-case runtime stack usage.
General-purpose input/output pins connect software decisions to voltage behavior. Input mode observes a signal with comparatively high impedance; output mode actively drives a level within electrical limits. HIGH and LOW are interpreted voltage ranges, not universal numbers. A 5 V AVR board and 3.3 V MCU board can expose familiar API names while having incompatible electrical requirements.
An output has limited current capability and nonzero effective impedance. Driving excessive current can shift its voltage or damage it. Limits may apply per pin, per port group, and to the whole package. Absolute maximum ratings are stress limits, not recommended steady operating targets. Use a driver for motors, relay coils, or substantial LED loads.
A disconnected input can float. Internal or external pull resistors provide a defined default, subject to device support and leakage/noise considerations. A pull-up button connected to ground is active-low. The input then supplies a Boolean interpretation to software; the pull-up's presence does not debounce the contacts.
Separate supply voltage from logic voltage. USB can deliver a supply near 5 V to a regulator while the MCU GPIO operates at 3.3 V. A pin labeled 5V can be a power connection, not a promise of 5 V-tolerant logic inputs. Verify both voltage tolerance and receiver thresholds when joining boards.
An ADC samples voltage and converts it into a finite code. Resolution gives the number of possible codes; the reference and permitted range determine their nominal voltage interpretation. Accuracy also depends on offset, nonlinearity, calibration, source impedance, and noise. An ADC pin is not a multimeter input designed to accept arbitrary voltages.
A DAC produces an analog output from a code according to its electrical specification. PWM instead switches a digital output and changes its on fraction. A filter or load can respond to average effects, but the unfiltered output is pulsed. Some MCU families include DACs and others do not. Do not infer a DAC from a function named analogWrite.
Timers usually generate PWM and can offer multiple channels sharing a counter or configuration. Frequency, resolution, and channel relationships matter. A library that repurposes a timer can affect other functions. The hardware resource model is more useful than assuming every pin acts independently.
An interrupt requests service for a hardware or software event without waiting for the normal polling sequence to notice it. It has entry/exit cost, priority rules, and possible latency. A brief event can be captured by hardware even when the foreground code is busy, but a handler still needs a bounded and appropriate workload.
Real-time behavior concerns meeting deadlines, not merely using a fast processor. A control update every millisecond needs a schedule with worst-case execution and interruption considered. A faster clock can help but does not make blocking network calls or unbounded loops predictable. Cooperative state machines, interrupts, DMA, or an RTOS can organize work according to the target and requirements.
An RTOS provides scheduling and synchronization services for tasks. It does not eliminate races or memory constraints. A watchdog resets or signals a system that fails to service it under configured conditions. Feeding it unconditionally from unrelated code can hide the failure it was meant to detect. Select what “healthy progress” means before choosing a watchdog policy.
A UART converts bytes into timed serial signaling and reconstructs bytes from incoming signaling. TX transmits; RX receives. A typical connection joins one device's TX to the other's RX and establishes the required common reference. Matching names TX-to-TX does not create a receiver for either transmitter.
UART is asynchronous because no separate clock line accompanies ordinary byte framing. Both ends agree on baud and framing. A typical frame includes a start bit, data bits, optional parity, and stop bits; an 8-N-1 frame commonly uses ten bit times per eight-bit data byte. At 9600 bit/s, the maximum byte rate under that framing is about 960 bytes/s before higher-level protocol overhead.
Baud technically counts symbols per second; for ordinary binary UART signaling one symbol carries one bit, so the usual baud setting corresponds to bit rate. A mismatched rate shifts sampling relative to transmitted bits and produces errors or garbage. Serial data can also be lost if software fails to drain buffers promptly.
Logic-level UART, USB, RS-232, and RS-485 are not interchangeable electrical interfaces. A USB bridge can connect a computer to MCU UART pins through additional circuitry. RS-232 uses different voltage conventions; direct attachment to ordinary GPIO is inappropriate. The protocol name alone is not enough to wire the connection.
I2C commonly uses SDA for data and SCL for clock, plus the required reference and supplies. Several target devices share the two signal lines. A controller initiates a transaction and sends an address so the intended target responds. Seven-bit addresses are common; documentation sometimes writes shifted address bytes, which must not be confused with the address value expected by an API.
Participants normally pull a line low or release it. Pull-up resistors establish the high state, enabling wired sharing and acknowledgment. Too-weak pull-ups can give slow rising edges because the bus has capacitance; too-strong pull-ups demand more sink current. Multiple modules may contain pull-ups in parallel, changing the effective resistance and possibly tying the bus to an incompatible supply.
Address selection means several devices can share wires, but it does not solve duplicate fixed addresses. Use configurable address pins, another bus instance, a multiplexer, or a different device when required. A scanner detects responses under its test transaction; a responding address does not prove a particular sensor identity or correct data interpretation.
Short, suitable wiring and verified pull-up voltage are important. I2C is not automatically a robust long-cable field bus. The chosen clock speed and device limits constrain the network. A display update can occupy significant bus time, so a future project should budget transactions rather than imagine communication is instantaneous.
Show released high versus driven low on shared linesConcept diagram
Open-drain outputs pull LOW or release. The pull-ups provide HIGH; devices do not actively drive a competing HIGH.
Targets share SDA/SCL and reference; resistors connect each line to its compatible supply.
Indicate open-drain behavior; no output actively drives a conflicting high.
Diagram labels
logic supply · SDA pull-up · SCL pull-up · controller · target A · target B · common reference
SPI commonly uses clock, controller-to-target data, target-to-controller data, and one chip-select signal per selected target arrangement. Signals are often labeled SCK, MOSI, MISO, and CS, though newer terminology and device labels vary. Data shifts in synchronization with clock edges, and the selected device interprets the transfer according to its protocol.
Clock polarity and phase define which transitions and sampling edges apply. Bit order, transfer length, speed, and chip-select timing also need agreement. Reading meaningless bytes can be a mode mismatch even when every wire is physically connected. Consult the target's timing and command specification.
SPI often supports simultaneous transmit and receive because separate data lines exist. Some devices use three-wire or other variants. Unlike I2C's usual addressed transaction, conventional SPI commonly uses separate selection lines. That consumes more wires but can simplify selection and support high throughput. A target must release a shared return-data line when unselected as required by the bus arrangement.
Pins can be multiplexed with other peripheral functions. A board's default SPI pins and an application's reassigned pins depend on the framework. Do not assume a pin number from an Uno example identifies the same signal on a Mega or ESP32.
Wi-Fi supplies network connectivity through a radio and protocol stack. Bluetooth supplies other radio communication models whose supported variants depend on the chip. Radio hardware, firmware/core support, antenna layout, credentials, and application protocol all participate. An internet-connected project still needs a defined data format and error policy; Wi-Fi is transport capability, not the whole application.
The original ESP32-WROOM-32 family combines an ESP32 SoC with module circuitry and supports 2.4 GHz Wi-Fi and Bluetooth under the appropriate implementation. Other products carrying ESP32 names can use different cores, radios, peripheral sets, or restrictions. Verify the actual module and chip variant rather than applying one family's claims to all of them.
Radio activity can cause transient current demand. Supply design, local decoupling, and regulator capacity affect stability. An MCU that resets when connecting to a network may have a power problem rather than a syntax problem. Some peripheral resources have documented restrictions when radio functions are active; check the exact target before selecting ADC pins.
The Uno R3 uses an ATmega328P AVR MCU. Its reference board exposes 14 digital I/O positions, six analog inputs, and six PWM-capable digital outputs. Its ordinary logic is 5 V. The chip provides 32 KiB flash, 2 KiB SRAM, and 1 KiB EEPROM; usable application flash depends on the bootloader/build configuration. These small budgets make buffers and string allocation visible design concerns.
The Mega 2560 reference architecture uses an ATmega2560 with 256 KiB flash, 8 KiB SRAM, and 4 KiB EEPROM. The reference board exposes more pins and UARTs: 54 digital I/O, 16 analog inputs, four hardware serial ports, and 15 PWM-capable outputs. It remains a resource-limited AVR MCU board rather than a small Linux computer.
The club's ELEGOO Mega-compatible component can use the corresponding software target where its hardware and bootloader match. USB bridge, regulator quality, allowable power conditions, and routing remain physical-board questions. The Arduino reference board's published design does not automatically verify every clone detail.
AVR boards fit straightforward GPIO, buttons, and modest data acquisition where extensive existing Arduino support helps. They are less suitable for a project needing large image buffers, built-in wireless, or an OS filesystem. More GPIO on a Mega solves a pin-count requirement; it does not solve a camera-processing memory requirement.
The original Pico uses RP2040 with dual Arm Cortex-M0+ cores, 264 KiB on-chip SRAM, and 2 MiB onboard flash in the reference board. Its GPIO logic is 3.3 V. The original non-wireless Pico does not have a built-in Wi-Fi radio. Its programmable I/O subsystem supports specialized signal handling separate from ordinary CPU bit-banging, though using it requires understanding its own state-machine model.
Pico 2 W uses RP2350 with 520 KiB SRAM and 4 MiB onboard flash in the reference board, plus wireless connectivity. RP2350 offers Arm Cortex-M33 and Hazard3 RISC-V core options; this does not mean four application cores run simultaneously. The selected architecture and supported firmware environment determine which pair is used. The reference board remains a microcontroller system rather than a Linux SBC.
Both boards require the exact pinout and documented power connection rules. A supply input that permits more than 3.3 V does not imply 5 V GPIO tolerance. ADC inputs and exposed channels have their own restrictions, and onboard functions can occupy resources. A Pico 2 W board is not made equivalent to an original Pico by choosing a similar-looking software label.
Development can use suitable C/C++ SDKs, supported Arduino cores, or MicroPython builds depending on the target. MicroPython runs an interpreter on the MCU and has a different execution/resource model from compiled C++ firmware. PlatformIO support must be verified for the exact board/core combination; this corpus does not claim a tested Pico 2 W environment.
Pi 4 and 5 are SBCs with application processors, substantial RAM, external persistent storage arrangements, and Linux capability. The canonical component IDs identify the club's 4 GB variants; the education overlay links those components without freezing ownership quantities. A microSD card or another supported boot/storage device holds files and an operating system. RAM still does not serve as permanent project storage.
Linux runs processes under a scheduler. A process has an execution context and virtual memory and uses OS services for files, networking, and devices. The filesystem organizes persistent files and directories. A shell runs commands; SSH allows an authenticated remote shell; VS Code Remote - SSH can edit and operate within that environment.
This suits a robot with camera processing, Python libraries, network services, and richer storage. It also brings boot time, filesystem integrity, dependency management, background activity, and scheduling variability. A normal Linux user-space loop is not guaranteed to toggle GPIO at an exact microsecond deadline. An MCU or specialized peripheral can handle precise timing while the SBC handles higher-level computation.
The 40-pin header includes power and signal pins with different purposes. GPIO operates in a 3.3 V domain and must not receive arbitrary 5 V signals. The ordinary Pi header does not supply a general-purpose built-in ADC for measuring a potentiometer; an external ADC or another controller can provide that function. Header pin count is not equivalent to an equal count of free analog channels.
Pi 5's I/O architecture and software support differ from earlier models, so verify current library and robot-kit compatibility rather than assuming a Pi 4 recipe transfers untouched. Power recommendations vary by model and attached peripherals. Use the manufacturer's documented supply requirements and the project's load budget, including motors on appropriate separate driver paths.
Start with the required behavior and interfaces. Count digital signals, analog channels, bus devices, timing deadlines, buffers, and communication needs. Check voltage domains and actual pin availability. Then consider software support, power, mechanical connections, cost, and availability. A board with the highest clock may create more adaptation work than one that already supports the needed libraries and interfaces.
For a button-and-LED sequencer, a supported AVR board can be sufficient. For a networked sensor, an appropriate wireless MCU can eliminate the need for a whole Linux system. For camera-based recognition, an SBC can provide memory, OS libraries, and storage. For strict motor timing alongside vision, split responsibilities between an SBC and controller rather than pretending one execution model solves every requirement.
Family
Main model
Important constraints to investigate
Uno R3 / Mega-compatible
AVR Arduino-framework firmware
RAM, flash, 5 V interfaces, timer sharing, pin mapping
ESP-WROOM-32 development board
Wireless MCU/module firmware
Exact variant, 3.3 V GPIO, boot pins, power bursts, core APIs
When encountering an unfamiliar board, identify its chip/module, obtain the board pinout and power design, select a supported software environment, and verify a minimal program before adding peripherals. The board guide and hardware overlays provide entry points; canonical inventory remains the source of what the club owns.