Skip to content

Add Adafruit Light Path Menorah board - #12039

Merged
tannewt merged 1 commit into
adafruit:mainfrom
ladyada-eagleclaw:add/light-path-menorah
Dec 4, 2026
Merged

tannewt merged 1 commit into
adafruit:mainfrom
ladyada-eagleclaw:add/light-path-menorah

Conversation

@ladyada-eagleclaw

Copy link
Copy Markdown

Adds standard CircuitPython support for the Adafruit Light Path Menorah Rev A: RP2040, 4 MiB W25Q32JV flash, two mirrored 76-pixel NeoPixel chains, two buttons, battery monitoring, and STEMMA QT.

Prepared with Codex assistance at Ladyada's request. The pin map was checked against the final schematic; the exact board sources were compiled, flashed, and exercised on the prototype.

The five board files expose NEOPIXEL, NEOPIXEL_POWER, BUTTON_NIGHT, BUTTON_SCENE, VOLTAGE_MONITOR, USB_SELECTED, and the shared I2C() / STEMMA_I2C() bus on GPIO18/19. USB identity 239A:8188 is allocated in Adafruit's PID ledger. LED power, brightness policy, and battery handling remain in user code; the main LED assembly is not used as a firmware status indicator.

Validation

  • Built against 07a0e1c943be49c3900e52280811e704c8f7631f with Arm GCC 14.2.1: make -C ports/raspberrypi BOARD=adafruit_light_path_menorah -j8.
  • All applicable repository pre-commit hooks passed. No core or translation changes.
  • Firmware: 875,052 bytes used, 169,428 bytes free. RP2040 core-1 flash-callgraph check passed.
  • Windows USB enumeration confirmed 239A:8188 and board_id=adafruit_light_path_menorah; CIRCUITPY mounted with the existing files preserved.
  • All eight pin aliases checked against microcontroller.pin at runtime. Red, green, blue, and white output exercised through the standard neopixel_write API; Ladyada observed the color sequence.
  • Both buttons registered active-low press/release transitions through digitalio. Settled battery ADC reading: 3.180809 V with the battery switch on.
  • A BMP581 on STEMMA QT reported address 0x47, chip ID 0x50, and 1,588 pressure/temperature samples while the LEDs ran, without I2C errors.

Low-battery cutoff and brightness limits are application behavior and are not implemented by this board definition.

Hardware test excerpts and captured output

The LED/I2C test used these standard APIs (GRB byte order):

i2c = board.STEMMA_I2C()
assert i2c is board.I2C()
bmp = BMP5XX.over_i2c(i2c)

data = digitalio.DigitalInOut(board.NEOPIXEL)
data.switch_to_output(value=False)
power = digitalio.DigitalInOut(board.NEOPIXEL_POWER)
power.switch_to_output(value=False)
time.sleep(1.5)
power.value = True
time.sleep(0.01)
neopixel_write.neopixel_write(data, bytes(228))
time.sleep(0.04)

for name, grb in (
    ("RED", (0, 6, 0)),
    ("GREEN", (6, 0, 0)),
    ("BLUE", (0, 0, 6)),
    ("WHITE", (2, 2, 2)),
):
    frame = bytes(grb) * 76
    stop = time.monotonic() + 10
    while time.monotonic() < stop:
        neopixel_write.neopixel_write(data, frame)
        if bmp.data_ready:
            last_sample = bmp.measurements
            sample_count += 1
        time.sleep(0.02)

neopixel_write.neopixel_write(data, bytes(228))
data.value = False
power.value = False

Captured output from the standard build and the follow-up button/ADC test:

Adafruit CircuitPython 11.0.0-alpha.2-325-g07a0e1c943 on 2026-12-04; Adafruit Light Path Menorah with rp2040
Board ID:adafruit_light_path_menorah
PIN_ALIASES_PASS adafruit_light_path_menorah
QT_SCAN ['0x47']
BMP_ID 0x50
LED_COLOR RED
LED_COLOR GREEN
LED_COLOR BLUE
LED_COLOR WHITE
QT_SAMPLES 1588 FIRST (23.25496, 1021.3316) LAST (22.97603, 1021.347)
STANDARD_API_SMOKE_PASS
BUTTON_SCENE PRESSED
BUTTON_SCENE RELEASED
BUTTON_NIGHT PRESSED
BUTTON_NIGHT RELEASED
BUTTONS_PRESSED ['BUTTON_NIGHT', 'BUTTON_SCENE']
BATTERY_V 3.180809

Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
@ladyada

ladyada commented Dec 4, 2026

Copy link
Copy Markdown
Member

i tested on hardware!
image

@tannewt tannewt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Neat!

@tannewt
tannewt enabled auto-merge December 4, 2026 21:45
@tannewt
tannewt merged commit 609834d into adafruit:main Dec 4, 2026
10 checks passed
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.

4 participants