Skip to content
EEG with Abi
Go back

Sat, 08/15/2026 - So it begins

Edit page

Sat, 08.15.26 - Phase 1: Electrodes -> Amplifier -> Arduino -> Computer

I started with the most basic setup I could do with what I had. My first thought was, “An electrode is just a sensor that picks up voltages right?” That was wrong. EEGs are actual differential signals. They answer the question, “What is the difference in voltage between two spots on the scalp.”

wiring diagram

I started off by just pulling out all the things I had for this project and writing them down. Then I refined my idea down to the most basic elements needed to get a signal from the electrode to the computer:

  1. The electrode for obvious reasons
  2. An amplifier because I know the signals coming off the electrode will be tiny
  3. An ADC (Analog to Digital Circuit) because a computer can’t read analog directly
  4. A connection to my computer
  5. Software to display the signal.

Setup

Thankfully I had the exact instrumentation amplifier from the instructable and I was able to cobble together the power sources using a couple AA battery holders I had lying around. I needed +9V and -9V so I wired them in series and grounded them at the connection point to get the right bias.

wiring pic

The electrodes were pretty straight forward, I just cut off the connectors they came with, stripped the insulation, and soldered the ends so they were easier to put in the bread board.

I plunked my AD620AN into a bread board and started connecting the pins according to my diagram.

Wiring

I started by putting together the power supply circuit and then making sure my power rails on the breadboard were at 9V and -9V. Always probe your power rails kids. I also used a totally detached separate rail entirely for ground. I kinda like this approach even tho it looks a little messier because you can count the grounds on the separate rail to make sure you have the right number.

Software

I need to make two software features for this phase:

  1. The actual software to read out of Dout from the IC
  2. Testing software to generate a signal that is kinda in the range of EEG or at least EEG enough to be sure everything is working-ish.

I have learned from experience not to put things on your head without testing to make sure they don’t zap you, explode, or burn down the house.

I probed all my pins to make sure the voltages were correct on each pin and they were…almost.

Voltage Probe Table — Inputs Grounded

Reference: black multimeter probe on circuit GND unless otherwise noted.

#Probe pointExpected voltageMeasured voltageNotes
1Battery 1 ++9 V+9 V
2Battery 1 − / GND rail0 V0 V
3Battery 2 +-9 V-9 VRemember the wire colors are reversed
4Battery 2 − / GND rail0 V0 VDitto above
6+9 V rail at AD620 +Vs+9 V+9 VAD620 pin 7
7−9 V rail at AD620 −Vs−9 V-9 VAD620 pin 4
8Arduino 5V+5 V+5 V
9Arduino GND0 V0 V
1010k/10k divider — top+5 V+5 VConnected to Arduino 5V
1110k/10k divider — midpoint / 2.5V REF+2.5 V+2.5 VAD620 REF
1210k/10k divider — bottom0 V0 VGND
13Electrode 1 / +EEG node0 VInput grounded
14Electrode 2 / -EEG node0 VInput grounded
15AD620 +IN0 V0 VPin 3
16AD620 -IN0 V0 VPin 2
17AD620 +IN relative to -IN~0 VRed = +IN, black = -IN
18AD620 G1Same as G2Gain resistor endpoint
19AD620 G2Same as G1Gain resistor endpoint
20Across 5.1k gain resistor (G1 → G2)~0 V
21AD620 REF+2.5 VPin 5
22AD620 OUT~+2.5 VPin 6, with both inputs at 0 V
23Arduino A0~+2.5 VSame electrical node as AD620 OUT
24AD620

Differential Measurements

For these, put the probes directly across the two named nodes.

#Red probeBlack probeExpected voltageMeasured voltage
D1Battery 1 +Battery 1 −
D2Battery 2 +Battery 2 −
D3Battery 1 +Battery 2 +
D4Divider 1 midpointGND
D5Divider 2 midpointGND
D6Op-amp + inputOp-amp − input~0 V*
D7Notch filter inputGND
D8Notch filter outputGND
D9Final outputGND

Unfortunately this is about where I’m stuck. All the voltages I measured are correct but something about the way the arduino is interacting is weird. I get -0.8v at the output pin 6 when pins 2 and 3 are pulled to ground. Connecting up the arduino I also see that there’s some backfeed of the power into the ground pin :grimace:. Not sure what’s wrong but that’s a tomorrow problem.

In the meantime, here’s the software plan!

Processing Software

Testing Signal


Edit page
Share this post:

Next Post
Sat, 08/16/2026 - So it continues