MCP Hardware Arduino
Bring up cheap robot hardware through MCP in small verified steps:
echo -> motors -> camera -> web, then depth, then mapping, then hybrid
autonomy. Low priority but real: one hobby demo proves the loop, heavy
scaffolding is expected, so keep scope to one cart and one room.
When To Activate
- The user says ESP32-CAM, PCA9685, SG90, MX12E-class driver, or MCP +
hardware robot.
- The task is iterative bring-up (motors, servo tilt, camera, web UI).
- The task needs depth-from-mono, topological mapping, or hybrid
line-follower + VLM driving.
- A previous hardware run jumped to autonomy before actuators were proven.
Workflow
- Echo first: prove board link and serial echo before wiring anything
that moves. Log firmware, pins, and power source per step.
- Motors: drive each channel forward and stop through the PWM driver,
then document direction limits (for example forward-only if the
driver has no reverse). Never tune autonomy on unproven motors.
- Camera: bring up the ESP32-CAM stream, then tilt servo sweep, then a
minimal web page showing stream plus manual jog buttons.
- Depth: add depth-from-mono on a CUDA-capable bench machine to
disambiguate near vs far. Record fallback behavior when depth fails.
- Map: build a topological map in RatSLAM style (object landmarks such
as fridge, bike, grill; count corridor crossings). Version each map
correction; never overwrite the last working map.
- Hybrid autonomy: follow the line (floor seam) where it exists, drive
"by eye" via VLM photos where it does not. Deterministic controller
owns the wheels; VLM only issues short guarded intents.
- Harden: cap speed, add kill switch, bound runs to the mapped room, and
keep every run log (map version, depth mode, interventions).
Anti-Patterns
- Full autonomy before echo, motors, and camera each pass alone.
- Tuning on an unversioned map that gets overwritten per run.
- Letting the VLM drive wheels directly with no deterministic guard.
- Ignoring power limits (brownouts look like software bugs).
- Bench-only success claimed as room-level autonomy.
Relations
mcp-server-patterns: tool, resource, and transport shape for the MCP
layer in front of the hardware.
local-ai-hardware: bench GPU sizing for the depth-from-mono step.
spatial-intelligence-world-models: high-end spatial reasoning behind
the low-cost landmark mapping used here.
Sources
- No external hardware URL confirmed at write time - verify part
datasheets (ESP32-CAM, PWM driver, servo) against the parts on your
bench before wiring; do not trust video pinouts blindly.
- Bring-up order, driver mix, depth-from-mono on CUDA, RatSLAM-style
Exemplo
Carrinho 1 sala: echo OK (firmware+pinos logados) → motores → ESP32-CAM + tilt → web jog
Depth-from-mono na bancada CUDA → mapa topológico versionado (nunca sobrescreve o bom)
Autonomia híbrida: linha onde há + VLM intents curtos onde não há; kill switch ativo
1---2name: mcp-hardware-arduino3description: "Use when bringing up low-cost robot hardware through MCP with iterative echo-to-autonomy steps, depth-from-mono, topological mapping, and hybrid line-plus-VLM driving. Triggers on \"esp32 cam\", \"mcp hardware\", \"arduino bring-up\", \"pca9685\", \"ratslam\", \"line follower vlm\". Non-triggers: pure software MCP server with no hardware (use mcp-server-patterns), buying local AI rigs (use local-ai-hardware). Outcome: a versioned bring-up log plus a hybrid autonomy loop running on the bench."4metadata:5 source: https://skillmd.com/skills/majinmagros/mcp-hardware-arduino6 origin: ECC7---89# MCP Hardware Arduino1011Bring up cheap robot hardware through MCP in small verified steps:12echo -> motors -> camera -> web, then depth, then mapping, then hybrid13autonomy. Low priority but real: one hobby demo proves the loop, heavy14scaffolding is expected, so keep scope to one cart and one room.1516## When To Activate1718- The user says ESP32-CAM, PCA9685, SG90, MX12E-class driver, or MCP +19 hardware robot.20- The task is iterative bring-up (motors, servo tilt, camera, web UI).21- The task needs depth-from-mono, topological mapping, or hybrid22 line-follower + VLM driving.23- A previous hardware run jumped to autonomy before actuators were proven.2425## Workflow26271. Echo first: prove board link and serial echo before wiring anything28 that moves. Log firmware, pins, and power source per step.292. Motors: drive each channel forward and stop through the PWM driver,30 then document direction limits (for example forward-only if the31 driver has no reverse). Never tune autonomy on unproven motors.323. Camera: bring up the ESP32-CAM stream, then tilt servo sweep, then a33 minimal web page showing stream plus manual jog buttons.344. Depth: add depth-from-mono on a CUDA-capable bench machine to35 disambiguate near vs far. Record fallback behavior when depth fails.365. Map: build a topological map in RatSLAM style (object landmarks such37 as fridge, bike, grill; count corridor crossings). Version each map38 correction; never overwrite the last working map.396. Hybrid autonomy: follow the line (floor seam) where it exists, drive40 "by eye" via VLM photos where it does not. Deterministic controller41 owns the wheels; VLM only issues short guarded intents.427. Harden: cap speed, add kill switch, bound runs to the mapped room, and43 keep every run log (map version, depth mode, interventions).4445## Anti-Patterns4647- Full autonomy before echo, motors, and camera each pass alone.48- Tuning on an unversioned map that gets overwritten per run.49- Letting the VLM drive wheels directly with no deterministic guard.50- Ignoring power limits (brownouts look like software bugs).51- Bench-only success claimed as room-level autonomy.5253## Relations5455- `mcp-server-patterns`: tool, resource, and transport shape for the MCP56 layer in front of the hardware.57- `local-ai-hardware`: bench GPU sizing for the depth-from-mono step.58- `spatial-intelligence-world-models`: high-end spatial reasoning behind59 the low-cost landmark mapping used here.6061## Sources6263- No external hardware URL confirmed at write time - verify part64 datasheets (ESP32-CAM, PWM driver, servo) against the parts on your65 bench before wiring; do not trust video pinouts blindly.66- Bring-up order, driver mix, depth-from-mono on CUDA, RatSLAM-style6768## Exemplo6970```text71Carrinho 1 sala: echo OK (firmware+pinos logados) → motores → ESP32-CAM + tilt → web jog72Depth-from-mono na bancada CUDA → mapa topológico versionado (nunca sobrescreve o bom)73Autonomia híbrida: linha onde há + VLM intents curtos onde não há; kill switch ativo74```