Global Shipping
DHL / FedEx / Air
Factory Tested
Official Elecrow Line
MIT Open SDK
Python, C, Cloud
Lab Discounts
10–20% on 5+ units
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.
Fulfilled worldwide via Elecrow
Direct Store Priority Waitlist
Launching SoonWant to buy EasyEXG directly on pieeg.com? Get notified first when direct checkout, express warehouse dispatch, and launch perks go live.
Complete your EasyEXG setup.
Recommended accessories and kits verified for EasyEXG.

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

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| Channels | 1 differential input (IN+, IN−) plus REF / driven right leg |
|---|---|
| Signals | EMG, ECG, EOG, EEG |
| Instrumentation Amplifier | TI INA333, gain 9.9×, CMRR ≥ 100 dB |
| Op-Amp | TI OPA4388 quad: VCC/2 reference, driven right leg, high-pass + gain, low-pass |
| Total Gain | 221× (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 Clipping | 10.9 / 7.2 mV (221×) · 2.3 / 1.5 mV (1 048×) at 5 V / 3.3 V |
| Output | 1 analog signal, rests at VCC/2 |
| Supply | 3.3 V or 5 V, absolute max 5.5 V |
| DRL Current Limit | 390 kΩ, about 13 µA into the body at 5 V |
| Electrode Connectors | J1: 3.5 mm TRS jack (CUI SJ-3523-SMT) · J2: 3-pin 2.54 mm header |
| Output Connector | J3: 4-pin 2.54 mm header (GND, VCC, OUT, VREF) |
| PCB | 46.0 × 26.0 × 1.6 mm, 2-layer FR-4, components on top only, 2 × M2 holes |
| Isolation | None — battery operation required while electrodes are on a person |
| Licence | Open hardware, CC BY-NC 4.0 |
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.

Animation: typical signal as an illustration, not a recording.
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.
| Electrode | Plug | Where |
|---|---|---|
| IN+ | Tip | Forearm muscle, a hand-width from the wrist |
| IN− | Ring | Same muscle, 2–3 cm further along |
| REF | Sleeve | Elbow (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.
- InputElectrodesIN+ − IN− · REF driven
- U1 · INA3339.9×CMRR ≥ 100 dB
- U2C · high-pass22×0.16 Hz
- U2D · low-pass1×500 Hz Sallen-Key
- J3 · OUT2.5 Vrest = VCC/2
- Your MCUADCA0 on UNO / R4

- 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
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.

- 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.

- 3
Wire J3 to the Arduino
Arduino unplugged. Three jumper wires; VREF stays unconnected.
J3 pin Arduino Wire GND GND grey VCC 5V (or 3.3V) red OUT A0 yellow VREF — not connected 
- 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.
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
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.

- 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.
Test What you should see Relax the arm Both traces close to flat Clench your fist Bursts on the signal, the envelope rises Relax again Both 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 J3 | UNO R4 WiFi |
|---|---|
| 1GND | GND |
| 2VCC | 5V |
| 3OUT | A0 |
| 4VREF | not 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.

Electrode inputs — use J1 or J2, not both
| Signal | J1 · 3.5 mm jack | J2 · 3 pins | Purpose |
|---|---|---|---|
| IN+ | Tip | pin 1 · "+" (square pad) | Positive measuring electrode |
| IN− | Ring | pin 2 · "−" | Negative measuring electrode |
| REF | Sleeve | pin 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.

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.
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.

EasyEXG Studio modes
| Mode | Band-pass | JP1 / gain | Window | Extra |
|---|---|---|---|---|
| EEG | 1–40 Hz | Bridged, 1 048× | 5 s | Alpha (8–12 Hz) share of power |
| EOG | 0.1–10 Hz | Open, 221× | 10 s | – |
| EMG | 20–240 Hz | Open, 221× | 3 s | Activity line (moving RMS) |
| ECG | 0.5–40 Hz | Bridged, 1 048× | 5 s | Heart 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)
| Bytes | Type | Content |
|---|---|---|
| 0–3 | char[4] | "EXG1" |
| 4–7 | uint32 | Index of the first sample |
| 8–9 | uint16 | Number of samples (normally 25) |
| 10–11 | uint16 | Sample rate (Hz) |
| 12 | uint8 | ADC bits |
| 13–15 | — | Padding |
| 16… | float, float | Per 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.
- 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.
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)
// 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
}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 PC | Safe |
| USB to a laptop on battery (charger unplugged) | Safe |
| USB to a laptop with the charger plugged in | Never |
| USB to a desktop computer | Never |
| MCU on a wall charger | Never |
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
