Skip to the content
4 layers75 × 50 mmAfo revb main, the printed circuit board in 3D

AFO research recorder: six EMG and IMU configurations, interactive assembly guides and engineering packages

Size
75 × 50 mm
Copper layers
4
Thickness
1.6 mm
Parts
126
Nets
88
Pads
459
Tracks, vias
1,437, 157
Pours
3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
28 Sep 2026
Updated
4 Nov 2026

Overview

Afo revb main is an open-source printed circuit board by shadowfax-505, from the shadowfax-505/afo-recorder repository on GitHub. It is a 4-layer board of 75 × 50 mm with 126 parts on 88 nets, routed with 1,437 tracks and 157 vias.

It is built around the ESP32-S3-WROOM-1-N8R8, MCP6004T-I/ST(UMW) and MCP6001T-I/OT(MS), with the TPS63070RNMR, TPS7A2030PDBVR-TP and BAV199 among its other parts. Its parts include 56 resistors, 34 capacitors, 10 connectors, 8 diodes and 7 ICs. It belongs with the sensors and measurement boards and the ESP32 boards of this library.

Main components

7

README

README.md

AFO Research Recorder

An engineering research platform for synchronized lower-limb EMG and motion acquisition. The recorder samples two MyoWare 2.0 RAW channels by default, supports foot and shank IMUs, stores the primary recording on microSD, and sends a best-effort live copy over ESP32-S3 Wi-Fi.

Open the live project · Read the documentation · Download complete packages

Engineering status: the firmware, file format, host tools, PCB rules, wiring data, simulations, and browser viewers have automated evidence. No recorder has yet passed the physical bench sequence. This repository does not claim measured signal quality, runtime, wearable safety, or clinical performance.

What is included

LayerIncludedCurrent evidence
AcquisitionESP32-S3 firmware for AD7606 or ADS131M04 and two IMU familiesReleased profiles compile; hardware timing remains unmeasured
StorageVersioned binary records, counters, metadata, CRC, and interrupted-file recoveryConverter and fault-injection tests pass
Live viewBest-effort Wi-Fi receiver for a laptopLoopback/software checks only
HardwareBreadboard plans, compact PCB projects, manufacturing exports, and 3D viewersERC/DRC and consistency checks pass; fabrication review remains open
Lab workflowTen gated stages from power rails to MyoWare integrationProcedures and result sheets supplied; measured results are blank

Choose a configuration

All packages target 8 kHz per enabled EMG channel and 200 Hz from each foot/shank IMU.

ADCEMG capacityMotion sensorPackage
AD7606, 16-bit simultaneousFixed 2ICM-42688-Pad7606-two-channel-icm42688
AD7606, 16-bit simultaneousFixed 2GY-521 / MPU-6050ad7606-two-channel-mpu6050
AD7606, 16-bit simultaneous2 or 4ICM-42688-Pad7606-expandable-icm42688
AD7606, 16-bit simultaneous2 or 4GY-521 / MPU-6050ad7606-expandable-mpu6050
ADS131M04, 24-bit simultaneous2 or 4ICM-42688-Pads131m04-expandable-icm42688
ADS131M04, 24-bit simultaneous2 or 4GY-521 / MPU-6050ads131m04-expandable-mpu6050

Use one package end to end. Do not combine an ICM wiring plan with MPU firmware or a breadboard binary with the compact-PCB SD pin assignment. The fixed-two packages intentionally reject four-channel builds.

Arduino Mega bench setup

A separate, simpler setup lives in designs/mega-myoware-shield-mpu6050: an Arduino Mega 2560 with the MyoWare 2.0 Arduino Shield, up to two MPU-6050 IMUs and a ZS-040 Bluetooth module, plus a browser app for live readings and saved recordings. It uses the Mega's 10-bit ADC at up to a few hundred samples per second, so it is not a substitute for the six packages above.

Start here

  1. Read the project manual and choose one package.
  2. Open that package's viewer/build.html and begin at Stage 1.
  3. Qualify each module before attaching it to the controller.
  4. Use synthetic signals with no person attached for every instrument-connected test.
  5. Record actual measurements and pass every stage before ordering the compact PCB.

For a local copy of the website:

sh
python3 -m http.server 8769

Then open http://127.0.0.1:8769/. The 3D viewers require HTTP and do not work correctly from a file:// URL.

Repository map

text
designs/<configuration>/
├── breadboard/      terminal-level plans, placements, and wire tables
├── firmware/        ESP-IDF source and build profiles
├── hardware/        KiCad source and module references
├── host/            converter, live receiver, plots, and tests
├── manufacturing/   Gerber, drill, BOM, placement, and STEP exports
├── simulations/     analog and acquisition fault models
├── docs/            package-specific build and validation records
└── viewer/          guided build, 3D assembly, and PCB preview

documentation/       project-wide manual, status, and evidence summaries
validation/          blank or user-entered bench-session records
design-catalog.json  machine-readable list of all six configurations

Validation language

The focused AD7606 / fixed two-channel / ICM-42688-P build has a current integrated verification report. Its laboratory firmware is now ad7606-2ch-1.12, and all 18 integrated Wokwi cases pass on its simulation image (12 October 2026; the 1.11 run exposed a Wi-Fi preview race that 1.12 fixes) (32/30 µs ICM-42688 timestamp ticks, 2.44 s PSRAM record queue, per-device Wi-Fi password, IMU-only bench verdicts at the datasheet’s ±2 % clock tolerance, fitted IMU host time); its ICM-42688-P setup was checked against the official TDK datasheet (DS-000347 rev 1.6) and a register-level sensor model, and its AD7606 against ADI’s Rev. G data sheet. Following ADI AN-1091, the PCB now holds the ADC in shutdown until the firmware releases STBY on GPIO14, and a BAT760 diode limits VDRIVE − AVCC during power-up (DRC/ERC clean; not yet built). It compiles and passes the host and native tests but has not been rerun in Wokwi. All 18 v1.6 cases pass actual ESP-IDF execution in Wokwi’s web simulator, with real FreeRTOS/FatFS/lwIP and documented sensor, storage and radio substitutes. Nominal saved acquisition has no detected sample loss; current laptop socket/API/browser/archive checks correctly retain preview and packet gaps. Local coverage includes a 60-second, 480,000-frame production-driver pipeline. The unqualified QEMU timing experiment and historical incomplete CLI runs remain visible. Physical performance remains unmeasured; On 12 October 2026 the three other AD7606 designs received the same STBY/supply-ramp PCB fix and firmware (dual-1.4 / mpu6050-1.4); the ADS131M04 designs need none. On 11 October 2026 the other five designs received the shared firmware fixes (PSRAM record queue, per-device Wi-Fi password, metadata limit; 32/30 µs ticks for the ICM designs) and the fixed-two recorder corrections (worker lifecycle, fault latching, AD7606 BUSY confirmation, windowed diagnostics) and were rebuilt (firmware dual-1.3 / mpu6050-1.3); their other evidence is unchanged.

  • Verified in software means a check, build, simulation, or test has a saved result in this repository.
  • Simulated means generated inputs exercised a model or data path; it is not a hardware measurement.
  • Pending hardware means the result must be measured on the assembled module, breadboard, or PCB.
  • Passed — measured should be entered only by the person who performed the lab procedure and retained the evidence.

The latest project-level evidence reports six host suites with 242 tests, 26 compiled recording profiles, clean ERC/DRC reports for all six variants, and complete named wiring inventories. The same evidence explicitly marks physical validation as pending.

Safety and research use

Disconnect charging cables, USB, and mains-connected instruments while electrodes are attached. Early electrical tests use synthetic sources with no person attached. Human recordings require appropriate institutional approval, informed consent, and an electrical-safety review. This system is a research recorder, not a medical device or an AFO controller.

Documentation and attribution

Project lead: Muttakin Rahman. Manufacturer credits, source references, and third-party licence notices are retained. Publication does not change the ownership of external boards, CAD, datasheets, libraries, or photographs.

Open the complete-system guide for the physical assembly, saved Wokwi scene and downloadable simulation bundle.

The latest focused checks include a complete-scene digital timing capture and a saved-data interpretation guide. The independent audit checks 21,116 original record CRCs and CSV rows across two synthetic captures. Downloadable examples include binary recordings, metadata, quality reports and readable analysis tables; original measurement bytes are preserved. Physical storage, signal accuracy and timing calibration remain pending.

Active build: sequential development

The AD7606 two-channel / ICM-42688-P workbook organizes assembly, exact new wires, measurements and evidence review one module at a time. Read the personal system explanation for the AFO and neuromuscular research rationale. The other five configurations remain unchanged.

Parts

126
QtyValueFootprintReferences
1510kResistor_SMD:R_0603_1608MetricR1, R2, R3, R10, R11, R12, R13, R14, R26, R30, R31, R33, R34, R40, R41
9100Resistor_SMD:R_0603_1608MetricR42, R104, R105, R114, R115, R124, R125, R134, R135
8100nFCapacitor_SMD:C_0603_1608MetricC1, C10, C23, C32, C33, C34, C43, C44
847nFCapacitor_SMD:C_0603_1608MetricC100, C101, C110, C111, C120, C121, C130, C131
86.65kResistor_SMD:R_0603_1608MetricR102, R103, R112, R113, R122, R123, R132, R133
71uFCapacitor_SMD:C_0603_1608MetricC3, C20, C21, C30, C31, C45, C46
5100kResistor_SMD:R_0603_1608MetricR24, R51, R52, R53, R54
51MResistor_SMD:R_0603_1608MetricR25, R101, R111, R121, R131
41nFCapacitor_SMD:C_0603_1608MetricC102, C112, C122, C132
422uFCapacitor_SMD:C_0805_2012MetricC11, C40, C41, C42
43.3kResistor_SMD:R_0603_1608MetricR100, R110, R120, R130
433Resistor_SMD:R_0603_1608MetricR15, R22, R23, R32
4BAV199Package_TO_SOT_SMD:SOT-23D10, D11, D12, D13
31kResistor_SMD:R_0603_1608MetricR60, R61, R62
3M2 mountingMountingHole:MountingHole_2.2mm_M2H1, H2, H3
25.1kResistor_SMD:R_0603_1608MetricR20, R21
2MCP6004T-I/STPackage_SO:TSSOP-14_4.4x5mm_P0.65mmU3, U4
11.5uHInductor_SMD:L_Coilcraft_XAL4020-XXXL1
110nFCapacitor_SMD:C_0603_1608MetricC12
110uFCapacitor_SMD:C_0805_2012MetricC2
1220nFCapacitor_SMD:C_0603_1608MetricC22
12N7002Package_TO_SOT_SMD:SOT-23Q2
1316kResistor_SMD:R_0603_1608MetricR50
18.192 MHzOscillator:Oscillator_SMD_Abracon_ASE-4Pin_3.2x2.5mmY1
1ADS131M04IPWRPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU2
1BOOTButton_Switch_SMD:SW_SPST_TL3342SW2
1BUTTONButton_Switch_SMD:SW_SPST_TL3342SW4
1DMP2035UPackage_TO_SOT_SMD:SOT-23Q1
1EMG1Connector_JST:JST_GH_BM03B-GHS-TBT_1x03-1MP_P1.25mm_VerticalJ5
1EMG2Connector_JST:JST_GH_BM03B-GHS-TBT_1x03-1MP_P1.25mm_VerticalJ6
1EMG3Connector_JST:JST_GH_BM03B-GHS-TBT_1x03-1MP_P1.25mm_VerticalJ7
1EMG4Connector_JST:JST_GH_BM03B-GHS-TBT_1x03-1MP_P1.25mm_VerticalJ8
1ENButton_Switch_SMD:SW_SPST_TL3342SW3
1ESP32-S3-WROOM-1-N8R8RF_Module:ESP32-S3-WROOM-1U1
1ExpansionConnector_JST:JST_GH_BM06B-GHS-TBT_1x06-1MP_P1.25mm_VerticalJ10
1FOOT MPU6050Connector_JST:JST_GH_BM08B-GHS-TBT_1x08-1MP_P1.25mm_VerticalJ3
1MCP6001T-I/OTPackage_TO_SOT_SMD:SOT-23-5U5
1POWERButton_Switch_SMD:SW_SPDT_CK_JS102011SAQNSW1
1PROTECTED 1S BATTERYConnector_JST:JST_GH_BM02B-GHS-TBT_1x02-1MP_P1.25mm_VerticalJ9
1SHANK MPU6050Connector_JST:JST_GH_BM08B-GHS-TBT_1x08-1MP_P1.25mm_VerticalJ4
1TPS63070RNMRRevB:TI_RNM0015AU6
1TPS7A2030PDBVRPackage_TO_SOT_SMD:SOT-23-5U7
1USB ESDPackage_TO_SOT_SMD:SOT-23-6D1
1USB-C (battery powered)Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ1
1amberLED_SMD:LED_0603_1608MetricD22
1greenLED_SMD:LED_0603_1608MetricD20
1microSDConnector_Card:microSD_HC_Hirose_DM3AT-SF-PEJM5J2
1redLED_SMD:LED_0603_1608MetricD21

More from shadowfax-505/afo-recorder

1
  • 4 layers75 × 50 mmAfo revb main, the printed circuit board in 3D

    Afo revb main

    shadowfax-505/afo-recorder

    AFO research recorder: six EMG and IMU configurations, interactive assembly guides and engineering packages

    108 parts

Similar boards

  • 4 layers50.8 × 22.9 mmBench stim wing, the printed circuit board in 3D

    Bench stim wing

    ThatguyCplus/throttleECU

    STM32F411CE Throttle ECU — PID position control with AS5048A encoder, H-bridge motor, safety module

    114 parts1
  • 4 layers34 × 48 mmNIVA pod, the printed circuit board in 3D

    NIVA pod

    https-shubhamsahu/niva

    Live dashboard · Firmware · Rev C.1 hardware · Scoring rules

    65 parts
  • 4 layers52 × 52 mmMoto gps rev a1, the printed circuit board in 3D

    Moto gps rev a1

    mx3353672833-debug/moto-gps-waveshare

    MOTO GPS · Waveshare ESP32-S3 1.75C 圆屏导航 + iPhone App | Author: Maler X | Noncommercial, attribution required | Experimental

    112 parts529
  • 2 layersHeadlamp, the printed circuit board in 3D

    Headlamp

    kajusK/Darkstar-Mk.II

    High-power bomb-proof headlamp for caving

    60 parts7
  • 2 layers30.5 × 15.2 mmAvr attiny1614-mini, the printed circuit board in 3D

    Avr attiny1614-mini

    vladbelous/avr-attiny1614-mini

    AVR attiny1614 (tinyAVR 1-series) mini board

    26 parts4
  • 4 layers98.2 × 87.1 mmCapstoneReciever, the printed circuit board in 3D

    CapstoneReciever

    jesseUML/CapstonePCBs

    Capstone PCB Files

    43 parts
  • 2 layers22.3 × 49.9 mmBaloon, the printed circuit board in 3D

    Baloon

    kajusK/Picoballoon2020

    Probe for Observatory and Planetarium Brno Picoballoon Challenge 2020

    66 partsGPL-3.0
  • 2 layers143.8 × 80 mmEcu, the printed circuit board in 3D

    Ecu

    kajusK/Pneumobil

    Control and telemetry system for BUT Falcon pneumobil for Aventics Pneumobil competition

    269 parts

Questions

How big is the Afo revb main PCB?

It measures 75 × 50 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Afo revb main use?

126 parts, built around the ESP32-S3-WROOM-1-N8R8, MCP6004T-I/ST(UMW), MCP6001T-I/OT(MS) and TPS63070RNMR. 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 Afo revb main KiCad files?

From the shadowfax-505/afo-recorder repository on GitHub, at the commit this page was made from: the board is designs/ads131m04-expandable-mpu6050/hardware/main/afo_revb_main.kicad_pcb and its schematic designs/ad7606-expandable-icm42688/hardware/main/afo_revb_main.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Afo revb main design in my own project?

Its repository states no licence, so its author keeps all rights: ask shadowfax-505 before reusing the design.