All work

HUMAN–COMPUTER INTERACTION

Head- and eye-controlled cursor

Separate continuous movement from discrete intent.

EOG + IMUSTM32Kalman filterSVM
ROLE

Firmware and signal processing · 5-person capstone team

WHEN

Sep 2025 — May 2026

STATUS

Real-hardware demonstration

Wearing the cursor prototype: head-mounted sensor box and EOG electrodes on the face

THE IDEA

A hands-free way in.

For my Rutgers senior capstone, our five-person team built a hands-free cursor using dual-channel EOG and head-motion sensing. I owned firmware and signal processing, including the analog front end, sensor acquisition, drift correction, and the eye-event classification pipeline. Our mentor was Simiao Niu.

MY CONTRIBUTION

What I worked on

01

Sensing and acquisition

Designed a dual-channel AD8232 analog front end for EOG and implemented STM32 acquisition at approximately 200 Hz, with IMU input and serial streaming to the host.

02

Drift correction

Applied Kalman filtering to estimate gyroscope bias. This separates slowly changing sensor offset from intended head motion before the cursor controller accumulates it.

03

Intent and interaction

Trained an RBF SVM on six recorded eye states. Combined eye events with head motion for clicking and scrolling, and evaluated action success using real hardware.

ENGINEERING CHALLENGE

Find the bias behind the drifting cursor

The cursor’s state-space dynamics can accumulate a small gyroscope bias into visible drift. The useful fix was to estimate the changing bias with a Kalman filter and correct the motion input. This addressed the sensor-and-controller interaction directly, rather than treating drift as an eye-classification error.

RESULTS & SCOPE

What the work shows

Classification

87.0% ± 0.9% five-fold CV accuracy over 2,347 feature windows and six classes.

Interaction

Approximately 77% mean success across the tested actions, with 20 attempts per action.

Idle behavior

Eight unintended actions in a 10-minute idle trial (approximately 0.8 per minute).

Runtime

Continuous hardware sessions of more than 10 minutes without restart.

Current boundaries

Window-level cross-validation accuracy is different from end-to-end interaction success. Left/right gaze classes were not included in the evaluated ML dataset; navigation and centering actions requiring those classes were not evaluated in that mode.

THE HARDWARE

Inside the prototype

The opened head-mounted sensor box on a desk, with its circuit boards, headband and EOG electrode leads
The head-mounted sensor box opened up, with the headband and the EOG electrode leads.

SEE IT IN ACTION

Capstone demonstration

Watch the team’s head- and eye-controlled cursor demonstration on YouTubeWatch the demo on YouTube

KEEP EXPLORING

Brain-to-text speech decoding