Hardware
Devices
PiEEG-8
Electrodes & Pinout

Electrodes & Pinout

Electrode connections

PiEEG-8 has three kinds of electrode inputs.

InputCountElectrodePurpose
Channels 1–88Dry or wet Ag/AgCl, in the capEach channel measures the voltage between its electrode and the reference
Reference1Ear clip on one earlobeThe common 0 µV point that all 8 channels are measured against
Bias1Ear clip on the other earlobeActively drives the body to cancel common-mode noise such as 50/60 Hz mains hum

Channels 1–8, reference and bias wiring from the cap to the PiEEG-8

The electrode header is a standard 2.54 mm pin header, so most EEG cables with 2.54 mm (0.1") female connectors fit. Check the pitch before using a third-party cap. See Cap.

2.54 mm electrode header used on PiEEG devices

The reference and bias clips matter most. A loose ear clip makes every channel noisy at once. Clean the earlobe and make sure both clips sit firmly before you look at anything else.

Default montage

Place the electrodes on the 10-20 system. This 8-channel layout covers the front, centre, sides and back of the head, and it is the default channel naming used by BrainFlow for PiEEG.

ChannelPositionAreaGood for
1Fp1Front leftBlinks, eye movement
2Fp2Front rightBlinks, eye movement
3C3Centre leftMotor activity (right hand)
4C4Centre rightMotor activity (left hand)
5P7Back left, sideParietal and temporal activity
6P8Back right, sideParietal and temporal activity
7O1Back leftAlpha rhythm, vision
8O2Back rightAlpha rhythm, vision

International 10-20 electrode positions

You can use any other positions. Just keep a note of which channel went where, because the software only knows channel numbers.

Fitting the cap

  1. Measure the head and pick the right cap size.
  2. Find Cz (halfway between nose and the back of the head, halfway between the ears) and align the cap with it.
  3. Dry electrodes: part the hair under each electrode so it touches the scalp.
  4. Wet electrodes: inject a small amount of conductive gel under each electrode and work it through the hair with the blunt syringe tip.
  5. Attach the ear clips to clean earlobes.
  6. Ask the person to sit still and relax the face and jaw.

Raspberry Pi pinout

The shield talks to the Pi over SPI0. Five signal pins on the 40-pin header are used:

Header pinRaspberry Pi GPIOSignalDirection
19GPIO 10SPI0 MOSIPi → ADS1299
21GPIO 9SPI0 MISO (DOUT)ADS1299 → Pi
23GPIO 11SPI0 SCLKPi → ADS1299
24GPIO 8SPI0 CE0 (chip select)Pi → ADS1299
37GPIO 26DRDY (data ready)ADS1299 → Pi

The shield also takes its power and ground from the header.

PiEEG-8 SPI and DRDY pins on the 40-pin header

DRDY goes low each time a new sample is ready (250 times per second). Software waits for this edge, then reads 27 bytes over SPI. Details in Specification.

The other GPIO pins are not used by the shield. You can still use them for your own buttons, LEDs or triggers, as long as you can reach them with the shield mounted.

Manuals