Connect motors, servos, and other actuators to your OctoMY™ Agent.
Security Consideration
Always test new actuators at low power settings first. A misconfigured motor can move unexpectedly at full speed - secure the robot or detach moving parts until you've verified the configuration is correct.
OctoMY™ supports various actuator types:
| Type | Description | Use Case |
|---|---|---|
| Servo | Position-controlled motor | Arms, grippers, pan/tilt |
| DC Motor | Speed-controlled motor | Wheels, continuous rotation |
| Stepper | Step-controlled motor | Precise positioning |
| Linear | Linear actuator | Lifts, sliders |
| Relay | On/off switch | Lights, pumps |
On the Agent:
Choose the type of actuator you're adding:
Select which controller pin the actuator is connected to:
| Actuator Type | Pin Type | Notes |
|---|---|---|
| Servo | PWM | Needs 50Hz PWM signal |
| DC Motor | PWM + Direction | 2 pins for H-bridge |
| Stepper | 4 Digital | Step, Dir, Enable, etc. |
| Relay | Digital | Any GPIO |
Configure the actuator's physical characteristics:
Before saving, test the actuator:
Move the slider or tap the buttons to test movement.
Organize actuators into logical groups for control:
Two DC motors for tank-style steering:
| Actuator | Pin | Group |
|---|---|---|
| Left Motor | PWM 3, Dir 4/5 | Locomotion |
| Right Motor | PWM 6, Dir 7/8 | Locomotion |
Multiple servos for articulated arm:
| Actuator | Pin | Range |
|---|---|---|
| Base Rotation | PWM 2 | 0-180° |
| Shoulder | PWM 3 | 30-150° |
| Elbow | PWM 4 | 0-180° |
| Wrist | PWM 5 | 0-180° |
| Gripper | PWM 6 | 10-60° |
Two servos for camera aiming:
| Actuator | Pin | Range |
|---|---|---|
| Pan (horizontal) | PWM 9 | 0-180° |
| Tilt (vertical) | PWM 10 | 45-135° |
For programmatic control, actuators are defined in the hardware config:
{
"actuators": [
{
"name": "Right Arm Shoulder",
"type": "servo",
"pin": 3,
"min": 0,
"max": 180,
"minPulse": 500,
"maxPulse": 2500,
"inverted": true,
"group": "manipulation"
}
]
}
Location: ~/.local/share/OctoMY™/OctoMY Agent/<personality>/hardware.json