PiEEG XR Live on Kickstarter
Interactive 3D model — drag to rotate, tap JP1 to bridge the gain jumper1 / 9

Global Shipping

DHL / FedEx / Air

Factory Tested

Official Elecrow Line

MIT Open SDK

Python, C, Cloud

Lab Discounts

10–20% on 5+ units

EMG · ECG · EOG · EEG Bio-Signal SensorNew

Buy EasyEXG

EasyEXG is a single-channel bio-signal amplifier for EMG, ECG, EOG and EEG. Plug in a standard 3-lead electrode cable, connect GND, VCC and OUT to any microcontroller with an ADC, and read your body's signals with analogRead(). A TI INA333 instrumentation amplifier and a TI OPA4388 quad op-amp give 221× or 1 048× gain, a 0.16–501 Hz band and an active driven-right-leg reference that removes mains hum.

Official Store Price
$39USD
In Stock · Ready to Ship

Fulfilled worldwide via Elecrow

Signals
EMG · ECG · EOG · EEG
1 differential channel + REF
Gain
221× / 1 048×
Set by solder jumper JP1
Bandwidth
0.16–501 Hz
−3 dB, 2nd-order low-pass
Supply
3.3 V or 5 V
Any MCU with an ADC
Choose Purchase ChannelOfficial Hardware Guarantee
Buy on ElecrowOfficial Manufacturing Partner · Ships Worldwide$39

Direct Store Priority Waitlist

Launching Soon

Want to buy EasyEXG directly on pieeg.com? Get notified first when direct checkout, express warehouse dispatch, and launch perks go live.

Ordering 5+ units for a university, classroom, or lab? Save 10–20% with an official institutional quote & Purchase Order. Build Instant Quote →
Essential Companions

Complete your EasyEXG setup.

Recommended accessories and kits verified for EasyEXG.

Multi-signal$85
EMG / ECG / EKG Kit

EMG / ECG / EKG Kit

3 snap lead cables + 50 adhesive Ag/AgCl surface electrodes for EMG, ECG, and EEG.

8 channels$350
ardEEG

ardEEG

Bring 8-channel 24-bit EEG, EMG, and ECG to the Arduino UNO R4 WiFi ecosystem.

16 channels$370
OctoBio Kit

OctoBio Kit

16-channel wireless EEG + Arduino starter kit, programmed with blocks in the browser.

What’s in the Box

Included with your EasyEXG order

  • 1×

    EasyEXG bio-signal board

    3.5 mm electrode jack (J1), 3-pin electrode header (J2), 4-pin output header (J3)

  • 1×

    Open-source sketches & Python viewer

    USB sketch, Wi-Fi sketch and EasyEXG Studio on GitHub

Required for Operation

Check before you order so your lab is ready on day one

  • Microcontroller with an ADC: Arduino UNO R4 WiFi, UNO, Nano, ESP32, ESP8266, STM32 or Raspberry Pi Pico (not included)
  • 3-lead snap electrode cable with a 3.5 mm TRS plug and Ag/AgCl gel electrodes (not included)
  • 5 V power bank or a laptop on battery while electrodes are on a person
  • Soldering iron, only to bridge JP1 for ECG / EEG

Safety Note: EasyEXG is an open-source research and education device, not a medical device. Always power the host board from an isolated 5V battery bank—never while plugged into AC wall mains.

Why EasyEXG.

Four Signals, One Board

Record muscle activity, heartbeat, eye movement and frontal brain waves with the same board. Leave JP1 open (221×) for EMG and EOG, bridge it (1 048×) for ECG and EEG.

Low-Noise Analog Chain

TI INA333 instrumentation amplifier (CMRR ≥ 100 dB), 0.16 Hz high-pass, 500 Hz 2nd-order Sallen-Key low-pass and a driven-right-leg reference on a TI OPA4388 quad op-amp.

Three Wires to Any Microcontroller

GND, VCC and OUT to Arduino UNO R4 WiFi, UNO, Nano, ESP32, ESP8266, STM32 or Raspberry Pi Pico. Ready-made USB and Wi-Fi sketches plus the EasyEXG Studio Python viewer.

Technical Specifications

Want interactive pinout diagrams, live signal simulations, and step-by-step wiring code?

Open EasyEXG Engineering Guide
Channels1 differential input (IN+, IN−) plus REF / driven right leg
SignalsEMG, ECG, EOG, EEG
Instrumentation AmplifierTI INA333, gain 9.9×, CMRR ≥ 100 dB
Op-AmpTI OPA4388 quad: VCC/2 reference, driven right leg, high-pass + gain, low-pass
Total Gain221× (JP1 open, EMG / EOG) · 1 048× (JP1 bridged, ECG / EEG)
Bandwidth (−3 dB)0.16–501 Hz · low-pass 500 Hz, 2nd-order Sallen-Key (Q = 0.73)
Max Input Before Clipping10.9 / 7.2 mV (221×) · 2.3 / 1.5 mV (1 048×) at 5 V / 3.3 V
Output1 analog signal, rests at VCC/2
Supply3.3 V or 5 V, absolute max 5.5 V
DRL Current Limit390 kΩ, about 13 µA into the body at 5 V
Electrode ConnectorsJ1: 3.5 mm TRS jack (CUI SJ-3523-SMT) · J2: 3-pin 2.54 mm header
Output ConnectorJ3: 4-pin 2.54 mm header (GND, VCC, OUT, VREF)
PCB46.0 × 26.0 × 1.6 mm, 2-layer FR-4, components on top only, 2 × M2 holes
IsolationNone — battery operation required while electrodes are on a person
LicenceOpen hardware, CC BY-NC 4.0
Interactive guide

One board, four signals

Muscle, heart, eyes and brain use the same board — only the gain jumper and the three electrode positions change. Pick a signal to see where the electrodes go and what to expect.

Muscle activity: electrode placement and typical signal

Animation: typical signal as an illustration, not a recording.

JP1 open · 221×

Muscle activity

Clench your fist and the trace bursts; relax and it goes flat. The stronger the contraction, the bigger the bursts. Use the envelope to switch LEDs, servos and relays.

●
ElectrodePlugWhere
IN+TipForearm muscle, a hand-width from the wrist
IN−RingSame muscle, 2–3 cm further along
REFSleeveElbow (a bony spot)
Size at skin
0.1–5 mV
View filter
20–240 Hz
Sample rate
500–1000 Hz
  • Put IN+ and IN− along the muscle fibres, over the belly of the muscle.
  • Other muscles work the same way: biceps, calf, jaw (masseter).
  • Sample at 1000 Hz for the full EMG band (20–450 Hz).

How the signal flows

An instrumentation amplifier, a high-pass with gain, a 2nd-order low-pass and a driven-right-leg reference. Flip the jumper and the supply to see what changes.

JP1
Supply
  1. InputElectrodesIN+ − IN− · REF driven
  2. U1 · INA3339.9×CMRR ≥ 100 dB
  3. U2C · high-pass22×0.16 Hz
  4. U2D · low-pass1×500 Hz Sallen-Key
  5. J3 · OUT2.5 Vrest = VCC/2
  6. Your MCUADCA0 on UNO / R4
Total gain
221×
Max input before clipping
10.9 mV
1 count, 10-bit ADC
≈ 22 µV
Band (−3 dB)
0.16–501 Hz
Use for
EMG, EOG
Simulated gain of EasyEXG versus frequency for JP1 open and bridged
Simulated in ngspice (10 MHz OPA4388 model). Blue: JP1 open. Green: JP1 bridged. Flat 0.16–500 Hz.
  • U2A makes the mid-supply reference VREF = VCC/2, so OUT can swing both ways from one supply.
  • U2B drives REF (driven right leg). It keeps the body at mid-supply and removes most 50/60 Hz hum; 390 kΩ limits the current to about 13 µA at 5 V.
  • 0.16 Hz high-pass removes electrode drift but keeps the true ECG shape.
  • 500 Hz 2nd-order low-pass (Q = 0.73) covers the whole EMG band (20–450 Hz) and cuts noise above it.
  • Power EasyEXG from the same voltage as your ADC: OUT swings between 0 V and VCC.

From the box to a live signal

Six steps to a muscle signal in the Arduino Serial Plotter. The same steps work for ECG, EOG and EEG: only JP1 and the electrode positions change.

  1. 1

    Gather the parts

    EasyEXG, a microcontroller (Arduino UNO, Nano or UNO R4 to start), 3 jumper wires, a 3-lead snap cable with a 3.5 mm plug, 3 gel electrodes and a USB cable.

    The four steps: wiring, electrodes, upload, read the signal
  2. 2

    Set the gain jumper JP1

    JP1 ships open (221×) — right for EMG and EOG. For ECG and EEG, bridge its two pads with a small solder blob (1 048×). Board unpowered; solder wick opens it again.

    JP1 gain jumper: open 221× for EMG and EOG, bridged 1 048× for ECG and EEG
  3. 3

    Wire J3 to the Arduino

    Arduino unplugged. Three jumper wires; VREF stays unconnected.

    J3 pinArduinoWire
    GNDGNDgrey
    VCC5V (or 3.3V)red
    OUTA0yellow
    VREF—not connected
    EasyEXG wired to an Arduino UNO R4 WiFi
  4. 4

    Upload the sketch

    Install the Arduino IDE, open Arduino/EasyEXG_Arduino.ino from the repository, choose your board and port in Tools, click Upload. The sketch samples A0 at 500 Hz and prints the signal and its envelope.

    Arduino/EasyEXG_Arduino.ino (core)
    const int  PIN  = A0;      // PA0 on STM32, A0 = GP26 on the Pico
    const long BAUD = 115200;
    const int  FS   = 500;     // samples per second
    
    void loop() {
      // ... runs every 1/FS seconds
      int raw = analogRead(PIN);
      baseline += (raw - baseline) * 0.002f;          // slow drift removal (~1 s)
      float signal = raw - baseline;                  // biosignal centred at 0
      envelope += (fabs(signal) - envelope) * 0.02f;  // activity level (EMG)
      Serial.print(signal);   Serial.print(' ');      // trace 1: signal
      Serial.println(envelope);                       // trace 2: envelope
    }
  5. 5

    Place the electrodes

    Clean the skin with an alcohol wipe. Snap the electrodes onto the cable first, then stick them on: IN+ (Tip) on the forearm muscle, IN− (Ring) 2–3 cm further along, REF (Sleeve) on the elbow. Plug the cable into J1.

    Electrode inputs: 3.5 mm jack J1 and 3-pin header J2 carry IN+, IN− and REF
  6. 6

    Read the signal

    Unplug the laptop charger first. Open Tools → Serial Plotter at 115200 baud. Relax: both traces flat. Clench your fist: bursts on the signal, the envelope rises.

    TestWhat you should see
    Relax the armBoth traces close to flat
    Clench your fistBursts on the signal, the envelope rises
    Relax againBoth traces go flat

    No isolation: unplug the laptop charger before the electrodes go on, or use the Wi-Fi sketch with a power bank.

Wire it to your board

Three wires: GND, VCC and OUT. VREF is optional. Always power EasyEXG from the same voltage as the microcontroller's ADC.

EasyEXG J3UNO R4 WiFi
1GNDGND
2VCC5V
3OUTA0
4VREFnot connected (optional)

Software: USB or Wi-Fi sketch

The best all-rounder: USB sketch for the first test, Wi-Fi sketch + EasyEXG Studio for a cable-free setup. Set ADC_BITS = 14 for EEG.

EasyEXG wired to UNO R4 WiFi

Electrode inputs — use J1 or J2, not both

SignalJ1 · 3.5 mm jackJ2 · 3 pinsPurpose
IN+Tippin 1 · "+" (square pad)Positive measuring electrode
IN−Ringpin 2 · "−"Negative measuring electrode
REFSleevepin 3 · "REF"Driven right leg: cancels mains hum

Cable colours differ between makers. Follow the plug position (Tip / Ring / Sleeve), not the colour — or check with a multimeter in continuity mode.

EasyEXG connection overview: electrode jack, output header and gain jumper

Software

EasyEXG gives an analog signal, so any code that calls analogRead() can use it. The repository has two ready-made ways to see it.

Arduino/EasyEXG_Arduino.ino
const int  PIN  = A0;      // PA0 on STM32, A0 = GP26 on the Pico
const long BAUD = 115200;
const int  FS   = 500;     // samples per second

void loop() {
  // ... runs every 1/FS seconds
  int raw = analogRead(PIN);
  baseline += (raw - baseline) * 0.002f;          // slow drift removal (~1 s)
  float signal = raw - baseline;                  // biosignal centred at 0
  envelope += (fabs(signal) - envelope) * 0.02f;  // activity level (EMG)
  Serial.print(signal);   Serial.print(' ');      // trace 1: signal
  Serial.println(envelope);                       // trace 2: envelope
}
  • Reads A0 at 500 Hz, removes the resting level (≈ 512 counts = VCC/2) and prints two numbers per line.
  • Open Tools → Serial Plotter at 115200 baud. Blue: the signal. Yellow: the envelope.
  • On another board change PIN (PA0 on STM32; A0 is GP26 on the Pico).
  • The board is cabled to the computer: the laptop must run on battery, charger unplugged.
Real horizontal EOG recording in EasyEXG Studio: raw and band-pass filtered
Real horizontal EOG in EasyEXG Studio (JP1 open, 500 Hz): raw on top, 0.1–10 Hz with a 50 Hz notch below. The trace steps down for left, up for right.

EasyEXG Studio modes

ModeBand-passJP1 / gainWindowExtra
EEG1–40 HzBridged, 1 048×5 sAlpha (8–12 Hz) share of power
EOG0.1–10 HzOpen, 221×10 s–
EMG20–240 HzOpen, 221×3 sActivity line (moving RMS)
ECG0.5–40 HzBridged, 1 048×5 sHeart rate (bpm)

Change band-pass, notch (50 / 60 Hz), gain (must match JP1) and window; start ● Record CSV (time_s, raw_uV, filtered_uV, mode, band_Hz, gain), or pick Source → Demo to try it without a board.

Wi-Fi packet (little-endian)

BytesTypeContent
0–3char[4]"EXG1"
4–7uint32Index of the first sample
8–9uint16Number of samples (normally 25)
10–11uint16Sample rate (Hz)
12uint8ADC bits
13–15—Padding
16…float, floatPer sample: signal, envelope (ADC counts, centred at 0)

The PC sends HELLO to UDP 5005 about once a second; the board streams to the last PC that said hello and stops 5 s after the hellos stop.

Counts to microvolts

µV at the electrodes = counts × VREF / 2bits / gain × 106. Subtract the resting level (about half the ADC range) first, as the sketches do.

VREF
ADC
Gain
At the electrodes884 µV
1 count22.1 µV
Largest typical signal vs. this step
  • EEG 10–50 µV coarse · 2 steps
  • EOG 100–1000 µV fine · 45 steps
  • ECG 500–2000 µV fine · 91 steps
  • EMG 100–5000 µV fine · 226 steps

Examples to build

Starting points for real projects: Arduino sketches, Python and MicroPython. Copy one, tune the threshold for your own signal in the Serial Plotter, and build on it.

EMGArduinoBeginnerAny Arduino

Muscle switch

Clench your fist to turn an LED on. The envelope is compared with a threshold, with a little hysteresis so it doesn't flicker. Swap the LED for a relay module to switch a lamp or a fan (low voltage only).

You need: EasyEXG (JP1 open) · the built-in LED, or an LED + 220 Ω on any pin (change LED)

Arduino
// EMG muscle switch: clench to light the LED
const int PIN = A0, LED = LED_BUILTIN;
const float ON_LEVEL = 40, OFF_LEVEL = 25;   // envelope in ADC counts; tune these
float baseline = 512, envelope = 0;
bool on = false;

void setup() {
  pinMode(LED, OUTPUT);
  Serial.begin(115200);
}

void loop() {
  int raw = analogRead(PIN);
  baseline += (raw - baseline) * 0.002f;            // follow the VCC/2 resting level
  float signal = raw - baseline;
  envelope += (fabs(signal) - envelope) * 0.02f;    // smoothed muscle activity

  if (!on && envelope > ON_LEVEL)  on = true;       // hysteresis: separate on / off levels
  if (on  && envelope < OFF_LEVEL) on = false;
  digitalWrite(LED, on);

  Serial.println(envelope);                         // watch it in the Serial Plotter
  delayMicroseconds(2000);                          // ~500 samples per second
}
EMGMuscle switchClench your fist to turn on an LED, a relay or a servo
EMGRobot handThe envelope controls how far a servo closes
ECGHeart-rate displayDetect R peaks and show bpm on a small screen
EOGEye-controlled cursorLook left / right to move, blink to click
EEGRelax meterLight an LED when alpha rises with the eyes closed
EMG / EOGGame controllerJump on a muscle burst, steer with the eyes

Troubleshooting

Is it the board or the setup? Unplug the electrode cable: OUT should sit quietly at VCC/2. Then short IN+, IN− and REF together on J2 — the signal should stay near zero. If it does, the board is fine.

Signal

Flat line

Check OUT → A0, VCC and GND. Push the plug fully into J1. Check the electrodes touch clean skin.

Stuck at the top or bottom

The input is too big for the gain: open JP1 (221×) for EMG / EOG. Wait 10–20 s after the electrodes go on for the high-pass to settle.

Resting value not near the middle

OUT rests at VCC/2 (about 512 of 1023 on a 10-bit ADC). Check VCC and GND, and that J1 and J2 aren't both used.

Strong 50/60 Hz hum

Check REF first: clean skin, firm contact, bony spot. Run on battery, move away from chargers and power strips, keep the cable short, set the notch to your mains frequency.

Signal upside down

IN+ and IN− are swapped. Swap the two electrodes, or invert in software.

Big swings when moving

Electrode or cable movement. Sit still, tape the cable down, use fresh electrodes.

No ECG heartbeat

Bridge JP1 (1 048×). Left chest, right chest, REF on the right lower abdomen.

No alpha on EEG

Bridge JP1. Eyes closed for at least 10 s, relax the face. Filter 8–12 Hz. Use the 14-bit ADC on the UNO R4.

µV values wrong by about 4.7×

The Gain setting in the viewer doesn't match JP1 (221 vs 1048).

ESP32 values clipped

VCC must be 3.3 V on an ESP32, and VREF = 3.3 in the viewer.

Upload, Wi-Fi & viewer

No port in Tools → Port

Try another USB cable (some only charge) or another USB socket.

Upload fails: port busy

Close the Serial Monitor / Plotter and any Python viewer, then upload again.

Serial Monitor shows only dots

Wrong Wi-Fi name or password, or a 5 GHz-only network. Use 2.4 GHz.

Board makes an "EasyEXG" network

Set USE_ACCESS_POINT 0 and upload again.

Viewer: "No data yet"

PC and board on the same Wi-Fi (guest networks often block devices). Allow Python on Private and Public networks in the Windows firewall.

Far fewer than 500 samples/s

Weak Wi-Fi: move the board closer to the router or use mode 1 (own network).

Battery only. Not a medical device.

EasyEXG has no patient isolation. Full isolation from the mains depends entirely on running from a battery. The DRL current is limited to about 13 µA by design, but that does not protect against a mains fault.

  • While electrodes are on a person, EasyEXG and everything cabled to it run from a 5 V power bank or a laptop on battery, charger unplugged.
  • Upload sketches with nobody connected. No wall charger, desk supply or mains-powered computer while recording.
  • No diagnosis or treatment. Not on people with a pacemaker or implanted device without a physician's approval.
  • Clean, intact skin; stop if it gets irritated. Fresh electrodes for each person.
Setup while recording
MCU + EasyEXG on a power bank, Wi-Fi to the PCSafe
USB to a laptop on battery (charger unplugged)Safe
USB to a laptop with the charger plugged inNever
USB to a desktop computerNever
MCU on a wall chargerNever

Open hardware

Schematic, Gerbers, BOM, pick-and-place, STEP / STL models, sketches and the Python viewer. Licence CC BY-NC 4.0.

Questions, Ordering & Shipping

Which microcontrollers work with EasyEXG?

Any board with an analog input. The Wi-Fi sketch runs on the Arduino UNO R4 WiFi, ESP32 and ESP8266; the USB sketch runs on any Arduino-compatible board, including UNO, Nano, Mega, STM32 (Arduino core) and Raspberry Pi Pico (Arduino-Pico core). Power EasyEXG from the same voltage as the ADC: 5 V on an UNO, 3.3 V on an ESP32 or Pico.

Do I need to solder anything?

Only to switch the gain. JP1 ships open (221×) for EMG and EOG. For ECG and EEG, bridge its two pads with a small solder blob (1 048×). Remove the solder with wick to go back.

Which electrodes and cable do I need?

A 3-lead snap electrode cable with a 3.5 mm TRS plug (Tip = IN+, Ring = IN−, Sleeve = REF), as used for EMG / ECG modules, and disposable Ag/AgCl gel electrodes — three per session. Loose wires can go to the 3-pin header J2 instead.

Is EasyEXG safe to use on a person?

Only on battery. EasyEXG has no patient isolation, so while electrodes are on a person the board and everything cabled to it must run from a power bank or a laptop on battery with the charger unplugged. It is a research and education tool, not a medical device.

Why do I complete my purchase on Elecrow right now?

Elecrow is PiEEG's official manufacturing and global logistics partner. Ordering through our official Elecrow listing ensures factory-tested hardware, instant stock allocation, and tracked worldwide shipping via DHL, FedEx, UPS, or postal airmail.

When will Direct Checkout on pieeg.com launch?

We are finalizing direct checkout on pieeg.com with express warehouse dispatch, instant academic PO invoicing, and extended direct coverage. Enter your email below the 'Buy Direct (Soon)' button to get priority access and launch perks.

Can my university or research lab order with a Purchase Order (PO) or bulk discount?

Yes. Orders of 5+ units qualify for 10% to 20% institutional discounts, formal pro-forma invoices, W-8BEN-E / vendor onboarding, and net-30 university PO support.

Is the software and SDK included free of charge?

Every PiEEG device includes 100% open-source MIT-licensed Python/C/JS SDKs, access to PiEEG Cloud in the browser, and community support on GitHub and Discord—with zero subscription fees.

EasyEXG

$39 USD