← Electronics Lab
Adafruit KB2040
Minitor V Pager Dome Light
Flash a NeoPixel dome light when your Motorola Minitor V pager is toned out.
KB2040NeoPixel RGBWCircuitPythonRelay trigger
Downloads
Code
Printable parts
- Emergency Ceiling Dome Light (1).stl 16 KB
- Emergency Ceiling Dome Light (2).stl 75 KB
- Emergency Ceiling Dome Light (3).stl 130 KB
Docs
Overview
When a Motorola Minitor V base station receives its tones, the dry-contact relay on its accessory port closes (pins 2 and 3). That pulls the KB2040's D0 pin to ground, and the board flashes a set of RGBW NeoPixels inside a 3D printed ceiling dome.
Each trigger starts a 2-minute flashing window; another tone-out during that time restarts the 2 minutes. When the window ends the LEDs switch off and wait for the next call.
- Uses the Minitor V base station's built-in dry-contact relay - no modification to the pager
- Simple active-low trigger on D0 (internal pull-up, no extra parts)
- Alternating two-colour flash (red/blue in the original build), 0.25 s per colour
- Runs on CircuitPython - colours, timing and LED count are easy to change
Parts
- Motorola Minitor V pager + base station — uses the 5-pin DIN accessory port
- Adafruit KB2040 — RP2040 board, powered over USB-C
- RGBW NeoPixel LEDs — the code drives 4 pixels in a chain
- 5-pin DIN plug / cable — to connect to the accessory port
- 3D printed dome housing — STL files included below
Wiring
Minitor V accessory port (5-pin DIN) to KB2040
| From | To | Notes |
|---|---|---|
| DIN pin 2 | KB2040 D0 | trigger input |
| DIN pin 3 | KB2040 GND | relay common / ground |
NeoPixels to KB2040
| From | To | Notes |
|---|---|---|
| KB2040 D10 | NeoPixel DIN | data |
| KB2040 3.3V | NeoPixel V+ | power |
| KB2040 GND | NeoPixel GND | ground |
- The NeoPixels run from the KB2040's 3.3V output (board powered by USB-C). Keep the LED count modest on 3.3V.
- Relay closed = D0 pulled LOW = lights on.
- The wiring notes in the repo mention 3 LEDs in series while
code.pyis set to 4 pixels - set the4inneopixel.NeoPixel(board.D10, 4, ...)to the number you actually use.
Directions
- Install CircuitPython on the KB2040.
- Copy
neopixel.mpyfrom the Adafruit CircuitPython Library Bundle intoCIRCUITPY/lib/. - Copy
code.pyto the root of theCIRCUITPYdrive. - Print the dome parts (STL files below) and mount the NeoPixels inside.
- Wire the NeoPixels and the DIN plug as shown in the wiring tables.
- Plug the DIN cable into the base station's accessory port. When the pager is toned out the dome flashes for 2 minutes.
Libraries
Copy these from the Adafruit CircuitPython Library Bundle into CIRCUITPY/lib/.
- neopixel.mpy
Make it yours
neo.fill((0, 255, 0, 0))/neo.fill((0, 0, 255, 0))- the two flash colours as (R, G, B, W)time.sleep(0.25)- how long each colour showstime.monotonic() + 120- flashing window in seconds after each trigger
Code
code.py Download
import board
import neopixel
import time
import digitalio
# Motorla Basestation Input
din = digitalio.DigitalInOut(board.D0)
din.direction = digitalio.Direction.INPUT
din.pull = digitalio.Pull.UP
# External NeoPixel
neo = neopixel.NeoPixel(board.D10, 4, pixel_order=neopixel.GRBW)
# Timer
end_time = 0
while True:
# Check for din
if not din.value: # Relay closed (signal detected)
print("DIN Trigger received! Restarting 2-minute timer...")
end_time = time.monotonic() + 120 # extend timer 2 minutes from now
# If we are inside the active window, run the flash pattern
if time.monotonic() < end_time:
neo.fill((0, 255, 0, 0)) # RED
time.sleep(0.25)
neo.fill((0, 0, 255, 0)) # Blue
time.sleep(0.25)
else:
neo.fill((0, 0, 0, 0)) # Off when idle
time.sleep(0.1)
Credits & licence
Released under the MIT License — Copyright (c) 2025 Lark216. Free to use, modify and share.
