Hardware
Devices
ardEEG
How to Start

How to Start

From the box to live EEG on your computer, in seven steps.

Gather the parts

You need the ardEEG, an Arduino UNO R4 WiFi, a small 5 V power bank, a USB-C cable, 8 electrodes with two ear clips, a cap, and a computer on Wi-Fi. See What's in the Box.

Find your computer's IP address

The Arduino sends data to your computer's address on the Wi-Fi network.

SystemHow
Windowsipconfig in a terminal → IPv4 Address of the Wi-Fi adapter
macOSSystem Settings → Wi-Fi → Details → IP address
Linuxip addr → the address of the Wi-Fi interface

It looks like 192.168.1.241. Note it down.

Upload the Arduino sketch

  1. Install the Arduino IDE (opens in a new tab) and the Arduino UNO R4 Boards package (Tools → Board → Boards Manager).
  2. Open 1.Send_data_via_wifi.ino (opens in a new tab).
  3. Enter your Wi-Fi name and password:
    char ssid[] = "Wifi Name";
    char pass[] = "password";
  4. Enter your computer's IP address in this line:
    udp.beginPacket("192.168.1.241", 13900);
  5. Plug the Arduino into the computer with USB-C, choose Arduino UNO R4 WiFi and its port, and click Upload.
  6. Unplug the USB cable.

Mount the shield

Line up the ardEEG with the Arduino's headers and press it down evenly until all pins are seated. Do this with the Arduino unpowered.

Connect the electrodes

ConnectorElectrodeWhere it goes
Channels 1–88 EEG electrodes in the capScalp positions of the 10-20 system
ReferenceEar-clip electrodeOne earlobe
BiasEar-clip electrodeThe other earlobe

Wiring of channels 1–8, reference and bias

Details and a suggested montage: Electrodes & Pinout.

Power on from the battery and run Python

  1. Plug the power bank into the Arduino. It joins your Wi-Fi and starts sending.
  2. On the computer, install the libraries and run the receiver:
pip install matplotlib scipy
git clone https://github.com/Ildaron/ardEEG.git
cd ardEEG/software/python
  1. Open 1.Alpha_real_time.py, set UDP_IP to your computer's IP (the same address as in the sketch), then run it:
python 1.Alpha_real_time.py

A window opens with 8 live graphs.

🚫

The ardEEG has no isolation. While electrodes are on a person, the Arduino must run from the power bank only, never plugged into the computer.

Check the signal

The receiver script shows the 8–12 Hz (alpha) band. Sit still and relax the face, then:

TestWhat you should see
Sit still for 30 secondsAll 8 channels settle to a small, steady signal
Close your eyes for 10 secondsThe alpha signal grows, then shrinks when the eyes open
Chew or blinkLarge bursts (best seen with a 1–40 Hz filter)

Alpha with eyes closed and open, recorded with ardEEG

Next steps