UNIHIKER Expansion Motor Control
SkillDev toolsUse this skill to control motors on a DFRobot UNIHIKER Expansion board (SKU: DFR1216). Chinese name is 行空板扩展板.
Use UNIHIKER Expansion Motor Control in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add UNIHIKER Expansion Motor Control and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the UNIHIKER Expansion Motor Control skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
ESP-Claw Skills Lab
What this skill tells your AI
The instructions your AI receives, as published by espressif/esp-claw-skills-lab in skills/unihiker_expansion_motor_control/SKILL.md and read by Ahel’s review.
Use this skill to control motors on a DFRobot UNIHIKER Expansion board (SKU: DFR1216). Chinese name is 行空板扩展板.
Run exactly one script with lua_run_script.
If lua_run_script returns an error, report that error directly to the user.
Do not retry with changed arguments in the same turn unless the user explicitly asks.
Tool Call Inputs
Stop all motors:
{"path":"{CUR_SKILL_DIR}/scripts/set_motor.lua","args":{"stop_all":true}}
Drive motor1 forward:
{"path":"{CUR_SKILL_DIR}/scripts/set_motor.lua","args":{"period_12":255,"duty":{"m1_a":255,"m1_b":0}}}
Drive motor1 reverse:
{"path":"{CUR_SKILL_DIR}/scripts/set_motor.lua","args":{"period_12":255,"duty":{"m1_a":0,"m1_b":255}}}
Drive four motors with mixed duty values:
{"path":"{CUR_SKILL_DIR}/scripts/set_motor.lua","args":{"period_12":255,"period_34":255,"duty":{"m1_a":255,"m1_b":0,"m2_a":0,"m2_b":255,"m3_a":50,"m3_b":0,"m4_a":0,"m4_b":50}}}
Drive motor1 forward for 2 seconds, then auto stop:
{"path":"{CUR_SKILL_DIR}/scripts/set_motor.lua","args":{"period_12":255,"auto_stop_ms":2000,"duty":{"m1_a":255,"m1_b":0}}}
Notes:
auto_stop_msis optional. Default is0(no timer stop).- When
auto_stop_ms > 0, the script waits that many milliseconds and then writes all motor duty channels to0.
Recommended Flow
- Confirm the expansion board is connected to an available I2C bus.
- Use the script defaults unless the user explicitly provides custom I2C settings.
- Run
{CUR_SKILL_DIR}/scripts/set_motor.luawith desiredperiod_12,period_34, andduty. - If immediate emergency stop is needed, run the script with
stop_all: true. - Report script output directly to the user, including any error.
Signals
- GitHub stars
- 34
- Forks
- 17
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
unihiker-expansion-motor-control- Source
- github.com/espressif/esp-claw-skills-lab
github.com/espressif/esp-claw-skills-lab