24-channel Raspberry Pi shield that measures EEG, EMG and ECG bio-signals with 3 × ADS1299, for denser whole-head EEG and BCI research.
Measure brain (EEG), muscle (EMG) and heart (ECG) signals on 24 channels with research-grade 24-bit precision, using the Raspberry Pi you already have. PiEEG-24 is an open-source shield that plugs straight onto the Raspberry Pi 40-pin header. Three Texas Instruments ADS1299 chips give you more electrodes for whole-head coverage, and you record and process the data right on the Pi.
Note: the Raspberry Pi, electrodes, EEG cap and power bank are not included. See "What you also need" below.
selftest.py checks all three chips, the sample rate, the noise floor and every channel, with no electrodes needed, and saves a report image.plot_live.py shows all 24 channels live with band-pass and 50/60 Hz notch filters and records to CSV.| Channels | 24, plus reference and bias |
| Analog front end | 3 × Texas Instruments ADS1299 (8 channels each) |
| Resolution | 24-bit per channel |
| Sample rate | 250 SPS (default), 500, 1000 or 2000 SPS in the SDK |
| Gain | 1, 2, 4, 6, 8, 12, 24 |
| Noise (self-test) | 0.47–0.85 µV on all 24 channels |
| Signals | EEG, EMG, ECG |
| Interface | SPI via the Raspberry Pi 40-pin GPIO header |
| Compatible boards | Raspberry Pi 3, 4 and 5 |
| Electrode connectors | 2.54 mm pin headers: J2 (Ref, Bias, E1–E8), J3 (E9–E16), J4 (E17–E24) |
| Board size | 75 × 66 mm, 4 × Ø 2.7 mm mounting holes at 58 × 49 mm |
| Power | 5 V via the Raspberry Pi, from a battery (power bank) only |
| Software | PiEEG-24 Python SDK (driver, self-test, live plot, CSV recording) |
Channels 1 to 8 (J2) are read by the first ADS1299, channels 9 to 16 (J3) by the second and channels 17 to 24 (J4) by the third. All 24 channels share the same reference and bias ear clips, on the top two pins of J2.
Get started in 4 steps
sudo raspi-config → Interface Options → SPI).pip install spidev numpy scipy matplotlib) and run python3 selftest.py. All 24 channels should pass.python3 plot_live.py to see all 24 channels live, and add --save rec.csv to record.The ADS1299's internal 1 Hz test signal, read on every channel. All three chips report ID 0x3E, every channel shows the same amplitude, and noise stays between 0.47 and 0.85 µV.
A 60-second recording at 250 samples per second, filtered with a 50 Hz notch and a 0.1–15 Hz band-pass. All 21 eye blinks stand out clearly, in 9 groups.
PiEEG-24 is not a medical device and is intended for research, education and engineering only. It must be powered from a 5 V battery (power bank) only. The Raspberry Pi and every device connected to it (monitor, keyboard) must be battery-powered while electrodes are on a person. Never connect it to mains power.