Hardware
Devices
IronBCI-32
Troubleshooting

Troubleshooting

USB and serial port

ProblemFix
No new serial port appearsThe data cable is probably charge-only. Use a full data cable (4 wires). Check it's in the Data Stream port, not Power.
Port appears, but no dataThe board needs power on the Power port too. Check the USB battery is on and charged.
Windows: unknown deviceUnplug and replug the data cable. Windows 10 and 11 include the USB serial (CDC) driver.
Linux: Permission denied on /dev/ttyACM0sudo usermod -aG dialout $USER, then log out and in again (or run with sudo).
Port is busy / Access is deniedAnother program has it open (a serial monitor, another script, PiEEG Server). Close it and try again. Only one program can use the port at a time.
Port name changesWindows may assign a new COM number for a different USB socket. Check Device Manager each time.

Software

ProblemFix
AttributeError: IRONBBCI_32_BOARD in 2.All_ch.pyTypo in the script. Change it to IRONBCI_32_BOARD.
BoardIds has no IRONBCI_32_BOARDBrainFlow is too old. Update it: pip install -U brainflow (tested with 5.20.1).
prepare_session failsWrong port name. Set params.serial_port (or --serial-port) to the port you found.
PiEEG Server: pyserial missingInstall the extra: pip install "pieeg-server[ironbci32]".
PiEEG Server: --serial-port is requiredThe IronBCI-32 needs the port: --device ironbci32 --serial-port COM3.
Real-time plot doesn't openInstall the plot libraries: pip install pyqtgraph PyQt5.
PiEEG Cloud has no serial optionUse Chrome or Edge. Safari and Firefox don't support Web Serial.

Signal

ProblemFix
Some channels completely flatThe electrode is on the top row of the header (shorted to REF). Move it to the bottom row. See Electrodes & Pinout.
Channel numbers seem mixed upThe pins are in the order 8-7-6-5-1-2-3-4 on each header, not 1–8. Check the pin order.
All channels noisy at onceCheck the reference and bias ear clips on the CH 1–8 header first. Clean the earlobes and clip them firmly.
Strong 50/60 Hz humThe laptop is probably on its charger. Unplug it and run on battery. Move away from power strips and other chargers.
Values in the tens of thousands of µVNormal DC offset in raw data. Turn on a band-pass filter (for example 1–40 Hz).
Big slow spikes on the front channelsBlinks and eye movements. Ask the person to keep the eyes still or closed.
Bursts of high-frequency noiseJaw, face or neck muscles. Relax the face, don't talk or chew.
Signal jumps when someone movesCable movement. Bundle the 32 leads, keep them short and still.

See Noise elimination for a step-by-step way to find the source of noise.

Board stopped working

If the board no longer creates a serial port with a known-good data cable and power, re-flash the firmware. See Firmware.

Still stuck?

Ask on Discord (opens in a new tab), open an issue on GitHub (opens in a new tab), or email pieeg@pieeg.com.