

Laser theremin
DCZia Defcon27 Laser Theremin Synthesizer Badge - 2019
- Size
- 99.4 × 60.4 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 107
- Nets
- 71
- Pads
- 427
- Tracks, vias
- 1,219, 173
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 18 Sep 2018
- Updated
- 9 Aug 2019
Overview
Laser theremin is an open-source printed circuit board by dczia, from the dczia/Defcon27-Badge repository on GitHub. It is a 2-layer board of 99.4 × 60.4 mm with 107 parts on 71 nets, routed with 1,219 tracks and 173 vias.
It is built around the BMD-340-A-R, LM4861M and XC6221A282MR-G, with the BSS138, SK6812 and FDN360P among its other parts. Its parts include 31 resistors, 18 capacitors, 16 connectors, 13 diodes and 7 switches. It belongs with the audio and music and lEDs and displays boards of this library.
Main components
7BMD-340-A-R
LGA-60LGA-60 Bluetooth Modules ROHSu-bloxBluetooth ModulesLM4861M
SOIC-8-40℃~+85℃ 1-Channel 1.5Wx1@8Ω 2V~5.5V Enable/disable function、ESD protection SOIC-8 Audio Amplifiers ROHSTexas InstrumentsAudio AmplifiersXC6221A282MR-G
SOT-25-40℃~+85℃ 1 170mV@(100mA) 2.8V 200mA 25uA 6V 70dB@(1kHz) Fixed Over Current Protection、Enable、Short Circuit Protection Positive SOT-25 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSTorex SemiconductorVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsBSS138
SOT-23-55℃~+150℃ 1 N-channel 1.1Ω@10V、1.2Ω@4.5V 1.2V 1.7nC@10V 17.5pF 340mA 350mW 50V 6.5pF N-Channel SOT-23 MOSFETs ROHShongjiachengMOSFETsSK6812
SMD-4P,5.4x5mm-40℃~+85℃ 0.6mA 1.6mm 120° 160mcd~320mcd 1kHz 2000V 280mcd~515mcd 3.7V~5.5V 460nm~470nm 520nm~530nm 620nm~625nm 800Kbit/s 815mcd~1275mcd Built-in power-on reset circuit Semi-transparent lens SMD-4P,5.4x5mm RGB LEDs(Built-in IC) ROHSOPSCO OptoelectronicsRGB LEDs(Built-In IC)FDN360P
SOT-23-55℃~+150℃ 1 P-Channel 1.2W 145pF 2A 300pF 30V 3V 60mΩ@4.5V SOT-23 MOSFETs ROHSTECH PUBLICMOSFETsSP0503BAHTG
SOT-143-55℃~+125℃ 10A@8/20us 14V 150W@8/20us 30pF、60pF 5.5V 6V 80nA ESD IEC 61000-4-2、IEC 61000-4-5、IEC 61000-4-4 Three channels Unidirectional SOT-143 ESD and Surge Protection (TVS/ESD) ROHSTECH PUBLICESD And Surge Protection (TVS/ESD)
README
README.mdDefcon27-Badge
____ ____ ______ ____ ____ ____ _____
| _ \ / ___|__ (_) __ _ | _ \ / ___|___ \___ |
| | | | | / /| |/ _` |_____| | | | | __) | / /
| |_| | |___ / /_| | (_| |_____| |_| | |___ / __/ / /
|____/ \____/____|_|\__,_| |____/ \____|_____/_/Lazer Theramin Synth Badge
This year we wanted to do something different. Our idea is to use two laser time of flight sensors that can measure the distance of your hands moving around infront of the badge to control a synthesizer to create a laser theremin.
- 64Mhz Arm CortexM4F with Bluetooth 5
- 5 Mechanical Clicky Low Profile Key Switches
- Rotary Encoder with Click Button
- OLED Display
- Onboard Speaker and Amplifier!
- 1/8" Headphone Out Audio Jack
- SD Card Storage
- RGB Leds
- 2 SAO / "Shitty Add-On" Connectors
Hardware Detail
-
Rigado BMD-340 aka NRF52 Microconroller
- Bluetooth, Lots of IO's, Fast, Small, Low Power, and cheap ~ $12
- https://www.rigado.com/products/modules/bmd-340/
-
Laser Time of Flight Sensors - Dev modules are from Adafruit
-
DAC / Amplifier - mediumRehr Audio™
-
Speaker - Oval 1watt onboard speaker
-
Buttons - Kalih Low Profile White Clicky Keyswitches. Oh yeah. This is the shit right here.
-
Keycaps - Note, the low profile caps are for the Kalih low profile switches only.
-
LEDs
- Neopixel RGB
-
Screen - SSD1306 OLED
-
SD Card
Software
-
Environment is GNU ARM GCC with your choice of IDE
-
Programming can be done via a J-Link Segger or by SD Card (coming soon)
-
Uses Nordic SoftDevice version XXX
-
See EnvironmentSetup for more info
Board
- Designed in KiCad
Documentation
Links to relevant information
-
DC801 Party Badge - Good source for setting up dev env, and seeing some Rigado code in action - https://github.com/DC801/DC26PartyBadge
-
oxvox - Rigado based pwm synth - https://github.com/mediumrehr/oxvox
-
Basic audio synthesis with an Arduino - https://makezine.com/projects/make-35/advanced-arduino-sound-synthesis/
-
mintysynth - simple arduino synth - https://mintysynth.com/
-
Nordic PWM Driver info: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fhardware_driver_pwm.html&cp=5_1_2_0_8
-
PWM Primer - https://provideyourown.com/2011/analogwrite-convert-pwm-to-voltage/
Devboard pinout

Parts
107| Qty | Value | Footprint | References |
|---|---|---|---|
| 13 | 10k | Resistor_SMD:R_0402_1005Metric | R1, R2, R3, R6, R7, R13, R14, R15, R16, R17, R18, R19, R25 |
| 7 | 0.1uF | Capacitor_SMD:C_0402_1005Metric | C1, C2, C7, C10, C16, C17, C18 |
| 7 | Conn_01x01 | TestPoint:TestPoint_Pad_2.5x2.5mm | J6, J8, J10, J11, J14, J15, J16 |
| 5 | 33R | Resistor_SMD:R_0402_1005Metric | R26, R27, R28, R29, R30 |
| 5 | LED | lib_fp:LED-0603 | D7, D8, D9, D10, D11 |
| 5 | SW_Push | lib_fp:MX-Alps-Choc-1U | SW2, SW3, SW4, SW5, SW6 |
| 3 | 1uF | Capacitor_SMD:C_0402_1005Metric | C3, C5, C15 |
| 3 | D_Schottky | lib_fp:SOD-123 | D1, D12, D13 |
| 2 | 1N4148 | Diode_SMD:D_SOD-323_HandSoldering | D3, D4 |
| 2 | 20k | Resistor_SMD:R_0402_1005Metric | R20, R31 |
| 2 | 27R | Resistor_SMD:R_0402_1005Metric | R10, R11 |
| 2 | 4.7k | Resistor_SMD:R_0402_1005Metric | R21, R22 |
| 2 | 4.7uF | Capacitor_SMD:C_0402_1005Metric | C4, C6 |
| 2 | 47k | Resistor_SMD:R_0402_1005Metric | R8, R9 |
| 2 | 47pF | Capacitor_SMD:C_0402_1005Metric | C12, C13 |
| 2 | BSS138 | Package_TO_SOT_SMD:SOT-323_SC-70 | Q2, Q3 |
| 2 | Badgelife_sao_connector_v169bis | lib_fp:Badgelife-Shitty-v1.69bis | X1, X2 |
| 2 | LOGO | lib_fp:dczia-text | G***, G*** |
| 2 | SK6812 | lib_fp:LED4-SMD-5050 | D5, D6 |
| 2 | VL6180X | lib_fp:VL6180X | U4, U5 |
| 1 | 0.33uF | Capacitor_SMD:C_0402_1005Metric | C14 |
| 1 | 10nF | Capacitor_SMD:C_0402_1005Metric | C11 |
| 1 | 120k | Resistor_SMD:R_0402_1005Metric | R24 |
| 1 | 1k | Resistor_SMD:R_0402_1005Metric | R12 |
| 1 | 1nF | Capacitor_SMD:C_0402_1005Metric | C9 |
| 1 | 22uF | Capacitor_SMD:C_0805_2012Metric | C8 |
| 1 | 2M | Resistor_SMD:R_0402_1005Metric | R5 |
| 1 | 4.7uH | Inductor_SMD:L_Wuerth_MAPI-3020 | L1 |
| 1 | 540k | Resistor_SMD:R_0402_1005Metric | R23 |
| 1 | 806k | Resistor_SMD:R_0402_1005Metric | R4 |
| 1 | Audio Out | OPL_Connector:AUDIO8P-SMD-3.5-14.5X6X5MM | J4 |
| 1 | BMD-340 | RIGADO_BMD-340 | U3 |
| 1 | Battery | lib_fp:BatteryHolder_Keystone_2479_3xAAA-NoDrill | BT1 |
| 1 | Conn_01x01 | TestPoint:TestPoint_Pad_1.0x1.0mm | J12 |
| 1 | FDN360P | OPL_Discrete_Semiconductor:SOT-23 | Q1 |
| 1 | JTAG | lib_fp:PinHeader_2x05_P1.27mm_Vertical_Sneaky | J1 |
| 1 | LM4861 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U6 |
| 1 | LOGO | lib_fp:silkscreen-lines | G*** |
| 1 | LOGO | lib_fp:copper-reels | G*** |
| 1 | LOGO | lib_fp:seeed_logo | G*** |
| 1 | LOGO | lib_fp:silkscreen-code-back | G*** |
| 1 | LOGO | lib_fp:silkscreen-halftone | G*** |
| 1 | LOGO | lib_fp:credits | G*** |
| 1 | Micro_SD_Card_SPI | lib_fp:MicroSD-Socket-Seeed-320090008 | J2 |
| 1 | OLED | lib_fp:OLED | J7 |
| 1 | PAM2305DABADJ | Package_TO_SOT_SMD:SOT-23-5 | U2 |
| 1 | Power | lib_fp:SW_SPDT_CK-JS102011SAQN | SW1 |
| 1 | Rack1 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J9 |
| 1 | Rack2 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J5 |
| 1 | SP0503BAHT | OPL_Discrete_Semiconductor:SOT-23 | D2 |
| 1 | Speaker | lib_fp:Speaker | LS1 |
| 1 | TagConnect | Tag-Connect:TC2050-NL_SMALL | J13 |
| 1 | USB_B_Micro | OPL_Connector:MICRO-USB5+4P-SMD-0.65-B | J3 |
| 1 | Volume | lib_fp:RotaryEncoder | SW7 |
| 1 | XC6221A282MR-G | Package_TO_SOT_SMD:SOT-23-5 | U1 |
Similar boards
- 2 layers92.5 × 175 mm

- 2 layers92.5 × 151 mm

- 2 layers99.6 × 69.6 mm

RGBW Lampe
martinclausen2/RGBW-Lampe
The "RGBW-Lampe" projects allows to create full color lighting appliances.
162 parts - 2 layers90 × 56 mm

Ledspiel
Solartraveler/led-toybox
Some RGB LEDs, some sound in a case give a good toy for kids
163 parts - 4 layers84.9 × 89.9 mm

- 2 layers

Enlightened Otter
Jana-Marie/Enlightened-Otter
Enlighted-Otter is an Open-Source and OSHW work-light for hacker/maker events like the chaos communication congress, which can be screwed onto a club mate bottle.
182 parts35GPL-3.0 - 4 layers36 × 90 mm

MotorShield
axpaul/Avionic-Sirius
Sirius experimental rocket avionic (On-board electronics) created by Paul Miailhe, Version 2023/2024 launched at C'space 2024
114 parts2 - 2 layers263.6 × 92.8 mm

Questions
How big is the Laser theremin PCB?
It measures 99.4 × 60.4 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Laser theremin use?
107 parts, built around the BMD-340-A-R, LM4861M, XC6221A282MR-G and BSS138. 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 Laser theremin KiCad files?
From the dczia/Defcon27-Badge repository on GitHub, at the commit this page was made from: the board is Hardware/laser-theremin.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Laser theremin design in my own project?
Its repository states no licence, so its author keeps all rights: ask dczia before reusing the design.