Table of Contents

Measuring Visually Evoked Potentials with the Raspberry Pi

Quick Summary

What we're exploring: Whether we can reliable measure VEPs on the Raspberry Pi. A Checkerboard stimulus is created using a low-level implementation that synchronizes with the Pi-EEG Shield measurements.

Environment & Setup

Hardware Used :

Software Used :

Key Findings

What Worked

What Didn't Work

Realtime Linux:

I tried setting up RaspberryPi with the newly provided realtime option for newer linux kernels.

The option for the realtime kernel has to be provided during compile time, and the raspberry pi kernel is not identical to the vanilla linux kernel, so I think that due to this it does (at the current time) not directly support simply setting the RT flag. There is no separate branch that supports realtime linux for the raspberry pi. Theoretically, realtime patches for the raspberry pi should work, but I didn't get it to work, without figuring out the issue.

Directly using the C code from the PiEEG Shield The C code is outdated, and there is essentially no explanation. It was necessary to look at the python code and translate it to C.

Surprises & Insights

A few initial key insights about the PiEEG Code:

Quite a few things may be set via the ads1299 registers:

Recommendations

Should we proceed?: Yes

If yes, what needs to happen?

Open Issues

The scale / unit that is measured is off / wrong.

External Ressources

Papers

Images