Firmware for the Defcon 27 DCZia badge.
880
____ ____ ______ ____ ____ ____ _____
| _ \ / ___|__ (_) __ _ | _ \ / ___|___ \___ |
| | | | | / /| |/ _` |_____| | | | | __) | / /
| |_| | |___ / /_| | (_| |_____| |_| | |___ / __/ / /
|____/ \____/____|_|\__,_| |____/ \____|_____/_/
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.
Rigado BMD-340 aka NRF52 Microconroller
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
Screen - SSD1306 OLED
SD Card
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
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/

Content type
Image
Digest
Size
2.7 MB
Last updated
about 7 years ago
docker pull ancients/defcon27badge