Realtime EEG / Neurostimulation / ML Tools
Uno TBS Signal Generator: trigger-in, burst-out theta-burst stimulation pulse generator on a bare Arduino Uno. Forceplate COP Biofeedback: real-time center-of-pressure visualization from dual Vicon force plates over LSL. Closed-loop BCI: real-time classification of corticospinal excitability from EEG/EMG at ~100ms end-to-end latency for movement-cueing and neurostimulation timing.
Arduino Uno R3 · ATmega328P · C/C++ · TTL trigger · Python · PyQt6 · pylsl · Vicon · C++ · MATLAB · LSL · MNE-Python · TMS
Uno TBS Signal Generator
Trigger-in, burst-out pulse generator on a bare Elegoo Uno R3 (Arduino-compatible, ATmega328P). On a rising-edge trigger (in this pilot, a KINARM analog output), fires one canonical theta-burst stimulation train — 10 bursts × 3 pulses, 50 Hz intra-burst / 5 Hz inter-burst, 2.000 s total — then a 2.9 s refractory lockout before re-arming. Deliberately generic: the trigger source and the device it drives (here, a TMS system) are just whatever is wired to the input/output pins. In use across multiple pilot sessions.
Elegoo Uno R3 · ATmega328P · C/C++ · TTL trigger · Arduino · TMS
Forceplate COP Biofeedback
Real-time center-of-pressure visualization from dual Vicon force plates over LSL. Force-weighted averaging (each plate weighted by its |Fz|) yields net COP; configurable optimal-zone, range, and exponential smoothing. 9 channels per plate at 1000 Hz.
Python · PyQt6 · pylsl · Vicon
Closed-Loop Brain-Computer Interface
Real-time classification of corticospinal excitability from EEG and EMG to identify optimal windows for movement cueing and neurostimulation, at ~100ms end-to-end latency. Co-wrote the R21 grant proposing to validate the approach clinically.
Python · C++ · MATLAB · LSL · MNE-Python · BCI · real-time inference
This deep-dive page is being rebuilt — short looping clips per feature, simple captions, see-don't-read. Older write-ups for some projects are preserved in projects/archive/.