arduino
Installation
SKILL.md
Arduino
This skill is for end-to-end Arduino work that must survive contact with real hardware: board selection, wiring, firmware structure, PlatformIO, testing, debugging, and troubleshooting.
If the task is mainly about choosing sensors or dealing with noisy detection in robotics/domotica, also load sensors.
Workflow
-
Lock the target board, toolchain, and capability profile.
- Prefer exact names:
Arduino Uno,Uno R4 WiFi,Nano ESP32,ESP32 Dev Module, etc. - Lock the toolchain:
Arduino IDE 2,Arduino CLI,PlatformIO, orArduino Cloud. - If the target is unknown, state assumptions and choose the narrowest safe target.
- Immediately note: board family, voltage domain, resource limits, reserved pins, wireless stack.
- Prefer exact names:
-
Plan hardware and wiring before code structure.
- Separate inputs, outputs, buses, interrupts, and high-current loads.
- Document pull-up or pull-down assumptions, current draw, and shared grounds.
- Call out when motors, relays, LEDs, displays, or radio modules need external power, drivers, transistors, or level shifting.