
Afo revb main
shadowfax-505/afo-recorder
AFO research recorder: six EMG and IMU configurations, interactive assembly guides and engineering packages

AFO research recorder: six EMG and IMU configurations, interactive assembly guides and engineering packages
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.
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.
| Layer | Included | Current evidence |
|---|---|---|
| Acquisition | ESP32-S3 firmware for AD7606 or ADS131M04 and two IMU families | Released profiles compile; hardware timing remains unmeasured |
| Storage | Versioned binary records, counters, metadata, CRC, and interrupted-file recovery | Converter and fault-injection tests pass |
| Live view | Best-effort Wi-Fi receiver for a laptop | Loopback/software checks only |
| Hardware | Breadboard plans, compact PCB projects, manufacturing exports, and 3D viewers | ERC/DRC and consistency checks pass; fabrication review remains open |
| Lab workflow | Ten gated stages from power rails to MyoWare integration | Procedures and result sheets supplied; measured results are blank |
All packages target 8 kHz per enabled EMG channel and 200 Hz from each foot/shank IMU.
| ADC | EMG capacity | Motion sensor | Package |
|---|---|---|---|
| AD7606, 16-bit simultaneous | Fixed 2 | ICM-42688-P | ad7606-two-channel-icm42688 |
| AD7606, 16-bit simultaneous | Fixed 2 | GY-521 / MPU-6050 | ad7606-two-channel-mpu6050 |
| AD7606, 16-bit simultaneous | 2 or 4 | ICM-42688-P | ad7606-expandable-icm42688 |
| AD7606, 16-bit simultaneous | 2 or 4 | GY-521 / MPU-6050 | ad7606-expandable-mpu6050 |
| ADS131M04, 24-bit simultaneous | 2 or 4 | ICM-42688-P | ads131m04-expandable-icm42688 |
| ADS131M04, 24-bit simultaneous | 2 or 4 | GY-521 / MPU-6050 | ads131m04-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.
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.
viewer/build.html and begin at Stage 1.For a local copy of the website:
python3 -m http.server 8769Then open http://127.0.0.1:8769/. The 3D viewers require HTTP and do not work correctly from a file:// URL.
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 configurationsThe 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.
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.
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.
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.
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.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 15 | 10k | Resistor_SMD:R_0603_1608Metric | R1, R2, R3, R10, R11, R12, R13, R14, R26, R30, R31, R33, R34, R40, R41 |
| 9 | 100 | Resistor_SMD:R_0603_1608Metric | R42, R104, R105, R114, R115, R124, R125, R134, R135 |
| 8 | 100nF | Capacitor_SMD:C_0603_1608Metric | C1, C10, C23, C32, C33, C34, C43, C44 |
| 8 | 47nF | Capacitor_SMD:C_0603_1608Metric | C100, C101, C110, C111, C120, C121, C130, C131 |
| 8 | 6.65k | Resistor_SMD:R_0603_1608Metric | R102, R103, R112, R113, R122, R123, R132, R133 |
| 7 | 1uF | Capacitor_SMD:C_0603_1608Metric | C3, C20, C21, C30, C31, C45, C46 |
| 5 | 100k | Resistor_SMD:R_0603_1608Metric | R24, R51, R52, R53, R54 |
| 5 | 1M | Resistor_SMD:R_0603_1608Metric | R25, R101, R111, R121, R131 |
| 4 | 1nF | Capacitor_SMD:C_0603_1608Metric | C102, C112, C122, C132 |
| 4 | 22uF | Capacitor_SMD:C_0805_2012Metric | C11, C40, C41, C42 |
| 4 | 3.3k | Resistor_SMD:R_0603_1608Metric | R100, R110, R120, R130 |
| 4 | 33 | Resistor_SMD:R_0603_1608Metric | R15, R22, R23, R32 |
| 4 | BAV199 | Package_TO_SOT_SMD:SOT-23 | D10, D11, D12, D13 |
| 3 | 1k | Resistor_SMD:R_0603_1608Metric | R60, R61, R62 |
| 3 | M2 mounting | MountingHole:MountingHole_2.2mm_M2 | H1, H2, H3 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric | R20, R21 |
| 2 | MCP6004T-I/ST | Package_SO:TSSOP-14_4.4x5mm_P0.65mm | U3, U4 |
| 1 | 1.5uH | Inductor_SMD:L_Coilcraft_XAL4020-XXX | L1 |
| 1 | 10nF | Capacitor_SMD:C_0603_1608Metric | C12 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | 220nF | Capacitor_SMD:C_0603_1608Metric | C22 |
| 1 | 2N7002 | Package_TO_SOT_SMD:SOT-23 | Q2 |
| 1 | 316k | Resistor_SMD:R_0603_1608Metric | R50 |
| 1 | 8.192 MHz | Oscillator:Oscillator_SMD_Abracon_ASE-4Pin_3.2x2.5mm | Y1 |
| 1 | ADS131M04IPWR | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U2 |
| 1 | BOOT | Button_Switch_SMD:SW_SPST_TL3342 | SW2 |
| 1 | BUTTON | Button_Switch_SMD:SW_SPST_TL3342 | SW4 |
| 1 | DMP2035U | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | EMG1 | Connector_JST:JST_GH_BM03B-GHS-TBT_1x03-1MP_P1.25mm_Vertical | J5 |
| 1 | EMG2 | Connector_JST:JST_GH_BM03B-GHS-TBT_1x03-1MP_P1.25mm_Vertical | J6 |
| 1 | EMG3 | Connector_JST:JST_GH_BM03B-GHS-TBT_1x03-1MP_P1.25mm_Vertical | J7 |
| 1 | EMG4 | Connector_JST:JST_GH_BM03B-GHS-TBT_1x03-1MP_P1.25mm_Vertical | J8 |
| 1 | EN | Button_Switch_SMD:SW_SPST_TL3342 | SW3 |
| 1 | ESP32-S3-WROOM-1-N8R8 | RF_Module:ESP32-S3-WROOM-1 | U1 |
| 1 | Expansion | Connector_JST:JST_GH_BM06B-GHS-TBT_1x06-1MP_P1.25mm_Vertical | J10 |
| 1 | FOOT MPU6050 | Connector_JST:JST_GH_BM08B-GHS-TBT_1x08-1MP_P1.25mm_Vertical | J3 |
| 1 | MCP6001T-I/OT | Package_TO_SOT_SMD:SOT-23-5 | U5 |
| 1 | POWER | Button_Switch_SMD:SW_SPDT_CK_JS102011SAQN | SW1 |
| 1 | PROTECTED 1S BATTERY | Connector_JST:JST_GH_BM02B-GHS-TBT_1x02-1MP_P1.25mm_Vertical | J9 |
| 1 | SHANK MPU6050 | Connector_JST:JST_GH_BM08B-GHS-TBT_1x08-1MP_P1.25mm_Vertical | J4 |
| 1 | TPS63070RNMR | RevB:TI_RNM0015A | U6 |
| 1 | TPS7A2030PDBVR | Package_TO_SOT_SMD:SOT-23-5 | U7 |
| 1 | USB ESD | Package_TO_SOT_SMD:SOT-23-6 | D1 |
| 1 | USB-C (battery powered) | Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J1 |
| 1 | amber | LED_SMD:LED_0603_1608Metric | D22 |
| 1 | green | LED_SMD:LED_0603_1608Metric | D20 |
| 1 | microSD | Connector_Card:microSD_HC_Hirose_DM3AT-SF-PEJM5 | J2 |
| 1 | red | LED_SMD:LED_0603_1608Metric | D21 |

shadowfax-505/afo-recorder
AFO research recorder: six EMG and IMU configurations, interactive assembly guides and engineering packages

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


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


vladbelous/avr-attiny1614-mini
AVR attiny1614 (tinyAVR 1-series) mini board


kajusK/Picoballoon2020
Probe for Observatory and Planetarium Brno Picoballoon Challenge 2020

kajusK/Pneumobil
Control and telemetry system for BUT Falcon pneumobil for Aventics Pneumobil competition
It measures 75 × 50 mm and has 4 copper layers, 1.6 mm thick.
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.
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.
Its repository states no licence, so its author keeps all rights: ask shadowfax-505 before reusing the design.