Great question! Always isolate Hardware → Cables → Skin Interface in three steps using the ADS1299 registers:
Step 1: Internal Hardware Noise Floor Test (CHnSET = 0x01)
Set all channel registers to Input Short mode:
This internally shorts the ADS1299 inputs, disconnecting external pins. Check the live graph or export to CSV:
- Pass: Signal fluctuates within ±1 to 3 µV. Your PiEEG board is 100% healthy.
Step 2: Single-Channel Cable EMI Test
Set Channel 1 to normal operation (write_byte(CH1SET, 0x00)) and keep Ch2–Ch8 at 0x01 with the electrode lead connected (not touching skin).
- If noise jumps drastically here, your unshielded lead is acting as an antenna near a monitor, power strip, or Wi-Fi router. Braid the leads, disable onboard Pi Wi-Fi/BT if recording locally, and place a rubber mat or book under the Pi.
Step 3: Skin-to-Electrode & Reference Ear-Clip
90% of "all channels railed or noisy at once" comes from a loose Reference / Bias ear clip:
- Clean the earlobe with an alcohol wipe and clip firmly.
- Part the hair at O1/O2 so the electrode pins touch scalp skin directly (add a tiny drop of conductive gel or saline if dry impedance is high).
- Wait ~10 seconds after touching the electrodes so the digital bandpass filter settles!