Reactive Brain Waves
summary
Connects a consumer Muse EEG headset to an Angular app over Web Bluetooth, parses each incoming packet of 12 samples, takes absolute+max and applies a hard threshold of 500 to detect blinks. Uses RxJS operators (filter, map, switchMap with a 300 ms timer, distinctUntilChanged) to debounce multiple peaks into single true/false events, binds via the async pipe to toggle a CSS eye, and writes Bluetooth characteristic bytes to a smart bulb — demo works live; hardware costs around $250.
AI-written summary · about
chapters (10)
- 0:00Reactive brain waves demo
- 3:43Web Bluetooth technology
- 5:55Muse EEG headset
- 9:35RxJS for brainwave data
- 11:04Live Angular with Muse data
- 21:49Filtering eye blinks
- 28:41Visualizing blinks
- 33:14Smart bulb control
- 39:54Web Bluetooth future
- 41:17Q&A
related talks
33mReactive Brain Waves
26mReactive Brain Waves
24mReactive Brain Waves
10mI can read your mind using JavaScript
46mControlling apps with your mind
34mMind controlling the Web with Brain Computer Interfaces
35mNeuroJS - Capturing And Visualizing Brainwaves With Angular 2
30mFrom Web Developer to Brain Artist
