

AR488 ESP32
The idea is to have AI help me build electronics. AI needs eyes, the eyes are the oscilloscope which is used through an MCP interface.
- Size
- 86 × 67 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 22
- Nets
- 78
- Pads
- 170
- Tracks, vias
- 409, 39
- Pours
- 10
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 22 Mar 2026
- Updated
- 30 Sep 2026
Overview
AR488 ESP32 is an open-source printed circuit board by joseluu, from the joseluu/MCP-AR-488-ESP32 repository on GitHub. It is a 2-layer board of 86 × 67 mm with 22 parts on 78 nets, routed with 409 tracks and 39 vias.
It is built around the SN75160BDW, SN75161BN and AMS1117-5.0, with the MCP23017-E/SS, AO3401A and MM3Z8V2 among its other parts. Its parts include 7 capacitors, 5 ICs, 3 resistors, 3 transistors and 3 connectors. It belongs with the ESP32 boards of this library.
Main components
7SN75160BDW
SOIC-20-300mil0℃~+70℃ 1 20ns@5V,15pF 4.75V~5.25V 48mA 5.2mA 8 Bidirectional Open-drain SOIC-20 Buffers, Drivers, Receivers, Transceivers ROHSTexas InstrumentsBuffers, Drivers, Receivers, TransceiversSN75161BN
PDIP-200℃~+70℃ 1 14ns@5V,30pF 4.75V~5.25V 48mA 5.2mA 8 Bidirectional Power-off isolation Schmitt trigger Tri-State PDIP-20 Buffers, Drivers, Receivers, Transceivers ROHSTexas InstrumentsBuffers, Drivers, Receivers, TransceiversAMS1117-5.0
SOT-223-40℃~+125℃ 1 1.3V 15V 1A 5V 60dB Fixed Positive Short Circuit Protection、Thermal shutdown SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSAdvanced Monolithic SystemsVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsMCP23017-E/SS
SSOP-28(5.3x10.2x0.65)-40℃~+125℃ 1.7MHz 1.8V~5.5V 16 1uA 600mV 8 8mA I2C Interrupt Output Reset function、Cascading and address extension SSOP-28 I/O Expanders ROHSMicrochip TechnologyI/O ExpandersAO3401A
SOT-231 P-Channel 14nC@10V 30V 47mΩ@10V、60mΩ@4.5V、85mΩ@2.5V 4A 55pF 645pF 80pF 900mV SOT-23 MOSFETs ROHSAlpha & Omega SemiconductorMOSFETsMM3Z8V2
SOD-323-65℃~+150℃ 1 Independent 15Ω 160Ω 300mW 7.7V~8.7V 700nA 8.2V SOD-323 Zener Diodes ROHSonsemiZener DiodesMMBT5551L
SOT-23-55℃~+150℃ 1 NPN 100nA 160V 250mV 300mW 600mA 6V 80 NPN SOT-23 Bipolar (BJT) ROHSonsemiBipolar (BJT)
README
README.mdMCP-AR-488-ESP32
Intro and goal
The idea is to have AI help me build electronics. AI needs eyes, the eyes are the oscilloscope which is used through an MCP interface.
The IEEE-488 controler is meant to expose an HTTP API which in turn is used by the MCP server.
Build
GPIB/IEEE-488 interface board for the Tektronix TDS784A oscilloscope, based on an ESP32 (Heltec WiFi Kit 32) with GPIB bus transceivers. The board plugs directly onto the instrument's Centronics 24-pin GPIB connector.
This project is inspired by the AR-488 Arduino GPIB adapter, redesigned around the ESP32 for WiFi capability and higher throughput. There are ESP32 projects, such as: https://github.com/douardda/AR488-ESP32 I discovered them after having finished this one. Other projects are using the prologic serial protocol, their hardware most likely may be reflashed with the firmware here.

There are a few quirks, however the PCB works, requiring some modifications (soldering):
- to supply 3.3V instead of 5.0 V to the MCP chip (because I used a V1 ESP32 board and I thought I had V2)
- add the I2C pullups
- remove 3mm from the left side to fit directly behind the TDS784 If you consider making it check the photos in the docs subdirectory. The gerber files I have used are in AR488_ESP32/Elecrow_manufacturing_v1.1.zip
The ESP32 USB can power the whole board, if you use it this way, no need to populate the barrel jack connector and power supply conditioning part (it has not been tested)
See file IMPROVEMENTS_V2.md for further improvements (which I may never implement myself)
Design workflow and caveats
The PCB has been designed using AI as well, where claude is driving circuit-synth which in turn generates the kicad schematic. Routing has been handled manually.
Circuit-synth required a modification to work under Windows and git-bash (see my circuit-synth repo). Another circuit-synth anoyance is that circuit-synth used hierachical connectors on the same sheet, this was giving warnings in the kicad rules checker.
When refreshing the circuit with circuitsynth, it uses a set of new internal identifiers, so when updating the PCB from the electrical schematic (F8) you must check the option "Re-link footprint ... from reference designators"
See file AI_Assisted_design_workflow.md
Electrical architecture and implementation
See file Electrical_Architecture.md
The ESP32 board used is the Heltec Wifi Kit 32 (version 1), the V2 has the same pinout and can be used directly, however the V3 has different I2C pins and most likely will require adjustments to schematic and firmware.
The exposed plated area around is meant for to solder a shield to limit radiated EMI in the lab. Not tested. Shielding completely will also shield the Wifi, so at this point this is a half baked idea.
Firmware and Software
Hardware test
In directory hardware_test, a test firmware is available, it sends a 1ms pulse to each of the GPIB connector pins.
Firmware
The firmware for the ESP32 implements an HTTP API json style server made available on Wifi, not the usual serial protocol.
Host software
In firmware/test the send_gpib.py allows to exercise many features and get back entire curve data, notably in .csv format, example commands:
# getting curve data
uv run --with websockets python firmware/test/send_gpib.py --waveform --points 5000 --out csv --name wave --source CH2 192.168.xx.yy
# getting a screen copy in .tif format
uv run --with websockets python firmware/test/send_gpib.py 192.168.11.175 --hardcopydownloaded CSV scope curve example

Screen copy through GPIB and host software send_gpib.py

Actual screen for comparison

Host software help (-h)
send_gpib.py -h
usage: send_gpib.py [-h] [--addr ADDR] [--timeout TIMEOUT] [--binary] [--waveform] [--hardcopy]
[--hardcopy-format {TIFF,BMP,BMPCOLOR,PCX,PCXCOLOR,RLE}] [--hardcopy-layout {PORTRAIT,LANDSCAPE}]
[--hardcopy-palette {COLOR,MONOCHROME,INKSAVER,HARDCOPY}] [--points POINTS] [--start-index START_INDEX]
[--end-index END_INDEX] [--chunk-bytes CHUNK_BYTES] [--source SOURCE] [--width {1,2}] [--name NAME] [--out OUT]
host [command]
Send GPIB SCPI commands to a Tek scope via the AR-488-ESP32 gateway.
The ESP32 hosts a JSON-over-WebSocket bridge at ws://<host>/ws. This
script handles the protocol so an operator (or AI agent) can issue
SCPI commands and capture waveforms directly from the shell.
Invocation
----------
send_gpib.py <ip> <scpi-command> # auto: query if '?' else write
send_gpib.py <ip> --binary "<scpi>" # force binary response
send_gpib.py <ip> --waveform [options] # capture waveform(s)
send_gpib.py <ip> --hardcopy [options] # capture screen (TIFF default)
send_gpib.py --help # full per-flag help
Output files
------------
Named <ISO_8601>_<name>[_<chN>].<ext> where:Claude Code integration (MCP server + skill)
This repo hosts the tek-tds784a MCP server (host_software/mcp_server/, exposes the scope over SCPI/GPIB) and the scope Claude Code skill that documents it (scope/SKILL.md).
Setup on a new machine:
git clone https://github.com/joseluu/MCP-AR-488-ESP32.git ~/hobby_w/MCP-AR-488-ESP32
cd ~/hobby_w/MCP-AR-488-ESP32
uv syncLink the skill into Claude Code's skills directory:
Linux/macOS:
ln -s ~/hobby_w/MCP-AR-488-ESP32/scope ~/.claude/skills/scopeWindows (cmd, no admin required):
mklink /J "%USERPROFILE%\.claude\skills\scope" "%USERPROFILE%\hobby_w\MCP-AR-488-ESP32\scope"Then register the MCP server in that machine's .mcp.json (paths are machine-specific, adjust accordingly):
{
"mcpServers": {
"tek-tds784a": {
"command": "uv",
"args": ["run", "--project", "/path/to/MCP-AR-488-ESP32", "python", "-m", "mcp_server"],
"cwd": "/path/to/MCP-AR-488-ESP32/host_software",
"env": {
"AR488_HOST": "<gateway ip>",
"AR488_ADDR": "1",
"AR488_TIMEOUT_MS": "2000",
"PYTHONPATH": "/path/to/MCP-AR-488-ESP32/host_software"
}
}
}
}License
MIT
Parts
22| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 100n | Capacitor_SMD:C_0603_1608Metric | C2, C3, C4, C5 |
| 2 | 100k | Resistor_SMD:R_0603_1608Metric | R1, R2 |
| 2 | AO3401A | Package_TO_SOT_SMD:SOT-23 | Q1, Q2 |
| 1 | 10k | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 10u | Capacitor_SMD:C_0603_1608Metric | C1 |
| 1 | 1u | Capacitor_SMD:C_0603_1608Metric | C6 |
| 1 | 22u | Capacitor_SMD:C_0603_1608Metric | C7 |
| 1 | AMS1117-5.0 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U5 |
| 1 | DC_7-12V | Connector_BarrelJack:BarrelJack_Horizontal | J2 |
| 1 | GPIB_24 | AR488_custom:Centronics_24_GPIB_solder | J1 |
| 1 | Heltec_WiFi_Kit_32_V2 | AR488_custom:Heltec_WiFi_Kit_32_V2 | U1 |
| 1 | MCP23017 | Package_SO:SOIC-28W_7.5x17.9mm_P1.27mm | U4 |
| 1 | MM3Z8V2 | Diode_SMD:D_SOD-323 | D1 |
| 1 | MMBT5551L | Package_TO_SOT_SMD:SOT-23 | Q3 |
| 1 | SHIELD | TerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-2-5.0-H_1x02_P5.00mm_Horizontal | J3 |
| 1 | SN75160BDW | Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm | U2 |
| 1 | SN75161BN | Package_DIP:DIP-20_W7.62mm | U3 |
Similar boards
- 4 layers125 × 100.1 mm

- 4 layers62 × 67 mm

Adapter
tridentsx/tmc-gateway
TinyGo firmware for an RP2350-based USB/PoE-LAN instrument gateway: bridges USBTMC/USB488 and HiSLIP to GPIB
92 parts - 2 layers85 × 56 mm

- 4 layers85 × 56 mm

Ice4pi
lightside-instruments/gpib4pi
The gpib4pi project is open hardware design of a Raspbery Pi extension board with GPIB interface using only GPIOs.
50 parts14 - 2 layers56.6 × 57.7 mm

- 2 layers86 × 70 mm

AVR488
VE7PMC/AVR488
USB to IEEE-488 interface based on the ATmega168/328 microcontroller
28 parts10GPL-3.0 - 2 layers63.5 × 55.6 mm

AR488-common
douardda/ESP32-GPIB-pcb
GitHub mirror of the PCB design for an ESP32/Arduino based GPIB interface
11 parts9 - 2 layers65 × 45 mm

Questions
How big is the AR488 ESP32 PCB?
It measures 86 × 67 mm and has 2 copper layers, 1.6 mm thick.
What parts does the AR488 ESP32 use?
22 parts, built around the SN75160BDW, SN75161BN, AMS1117-5.0 and MCP23017-E/SS. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the AR488 ESP32 KiCad files?
From the joseluu/MCP-AR-488-ESP32 repository on GitHub, at the commit this page was made from: the board is hardware/AR488_ESP32.kicad_pcb and its schematic hardware/AR488_ESP32.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the AR488 ESP32 design in my own project?
Its repository states no licence, so its author keeps all rights: ask joseluu before reusing the design.