Overview
The system was prototyped using standard low cost hardware. The three main components are based on the ESP32 platform because they have integrated wifi radios. The components communicate via Wifi for simplicity. Using three modukes may seem to be overkill, but separfating the functions simplified the software and solves a number of real-time control issues and DMA/storage bottlenecks.
Display Freenove FNK0104 (ESP32-S3) ST7796 SPI LCD, FT5x06 I2C Touch, 1-bit SDMMC Freenove / Espressif
Wrench M5Stamp C3 / ESP32-S3 TCP Port 23 Telnet CLI, Port 80 Web, GPIO4 ADC M5Stack
Feetech SCS0009 Servo Half-duplex TTL serial bus continuous drive Feetech RC
Waveshare Bus Servo Adapter TTL UART signal conversion & servo power rail Waveshare
Camera ESP32-CAM + OV2640 TCP Port 23 triggers + HTTP Port 80 JPEG/AVI stream Ai-Thinker / OmniVision
Freenove ESP32-S3 4.0-Inch Display Board (Model FNK0104): Acts as the central field coordinator, operator interface, and local SD storage hub. Built around an ESP32-S3 dual-core LX7 microcontroller (240 MHz) with integrated Wi-Fi/BLE, it drives a 320×480 ST7796 TFT LCD over SPI (GPIO10–12, GPIO46), an FT5x06 capacitive touch controller over I2C (GPIO15–16), and a 1-bit SDMMC card interface (GPIO38–40) for caching job specifications, telemetry CSV logs, and captured inspection media.
Manufacturer: Freenove | Chipset: Espressif Systems ESP32-S3
microSD / SDHC Flash Storage Card: Formatted for 1-bit SDMMC access to provide non-volatile local buffering of /audit/*.csv runs, /jobs/<JOB_ID>/ specs, reference diagrams, and inspection media so field work continues uninterrupted when offline.
M5Stack M5Stamp C3 / ESP32-S3 Controller: Executes closed-loop tightening control, real-time load sensing, and a 50-second FIFO telemetry ring buffer (0.5 s buckets). Exposes a Telnet CLI on TCP Port 23 for command execution (MAXTOR, ENABLE, STOP, STATUS, DUMP) and an HTTP status interface on Port 80.
Manufacturer: M5Stack | Chipset: Espressif Systems
Feetech SCS0009 Serial Bus Servo: A compact 6 V digital serial-bus micro servo operated in continuous rotation mode to drive the fastener tightening mechanism (clockwise tightening to the MAXTOR cutoff followed by a counterclockwise release backoff).
Manufacturer: Feetech RC
Waveshare Serial Bus Servo Driver Board: Provides half-duplex TTL UART level conversion and isolated servo power distribution between the ESP32 controller and the Feetech SCS0009 serial bus.
Manufacturer: Waveshare Electronics
Analog Torque / Load Potentiometer (GPIO4): A rotary/linear position transducer coupled to the mechanical deflection/load stage (calibrated with a resting zero ADC baseline of 2440), sampled by the ESP32 ADC to detect applied torque and trigger MAXTORQUE cutoffs.
AI-Thinker ESP32-CAM (ESP32-S + OV2640): Dedicated wireless visual inspection node featuring an ESP32 microcontroller with external PSRAM and a 2-megapixel OV2640 CMOS camera sensor. Listens on TCP Port 23 for snap and rec triggers from the display controller and serves captured JPEG stills (/capture) and MJPEG AVI video clips (/video) over HTTP Port 80.
Manufacturer: Ai-Thinker | Image Sensor: OmniVision OV2640