Skip to the content
2 layers118.1 × 80 mmSwitch Panel, the printed circuit board in 3D

Heavily inspired by Keep Talking and Nobody Explodes and Bomb Corp.

Size
118.1 × 80 mm
Copper layers
2
Thickness
1.6 mm
Parts
59
Nets
129
Pads
387
Tracks, vias
1,370, 120
Pours
1
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
29 May 2016
Updated
14 Nov 2021

Overview

Switch Panel is an open-source printed circuit board by Plasmarobo, from the Plasmarobo/Disarmed repository on GitHub. It is a 2-layer board of 118.1 × 80 mm with 59 parts on 129 nets, routed with 1,370 tracks and 120 vias.

It is built around the ATMEGA328PB-AU, MAX7219M and MCP41010-E/P. Its parts include 16 switches, 11 connectors, 9 resistors, 6 ICs and 6 diodes. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

DISARMED!

Heavily inspired by Keep Talking and Nobody Explodes and Bomb Corp.

A physical "Bop-It for adults".

This ammounts to a electroncs and software programming project, with a side-helping of game design and art!

The SSD Control Panel

The SSD Control panel provides control lines (including manually adjustable brightness) for up to 8 SSD panels with 4 digits each. That is a grand total of 32 digits per board, with 4 brightness zones. This board is driven by an ATTiny85, which provide an I2C interface to the system at large, and shifts out data to the LED driver chips. Software will come later.

The Analog Control Panel

The analog control panel uses DAC and ADC chips to provide analog read and write functions. External I2C interface provided by an ATTiny85. The software drivers for this board are still in the works. It will eventually be able to read from analog inputs and write to some interesting analog displays!

The Switch Control Board

The Switch Control Board uses a number of digital I/O expanders to provide a vast number of pulled-up digital inputs. It has an ATMega328 on board. The Mega chip, with more ports and power, gives us and on-board USB port for programming and diagnostics. The many serial peripherals juggle the master relationship with the expanders and the slave relationship with the external system. Some pins are enabled to drive optional LEDs connected to the switches or mounted on the display.

The software for this is not yet written, but I'm looking forward to the increased power and peripherals vs the ATTiny85.

The Switch Board

The switch panel contains both analog potentiometers and SPST switches. These will be the primary user input at some point. Shown is an early prototype of the layout. Eventually more complex and varied inputs will be added. Some of the empty cutouts are for SSD displays not pictured.

The eventual plan is to laser cut and paint and acrylic panel to fit into a case. An alternative may be to 3D print some slotable modules and a motherboard panel to hold them.

The LED Module

The LED Module drives a series of LED Bar Graph displays, including a few unique circular displays. The board is essentially a giant shift register that can source proper current to each LED.

Lesson Learned: Double, Triple, Quadruple check your sizing on parts. I eneded up using an ultra-fine pitch SMD resistor array. I managed to get a few of them down successfully, but ended up bridging the others. My solution was to cut the traces and manually solder THT resistors on the back of the panel. Fixed in the other designs: used much larger chip resistors.

The board is driven by an onboard ATTiny85, running some custom firmware that includes the TinyWireS library. Unfortunately still interating on the software, but the chip provides and I2C slave that allows a master to write to an output array: buffering the shift register output. The same set of pins is also used as the ISP interface.

A NodeMCU ESP8266 breakout is being used as a i2c master test.

The SSD Module

The Seven Segment Display Module is something I unfortunately based on the LD8041C/D series of 20mm seven segment displays. Having bought several 10 years ago, I found that they seem to be no longer manufactured, so I just have the one board that is finished. JCLPCB manufactures in minimum lots of 5, so I have 4 useless, large PCBs. At least the one works.

(For the REV2 board, the one I got manufactured, I accidently left out a single line segment of a trace when refactoring some of the runs... thankfully, I was able to bridge the gap with a single wire. This is fixed in REV3+).

In the future, I'll source some new SSD parts and update the boards, possibly with a denser layout.

The board uses MAX7219CNG LED/IO drivers over SPI. A MCP41010 is used to digitally control ISET, though in practice this was set to it's maximum value, and the SSD brightness is controlled via the Intensity register rin the MAX7219.

The test code was prototyped on a NodeMCU ESP8266 breakout, and then ported down to a Adafruit Trinket (ATTiny85). The TinySPI library was used to bridge the gaps.

I tried using libraries for both the MAX7219 and MCP41010 chip, but took exception to the complexity of the code and ended up implementing my own simple driving functions. Future revisions of the board may implement an I2C interface and use an on-board MCU to drive the MAC7219 and MCP41010.

Parts

59
QtyValueFootprintReferences
6SW_SPSTConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalSW6, SW7, SW8, SW10, SW12, SW13
6SW_SPST_LEDConnector_PinSocket_2.54mm:PinSocket_2x02_P2.54mm_VerticalSW1, SW2, SW3, SW14, SW15, SW16
4Conn_01x08Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ7, J8, J9, J10
4LEDLED_THT:LED_D3.0mmD3, D4, D5, D6
4SW_SPST_LEDConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalSW4, SW5, SW9, SW11
3MCP23017_SPPackage_DIP:DIP-28_W7.62mmU4, U5, U6
20.1uFCapacitor_SMD:C_1812_4532Metric_Pad1.57x3.40mm_HandSolderC3, C4
222pFCapacitor_SMD:C_1812_4532Metric_Pad1.57x3.40mm_HandSolderC1, C2
23.6VDiode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2
24.7kResistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR7, R8
268Resistor_SMD:R_1812_4532Metric_Pad1.30x3.40mm_HandSolderR3, R4
268Resistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR5, R6
2Conn_02x06_Counter_ClockwiseConnector_PinSocket_2.54mm:PinSocket_2x06_P2.54mm_VerticalJ5, J6
2R_Network15digikey-footprints:SOIC-16_W7.5mmRN1, RN2
11.5KResistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR2
110KResistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR1
12kResistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR9
1ATMEGA328PB-AUdigikey-footprints:TQFP-32_7x7mmU1
1Conn_01x02_MaleConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1Conn_01x04Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ11
1Conn_01x06Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ4
1Conn_02x03_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ3
1CrystalCrystal:Crystal_HC49-U_VerticalY1
1MAX7219Package_DIP:DIP-24_W7.62mmU3
1MCP41010Package_DIP:DIP-8_W7.62mmU2
1USB_B_Microdigikey-footprints:USB_Micro_B_Female_10118194-0001LFJ1

The 55 most common of 59 parts.

More from Plasmarobo/Disarmed

7
  • 2 layers151.1 × 95.3 mmLED Panel, the printed circuit board in 3D

    LED Panel

    Plasmarobo/Disarmed

    Heavily inspired by Keep Talking and Nobody Explodes and Bomb Corp.

    38 parts1
  • 2 layers104.1 × 64.8 mmSSD Panel, the printed circuit board in 3D

    SSD Panel

    Plasmarobo/Disarmed

    Heavily inspired by Keep Talking and Nobody Explodes and Bomb Corp.

    34 parts1
  • 2 layers80 × 44.4 mmAnalog Panel, the printed circuit board in 3D

    Analog Panel

    Plasmarobo/Disarmed

    Heavily inspired by Keep Talking and Nobody Explodes and Bomb Corp.

    28 parts1
  • 4 layers170.2 × 180.3 mmDisarmed, the printed circuit board in 3D

    Disarmed

    Plasmarobo/Disarmed

    Heavily inspired by Keep Talking and Nobody Explodes and Bomb Corp.

    15 parts1
  • 2 layers130.8 × 31.8 mmSSD8 Row, the printed circuit board in 3D

    SSD8 Row

    Plasmarobo/Disarmed

    Heavily inspired by Keep Talking and Nobody Explodes and Bomb Corp.

    15 parts1
  • 2 layers149.9 × 29.2 mmSSD4 Row, the printed circuit board in 3D

    SSD4 Row

    Plasmarobo/Disarmed

    Heavily inspired by Keep Talking and Nobody Explodes and Bomb Corp.

    10 parts1
  • 2 layers154.9 × 33.5 mmSwitch SSD Row, the printed circuit board in 3D

    Switch SSD Row

    Plasmarobo/Disarmed

    Heavily inspired by Keep Talking and Nobody Explodes and Bomb Corp.

    9 parts1

Similar boards

  • 2 layers124 × 112 mmOpenDropV3, the printed circuit board in 3D

    OpenDropV3

    GaudiLabs/OpenDrop

    Open Source Digital Microfluidics Bio Lab

    318 parts492GPL-3.0
  • 2 layers169.3 × 128 mmPSU PCB, the printed circuit board in 3D

    PSU PCB

    ThomasVDD/SmartSupply

    SmartSupply is a digital battery powered lab powersupply. It is Arduino compatible and can be controlled via PC over USB.

    134 parts96
  • 2 layers50 × 100 mmPSU PCB, the printed circuit board in 3D

    PSU PCB

    ThomasVDD/SmartSupplyMini

    118 parts16
  • 2 layers57.2 × 57.2 mmRocketBeaconModule, the printed circuit board in 3D

    RocketBeaconModule

    explosion33/ArmLabRadio_PCB

    KiCad files for CC1200 based 2m / 70cm radio

    96 parts4
  • 2 layers63.5 × 31.8 mmLucid, the printed circuit board in 3D

    Lucid

    breadboardbasics/Lucid

    Everything that deals with my Lucid Dreaming project

    41 parts2MIT
  • 4 layers77 × 83 mmGeoMCU, the printed circuit board in 3D

    GeoMCU

    NohPei/GeoMCU

    Integrated Geophone Boards with programmable gain and an onboard MCU. Can be used over WiFi or wired with an external ADC.

    80 parts2CERN-OHL-P-2.0
  • 2 layers100 × 117 mmBHV Badge, the printed circuit board in 3D

    BHV Badge

    biomurph/BioVill_Badge

    DEFCON Micro Fluidics Badge Design For Biohacking Village

    270 parts1MIT
  • 2 layers101.5 × 55.8 mmSilverZap, the printed circuit board in 3D

    SilverZap

    hanebuechenes/SilverZap

    Generator für kolloidales SIlber / Gold nach Dr. Beck

    40 parts1GPL-3.0

Questions

How big is the Switch Panel PCB?

It measures 118.1 × 80 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Switch Panel use?

59 parts, built around the ATMEGA328PB-AU, MAX7219M and MCP41010-E/P. 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 Switch Panel KiCad files?

From the Plasmarobo/Disarmed repository on GitHub, at the commit this page was made from: the board is Disarmed/Switch_Panel.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Switch Panel design in my own project?

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