Skip to content

uCompute Junior — Compatibility Notes

JPMichon edited this page Oct 31, 2026 · 2 revisions

🎓 uCompute Junior — Architecture & Compatibility Notes

The uCompute Junior is designed as a "Bring Your Own Pico" educational platform. It shares 99% of the core software and hardware DNA with the main uCompute ecosystem, allowing students and makers to run the exact same scripts across different boards.

However, because a standard Raspberry Pi Pico board does not expose GPIO 23 and GPIO 24 on its physical pinout headers, the uCompute Junior hardware layout implements two brilliant architectural trade-offs to free up those lines while maintaining strict software continuity.

image
Black arrows pointing to the differences with uCompute 1 & 2


🛠️ The 1% Structural Differences

To compensate for the two inaccessible GPIOs on a standard Pico, the uCompute Junior board introduces two smart hardware routing optimizations:

1. Hardwired Always-On Backlight (BLK)

On the standard uCompute boards, the ST7789 display backlight is software-controlled via a dedicated GPIO to allow dynamic dimming or power-saving modes.

  • The Junior Adaptation: To free up a GPIO line, the LCD's BLK pin is tied directly to the 3.3V power rail.
  • Software Impact: The screen is hardware-driven to remain on at maximum brightness. Any software initialization or toggling of _ST7789_BL in your MicroPython scripts is ignored on the Junior, but the code remains fully backwards-compatible without throwing errors.

2. Omission of MicroSD Presence Detection

While the uCompute Junior retains the full MicroSD card slot functionality for data logging or file systems, it alters how the slot state is monitored.

  • The Junior Adaptation: The mechanical card-presence detection pin (_MicroSD_Detect) has been omitted from the schematic layout.
  • Software Impact: Software routines cannot poll a GPIO pin to check if a card is physically inserted. Storage scripts should instead use standard MicroPython try/except blocks to attempt to mount the SD card directly via SPI.

💻 Developer & Educator Checklist

When deploying scripts written for the uCompute or uCompute2 onto a uCompute Junior, keep these two simple rules in mind:

🌟 Safe Display Initialization

When setting up the ST7789 display driver in MicroPython, you can safely pass a dummy pin or omit the backlight argument if your driver allows it. The screen will stay lit regardless of the software state:

# Standard uCompute Initialization (Software BL Control)
display = st7789.ST7789(spi, 240, 240, reset=Pin(4), dc=Pin(5), backlight=Pin(6))

# uCompute Junior Quick-Fix (Backlight is already hardware-driven to 3V3)
# You can leave the pin assignment as-is for cross-compatibility, 
# but remember that changing its value won't turn off the screen.

💾 Safe MicroSD Mounting Pattern

Instead of checking a physical hardware pin before mounting your file system, migrate your code to a robust, fault-tolerant programming pattern:

import machine, os

try:
    # Attempt direct hardware mounting via SPI Chip Select (GP13)
    sd = machine.SDCard(slot=1, cs=machine.Pin(13))
    os.mount(sd, "/sd")
    print("MicroSD mounted successfully!")
except Exception as e:
    print("MicroSD mounting failed. Please verify a card is firmly inserted.")

📜 Architectural Summary Table

Hardware Feature Standard uCompute / uCompute2 uCompute Junior Educational Advantage
Microcontroller Onboard RP2040 / RP2350 Bring Your Own Pico (Standard RP2040) Reduces entry cost for schools with existing inventory.
LCD Backlight Software Dimming (GPIO 6) Always-On (3.3V Rail) Frees up a hardware line to compensate for missing GPIOs.
SD Card Status Mechanical Detection Pin Software Error Trapping Only Simplifies circuit routing while encouraging robust coding habits.

Clone this wiki locally