Led·Bred
- 1x Arduino Mega 2560 R3 or compatible clone
- 1x Screw Terminal Shield
- 1x MicroSD Shield
- 3x 32x8 NeoPixel RGB LED Matrix (no longer stocked by Adafruit but clones can be found easily)
- 1x Breadboard-Friendly NeoPixel RGB LED
- 1x Rotary Encoder with Pushbutton
- 1x Monochrome 128x32 SPI OLED Display
- 1x HB15CKW01-5F-FB Illuminated Pushbutton
- 1x TEPT4400 Photodiode
- 1x Lamping Tool (highly recommended)
- 1x 1MΩ Through-Hole Resistor
- Use the lamping tool to replace the LED in the illuminated pushbutton with the TEPT4400 photodiode.
- Blacken the side of the illuminated pushbutton's cap with a Sharpie. (This keeps out ambient light to improve detection.)
- Install the illuminated pushbutton in the light pen top cap (
pencap1.stl
). - Feed the light pen cable through the light pen bottom cap (
pencap2.stl
). - Feed the light pen cable through the light pen barrel (
penbarrel.stl
). - Solder the wires of the light pen cable to the pins of the illuminated pushbutton.
- Push the end caps into the barrel.
- Rotary encoder left pin to Arduino D2
- Rotary encoder center pin to GND
- Rotary encoder right pin to Arduino D3
- Rotary encoder switch pin 1 to Arduino D4
- Rotary encoder switch pin 2 to GND
- Illuminated pushbutton switch pin 1 to Arduino D5
- Illuminated pushbutton switch pin 2 to GND
- Top RGB LED matrix DATA IN to Arduino D6
- Center RGB LED matrix DATA IN to Arduino D7
- Bottom RGB LED matrix DATA IN to Arduino D8
- Individual RGB LED DATA IN to Arduino D9
- OLED DATA/MOSI to Arduino D11
- OLED CLK/SCK to Arduino D13
- OLED CS to Arduino A3
- OLED D/C to Arduino A2
- OLED RST to Arduino A1
- Illuminated pushbutton LED anode to Arduino A0
- Illuminated pushbutton LED anode to 1MΩ resistor
- 1MΩ resistor to VCC
- Illuminated pushbutton LED cathode to GND