Back to search

University of South Carolina

EEG P300 AI Classification and Accessibility Keyboard Control Using Openbci’s Ultracortex Mark IV for Reactive Brain-Computer Interaction

Abstract

dc:description.abstract

Brain-computer interfaces provide people who cannot feasibly control a keyboard and mouse with an alternative method to type, to move a cursor, or to generally issue commands and make selections. A non-invasive recording modality for brain-computer interfaces is electroencephalography, or EEG. The OpenBCI Ultracortex Mark IV is an EEG headset enabling relatively low-cost EEG acquisition using wet or dry electrodes. P300 is an event-related potential involving a deflection in an EEG channel's voltage typically 300 milliseconds after the onset of an "oddball" stimulus. A person's P300 response can be used to control a selector application. This study investigates classification of the visual P300 using the Mark IV, an example selector application, and finally a novel approach to flashing screen options (random subsets) and determining a user's desired option, demonstrated using the macOS Accessibility Keyboard. A neural network trained on data from a visual P300 task using a 10% probability oddball and evaluated on a separate test session achieved a .87 weighted F1 score, demonstrating cross-session generalization. The same model achieved a .90 weighted F1 score on data from a selector P300 task flashing one of 10 options with uniform probability, demonstrating cross-task generalization. Another neural network pretrained using the previous model, fine-tuned on data from the selector task, and evaluated on a live deployment session achieved a .87 weighted F1 score, but only typing accuracy of 41.7% at 5.19 characters per minute, demonstrating the effect of false positives. Another neural network trained on data from another selector task based on the macOS Accessibility Keyboard and evaluated within-subject achieved a .89 weighted F1 score on a participant wearing dry electrodes, with a simulated deployment performance of 62.32 seconds per key with 95.69% typed accuracy using 78 keys. This work contributes to the field of brain-computer interaction and could be applied to empower people with muscular or spinal disabilities to directly control any program on their computer.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Computer Science
Level thesis:degree_level
Open Access Thesis
Discipline thesis:degree_discipline
Computer Science and Engineering

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • King, Grant
Contributors dc:contributor
  • Homayoun Valafar

Subjects

dc:subject × 7

Rights

dc:rights
Statement dc:rights
  • © 2026, Grant King

Identifiers

dc:identifier.*
Repository record dc:identifier
https://scholarcommons.sc.edu/etd/8738

Chain of custody

source
Harvested from
University of South Carolina
Base URL
scholarcommons.sc.edu/do/oai/
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

King, Grant. EEG P300 AI Classification and Accessibility Keyboard Control Using Openbci’s Ultracortex Mark IV for Reactive Brain-Computer Interaction. Open Access Thesis thesis, https://scholarcommons.sc.edu/etd/8738