Back to Discussions
38
PinnedHardwareSolved

Getting 50/60Hz hum and noisy channels on PiEEG-8 — how do I tell if it is my board or electrode contact?

Alex Mercer (Neuro-Maker)Contributor· Posted 11h ago
512 views2 replies

Hi everyone! I just assembled my PiEEG-8 on a Raspberry Pi 4 powered from a 5V/3A power bank. When I clip the reference to my earlobe and place dry electrodes on O1/O2, I see huge oscillations and what looks like 50Hz mains interference across several channels.

Before I blame my electrode placement or cables, is there a deterministic way to test the ADS1299 chip's internal noise floor first?

2 Replies

Accepted Solution
44
ildarFounder & Lead Engineer
· 11h ago

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:

python
write_byte(CHnSET, 0x01)

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:

  1. Clean the earlobe with an alcohol wipe and clip firmly.
  2. 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).
  3. Wait ~10 seconds after touching the electrodes so the digital bandpass filter settles!
12
Alex Mercer (Neuro-Maker)Contributor
· 11h ago

Setting CHnSET = 0x01 gave me a rock-solid ±1.8 µV flat line! Turned out my HDMI monitor was plugged into the wall right next to the electrode leads AND my reference ear clip was sitting on dry skin. Cleaned the earlobe and moved 1m away from the monitor—clean alpha waves now!

Your Reply

You'll verify with a quick 6-digit email code when posting.
Getting 50/60Hz hum and noisy channels on PiEEG-8 — how do I tell if it is my board or electrode contact? — PiEEG Community Discussions