This is a first-principles walkthrough of a DIY, single-channel BCI that produces three real-time keyboard control signals: a focus trigger, a double blink trigger, and a triple blink trigger. Instead of relying on a trained model, this version uses a fully on-device, rule-based pipeline that is transparent to tune and debug during live use. The hardware is a BioAmp EXG-style single-channel front-end with an Arduino UNO R4 Minima running the signal processing on-board, while a native SwiftUI macOS app acts as the operator console and key-output controller over a simple USB serial protocol.
— version 1 at 2025-11-16 —
This is a first‑principles walkthrough of a DIY brain‑computer interface that triggers a “shoot” action in a first‑person shooter using one EEG channel centered over C3. I used the BioAmp EXG Pill with an Arduino for digitization and Python for signal processing. The system detects sensorimotor rhythm modulations in the 8 to 30 Hz range and converts them into discrete click events. The goal is to give you a replicable blueprint, plus a critical analysis of what worked, what did not, and how to design a more rigorous second experiment.