Hardware
Devices
PiEEG-16
Electrodes & Pinout

Electrodes & Pinout

Electrode connections

PiEEG-16 has two groups of 8 channels, one for each ADS1299 chip, plus a shared reference and bias.

InputCountElectrodePurpose
Channels 1–88Dry or wet Ag/AgCl, in the capRead by ADS1299 #1
Channels 9–168Dry or wet Ag/AgCl, in the capRead by ADS1299 #2
Reference1Ear clip on one earlobeThe common 0 µV point that all 16 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 and 9–16, reference and bias wiring from the cap to the PiEEG-16

The electrode headers are standard 2.54 mm pin headers, 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 all 16 channels noisy at once. Clean the earlobes and make sure both clips sit firmly before you look at anything else.

Suggested montage

Place the electrodes on the 10-20 system. This layout covers the whole head. Channels 1–8 are the same as the PiEEG-8 default, so recordings from both boards can be compared.

ChannelPositionAreaChannelPositionArea
1Fp1Front left9F7Front left, side
2Fp2Front right10F8Front right, side
3C3Centre left11F3Front left
4C4Centre right12F4Front right
5P7Back left, side13T7Left temple
6P8Back right, side14T8Right temple
7O1Back left15P3Back left, top
8O2Back right16P4Back right, top

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.

With 16 electrodes, cable management matters. Bundle the leads together and keep them short and still. Moving cables show up as noise.

Raspberry Pi pinout

Both ADS1299 chips share the SPI0 bus. Each chip has its own chip-select line and its own data ready (DRDY) line.

Header pinRaspberry Pi GPIOSignalChip
19GPIO 10SPI0 MOSIBoth
21GPIO 9SPI0 MISO (DOUT)Both
23GPIO 11SPI0 SCLKBoth
24GPIO 8SPI0 CE0 (chip select)ADS1299 #1 (channels 1–8)
35GPIO 19Chip select, driven by softwareADS1299 #2 (channels 9–16)
37GPIO 26DRDY 1 (data ready)ADS1299 #1
33GPIO 13DRDY 2 (data ready)ADS1299 #2

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

PiEEG-16 SPI, chip-select and DRDY pins on the 40-pin header

Each DRDY line goes low when its chip has a new sample (250 times per second). Software waits for DRDY 1 and reads chip 1, then waits for DRDY 2, pulls GPIO 19 low and reads chip 2. Details in Specification.

Manuals