Caspar Chen

Back to selected work

ScareMouse

Tinnitus research · Loyola University Chicago

An open-source startle-response system for tinnitus research at Loyola University Chicago.

What it does

ScareMouse plays a sudden loud sound for a mouse and measures how strongly it flinches. That reflex is the acoustic startle response, and it can be used to evaluate tinnitus in mice. A load cell picks up the movement, speakers play the sound, and a Raspberry Pi interface runs the session and records the data.

I built this as a tinnitus research intern at Loyola University Chicago (May 2023–September 2025). Equipment for this exists, but it is proprietary. ScareMouse is meant to be an open-source alternative.

How the pieces fit

The speakers play the stimulus. The load cell measures the response, and Arduino-based hardware reads it. A Raspberry Pi with a touchscreen GUI ties these together so someone can start a session and look at the data without digging through scripts. The code for both the interface and the Arduino side is on GitHub.

SPEAKERSstimulusLOAD CELLforceARDUINOsamplesRASPBERRY PItrials · timing · logsound
System diagram, simplified. Wiring and trigger paths are not shown.

What I worked on

I designed the Arduino side that tracks the response to sound, and developed the Raspberry Pi touchscreen GUI for running experiments and viewing data. That also meant coordinating the audio with the measurements and keeping the data collection automatic enough to reuse.

What was hard

The useful number is the time between the sound and the response, so the audio and the load cell data have to share a clock. If they drift apart, the measurements stop meaning much.

Making the setup behave the same way every session mattered as much as making it work once.

STIMULUSspeaker outFORCEload cellt0 · stimulus onresponseΔtsamplestime →tone burststartle peakΔt only means something ifboth traces share a clock
A startle response plotted against the sound that caused it. Illustration, not data.
Caspar, wearing a conference lanyard, explaining a research poster about acoustic startle response to two people.
Presenting the startle response research.