Skip to the content
2 layers97.5 × 65 mmPrismatic spray, the printed circuit board in 3D

Designing a handheld RGB widget for light painting.

Size
97.5 × 65 mm
Copper layers
2
Thickness
1.6 mm
Parts
12
Nets
44
Pads
125
Tracks, vias
61, 2
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
28 Jul 2022
Updated
28 Nov 2022

Overview

Prismatic spray is an open-source printed circuit board by twopoint718, from the twopoint718/prismatic-spray repository on GitHub. It is a 2-layer board of 97.5 × 65 mm with 12 parts on 44 nets, routed with 61 tracks and 2 vias.

Its parts include 5 switches, 1 IC and 1 connector. It belongs with the lEDs and displays boards and the RP2040 boards of this library.

README

README.md

Prismatic Spray 🌈

License

Designing a handheld RGB widget for light painting. Named after the D&D spell by the same name.

Wizard casting the Prismatic Spray spell A wizard casting the Prismatic Spray spell

Statechart

This statechart gives an overview of the operation of Prismatic Spray:

Statechart diagram

When turned on, the device immediately transitions to the active state. Conceptually, this initial transition can be seen as when the initialization code runs in the StateMachine() constructor.

In the Active state each of the concurrent sub-states for the 4 buttons are initially set to "Led(N)Off". When a button is pressed down, the corresponding LED will illuminate until the button is released. Pressing a button also has the side effect of setting the focused LED. This is the LED for which adjustments of the Hue knob or the Brightness knob will subsequently affect. Only one LED can be focused like this and it will always be the last button pressed. If no buttons have been pressed, it is LED0.

The rotary encoder sets the hue/color of the focused LED in 24 equal steps. These are spaced evenly around the HSL color wheel:

colorwheel

The brightness adjustment uses a potentiometer instead of a rotary encoder like hue. This means that the brightness is set on an absolute scale from off to 100%.

Prototype

Prototype photo

Short video: https://twitter.com/twopoint718/status/1552858497666240512

PCB

PCB Rendering

  • split pcb into two files for main and daughter board
  • measure height of knobs for case lid clearance

Resources/Parts Datasheets

Parts

12
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_2.7mm_M2.5H1, H2, H3, H4
4SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBSW1, SW2, SW3, SW4
1Conn_01x03_MaleConnector_JST:JST_PH_S3B-PH-K_1x03_P2.00mm_HorizontalJ2
1PicoMCU_RaspberryPi_and_Boards:RPi_Pico_SMD_THU1
1R_PotentiometerFootprints:p160_potentiometerRV1
1RotaryEncoder_SwitchFootprints:pec11_rotary_encoderSW5

More from twopoint718/prismatic-spray

1
  • 2 layers85 × 22 mmPs daughter, the printed circuit board in 3D

    Ps daughter

    twopoint718/prismatic-spray

    Designing a handheld RGB widget for light painting.

    5 parts

Similar boards

  • 2 layersNrf bga, the printed circuit board in 3D

    Nrf bga

    github-linguist/linguist

    Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

    12 parts14kMIT
  • 2 layers66.9 × 74.5 mmDeskHop, the printed circuit board in 3D

    DeskHop

    hrvach/deskhop

    Fast Desktop Switching Device

    12 parts7.9kGPL-3.0
  • 2 layers40 × 15 mmSensors, the printed circuit board in 3D

    Sensors

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    12 parts3kApache-2.0
  • 2 layers42.7 × 56.5 mmTle6240 driver, the printed circuit board in 3D

    Tle6240 driver

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    12 parts1.2k
  • 2 layers49 × 25 mm5v boost regulator, the printed circuit board in 3D

    5v boost regulator

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    12 parts915
  • 2 layers28.3 × 10.3 mmTap Photosensor PCB, the printed circuit board in 3D

    Tap Photosensor PCB

    VoronDesign/Voron-Tap

    Tap is a nozzle-based z-probe for the V2 and Trident printer designs. The entire toolhead moves to trigger an optical switch. Tap offers many advantages:

    12 parts716GPL-3.0
  • 2 layers25.4 × 70.4 mmTpmsniffer, the printed circuit board in 3D

    Tpmsniffer

    stacksmashing/pico-tpmsniffer

    A simple, very experimental TPM sniffer for LPC bus

    12 parts696

Questions

How big is the Prismatic spray PCB?

It measures 97.5 × 65 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Prismatic spray use?

12 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Prismatic spray KiCad files?

From the twopoint718/prismatic-spray repository on GitHub, at the commit this page was made from: the board is hardware/prismatic-spray/prismatic-spray.kicad_pcb and its schematic hardware/prismatic-spray/prismatic-spray.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Prismatic spray design in my own project?

Its repository states no licence, so its author keeps all rights: ask twopoint718 before reusing the design.