Repository navigation
The uCompute Board Family: Comparison & Hardware Nuances
The uCompute Ecosystem shares a common hardware DNA optimized for modularity, educational environments, and MicroPython-driven embedded development. However, depending on the target audience and the specific microcontroller used (RP2040 vs. RP2350), each board features architectural nuances, distinct pin reassignments, and display capabilities.
The "Bring Your Own Pico" variant. It drastically lowers the barrier to entry for hand-soldering in schools and Fablabs by eliminating bare-microchip soldering, relying instead on a pre-assembled Raspberry Pi Pico (1/2/W/2W) module mounted on female headers.
Despite being a lighter variant, the Junior introduces two major design advantages over the rest of the family for lab testing and prototyping:
-
Top-Mounted Prototyping Port: The main expansion header (H1) is located on top of the PCB, unlike the rear-facing sockets of the standard uCompute boards. This allows the Junior to sit completely flat on a desk or workbench, making it the absolute perfect layout for breadboarding, classroom experimentation, and quick wiring.
-
Dedicated UART Console Header: It features a dedicated, standalone UART connector pin-header. This eliminates the need for messy, improvised Dupont cable splitting on the main H1 header just to capture serial console logs during debugging.
-
The GPIO Hardware Constraint: Because a standard Raspberry Pi Pico module does not break out the internal GP23 and GP24 pins of the RP2040/RP2350 chip, the Junior applies an architectural workaround:
- GP23 (originally NeoPixel control) is remapped to GP06.
- GP24 (originally broken out on Header H1) is remapped to GP07.
-
Display Support: Inherits the dual footprint design from the original board, letting users mount either an ST7789 or an SSD1306.
-
Minor Limitations: Due to the missing pins, the Junior drops the hardware MicroSD card presence detection line and the hardware backlight (BLK) dimming rail for the ST7789.
The foundational core of the ecosystem. It is a full surface-mount development motherboard designed around a bare RP2040 chip.
- Display Versatility: Features a dual footprint allowing the user to choose between a color ST7789 IPS Display (via SPI) or an affordable, monochrome SSD1306 OLED Display (via I2C).
- Full E/S Range: Pin assignments remain 100% standard, providing baseline compatibility for all shared ecosystem libraries.
The next-generation evolution built entirely around the new ARM Cortex-M33 Raspberry Pi RP2350 microcontroller. It leverages the raw processing power, higher clock speeds, and unique security features of the new chip.
- Display Focus: Unlike its predecessors, uCompute2 removes the dual-display compromise. It is strictly limited to the high-resolution ST7789 IPS color display to fully utilize the enhanced graphic rendering capabilities of the RP2350.
- Full I/O Stack: Retains the native GPIO layout matching the original ecosystem architecture, but benefits from the internal timing updates of the RP2350 core.
| Feature / Specification | 💻 uCompute Original (v1.3) | 🎓 uCompute Junior (v1.1) | 🚀 uCompute2 |
|---|---|---|---|
| Microcontroller Type | Bare RP2040 (SMD) | Module (Bring Your Own Pico 1/2/W/2W) | Bare RP2350 (SMD) |
| Target Audience | Advanced Makers | Schools, Fablabs & Beginners | Next-Gen Developers |
| Component Size | standard SMD | Comfortable 0805 Hand-Solderable | standard SMD |
| Supported Displays | Dual Option: ST7789 (SPI) OR SSD1306 (I2C) | Dual Option: ST7789 (SPI) OR SSD1306 (I2C) | Exclusive: ST7789 (SPI) only |
| NeoPixel Control Rail | GP23 (Native) | GP06 (Remapped) | GP23 (Native) |
| Header H1 Custom GPIO | GP24 (Native) | GP07 (Remapped) | GP24 (Native) |
| SD Card Detection Line | Yes (Hardware pin) | No (Software Mount) | Yes (Hardware pin) |
| ST7789 BLK Control | Yes | No (Tied High) | Yes |
The following lookup table establishes how specific peripherals map across the family tree. When writing cross-platform MicroPython scripts, pay close attention to the Junior reassignments and missing physical control lines:
| Peripheral / Subsystem | Function | uCompute Original | uCompute Junior | uCompute2 |
|---|---|---|---|---|
| Console UART | TX / Status LED | GP00 | GP00 | GP00 |
| Console UART | RX / Status LED | GP01 | GP01 | GP01 |
| ST7789 IPS Display | SCL (SPI Clock) | GP02 | GP02 | GP02 |
| ST7789 IPS Display | SDA (SPI MOSI) | GP03 | GP03 | GP03 |
| ST7789 IPS Display | RES (Reset) | GP04 | GP04 | GP04 |
| ST7789 IPS Display | DC (Data/Command) | GP05 | GP05 | GP05 |
| ST7789 IPS Display | BL / BLK (Backlight) | GP25 | N/A (Tied High) | GP25 |
| NeoPixel Header | Data Signal | GP23 | GP06 | GP23 |
| Header H1 Prototyping | Custom E/S Pin | GP24 | GP07 | GP24 |
| Shared SPI Bus | SCLK (Clock) | GP10 | GP10 | GP10 |
| Shared SPI Bus | MOSI | GP11 | GP11 | GP11 |
| Shared SPI Bus | MISO | GP12 | GP12 | GP12 |
| MicroSD Slot | CS (Chip Select) | GP13 | GP13 | GP13 |
| MicroSD Slot | Card Detect (DET) | GP14 | N/A (Not Connected) | GP14 |
| Add-On Module (U7) | CS (Ethernet/SPI) | GP09 | GP09 | GP09 |
| Add-On Module (U7) | INT (Interrupt) | GP08 | GP08 | GP08 |
| Audio Buzzer | PWM Audio Signal | GP16 | GP16 | GP16 |
| Shared I2C Bus | SDA (OLED / EEPROM) | GP20 | GP20 | GP20 |
| Shared I2C Bus | SCL (OLED / EEPROM) | GP21 | GP21 | GP21 |
| Resistor Button Ladder | ADC0 (BTN1-BTN3) | GP26 | GP26 | GP26 |
When writing software or porting libraries from the original uCompute platform to the uCompute Junior, you can use the following MicroPython patterns to handle the hardware differences seamlessly:
Since the Junior cannot hardware-detect if a card is inserted, your boot script should dynamically adapt. Instead of checking a pin state, use a structured try / except block to attempt to mount the file system directly:
import os
from machine import Pin, SPI
from sdcard import SDCard
# Shared SPI & CS Configuration
spi = SPI(1, baudrate=40000000, sck=Pin(10), mosi=Pin(11), miso=Pin(12))
sd_cs = Pin(13, Pin.OUT)
def mount_storage():
try:
# Initialize and attempt mounting
sd = SDCard(spi, sd_cs)
vfs = os.VfsFat(sd)
os.mount(vfs, "/sd")
print("Storage: MicroSD card mounted successfully.")
return True
except Exception as e:
# Fallback safe boot mode for Junior when no card is present
print("Storage: No card detected or mount failed. Booting from internal flash.")
return FalseTo maintain a single, unified codebase across the entire ecosystem, you can write an initialization script that sniffs the hardware profiles or handles remapped pins automatically based on custom system variables or architecture checks:
import sys
from machine import Pin
# Define global system profile
BOARD_TYPE = "JUNIOR" # Change to "STANDARD" or "UCOMPUTE2" accordingly
def get_neopixel_pin():
if BOARD_TYPE == "JUNIOR":
return Pin(6, Pin.OUT) # Junior Remapped Rail
else:
return Pin(23, Pin.OUT) # Standard / uCompute2 Native Rail
def set_display_backlight(state):
if BOARD_TYPE != "JUNIOR":
blk = Pin(25, Pin.OUT)
blk.value(state) # Turn ON/OFF or drive PWM dimming
else:
# Junior backlight is hardwired to 3V3 (Always ON)
pass