Skip to content

Comments

TinyCircuits Thumby and Thumby Color#10303

Merged
tannewt merged 5 commits intoadafruit:mainfrom
relic-se:tinycircuits_thumby
Feb 24, 2026
Merged

TinyCircuits Thumby and Thumby Color#10303
tannewt merged 5 commits intoadafruit:mainfrom
relic-se:tinycircuits_thumby

Conversation

@relic-se
Copy link

@relic-se relic-se commented May 1, 2025

The Thumby and Thumby Color are two tiny, nostalgia-inducing game consoles which are powered by the RP2040 and RP2350, respectively. Both consoles support MicroPython with their built-in firmware, but I figured it would be fun to be able to port over some CircuitPython games.

The Thumby board definitions were based on the open source schematic. Some but not all functionality has been tested (display + buttons). There are two major revisions of this board which are identified by pull down resistors on 4 of the GPIO. I am currently unaware of the differences between the two boards, and have decided to target this firmware for the most recent revision.

The Thumby Color board definitions are based on the open source engine library, TinyCircuits-Tiny-Game-Engine. I haven't been able to test this build as I mistakenly lost my device. (I mean it, they're tiny!)

@relic-se relic-se marked this pull request as draft May 1, 2025 20:30
@tannewt
Copy link
Member

tannewt commented Feb 4, 2026

@relic-se Do you still want to add these?

@relic-se
Copy link
Author

relic-se commented Feb 5, 2026

@tannewt I'd love to, but TinyCircuits hasn't yet registered a USB PID with the Raspberry Pi Foundation. I've been in touch with them when I first created this PR, but I haven't touched base since then. I'll plan to get back in contact with TinyCircuits unless you have an alternative.

@tannewt
Copy link
Member

tannewt commented Feb 5, 2026

@relic-se Just request one from pid.codes. I'll approve since you are a third-party.

@relic-se
Copy link
Author

relic-se commented Feb 5, 2026

I've created the request for PIDs from pid.codes as suggested. pidcodes/pidcodes.github.com#1163

@relic-se
Copy link
Author

I need to do one last hardware test on both devices then I'll mark this ready for review.

@relic-se
Copy link
Author

I've finally got around to testing the boards, and I located some issues with pin assignments on the Thumby Color. I was able to get a copy of the schematics from TinyCircuits (which was otherwise not fully published) and should have the board definitions updated shortly.

@relic-se
Copy link
Author

The Thumby Color now works and I've validated its operation with the following script:

import board
import keypad
import rainbowio
import time

import adafruit_rgbled

NAMES = ("MENU", "A", "B", "BUMPER_LEFT", "BUMPER_RIGHT", "UP", "DOWN", "LEFT", "RIGHT")

keys = keypad.Keys(
    pins=(
        board.BUTTON_MENU,
        board.BUTTON_A,
        board.BUTTON_B,
        board.BUTTON_BUMPER_LEFT,
        board.BUTTON_BUMPER_RIGHT,
        board.BUTTON_UP,
        board.BUTTON_DOWN,
        board.BUTTON_LEFT,
        board.BUTTON_RIGHT,
    ),
    value_when_pressed=False,
    pull=True,
)

led = adafruit_rgbled.RGBLED(board.LED_R, board.LED_G, board.LED_B)
color = 0

while True:
    while (event := keys.events.get()):
        if event.pressed:
            print(NAMES[event.key_number])
            
    led.color = rainbowio.colorwheel(color % 256)
    color += 1
    
    time.sleep(0.01)

@relic-se relic-se marked this pull request as ready for review February 24, 2026 14:25
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! CI is broken for other reasons.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, you'll want to change the branch you are targeting. Right now it is set to 9.2.x.

@relic-se relic-se changed the base branch from 9.2.x to main February 24, 2026 19:15
@relic-se
Copy link
Author

@tannewt Thanks, got it fixed. I'm sure that was due to the age of this PR.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tannewt tannewt merged commit 4e9eff5 into adafruit:main Feb 24, 2026
30 of 32 checks passed
@relic-se relic-se deleted the tinycircuits_thumby branch February 24, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants