DC34 Badge Motion SensingWrite-up
Uses the DEF CON 34 badge’s existing accelerometer to work out whether its wearer is walking, standing, sitting, or not wearing it, and draws the answer on the idle screen.
Details
- Records labelled motion off the badge, trains a decision tree on a laptop, and compiles it back into the firmware. Inference runs on a RISC-V core with no floating-point unit.
- Adds a shared sampler and a CSV data logger, and fixes the interrupt configuration that let the screen blank while the badge was being worn.



