Arduino code to cut power of specific channel for Maestro?

I am trying to use an Arduino to control the Mini Maestro 18-Channel, but is it possible for the Arduino to cut power to a channel? Kinda like “servo.dettach()” in Arduino’s Servo.h library. So is it possible to do so? If so, how do I do it?

Hello.

You can send a target position of 0 to a specified channel to turn off the servo signal outputs on that channel. However, note that whether or not this causes the servo to stop holding its position depends on the particular servo (some digital servos will continue to hold the position of the last good signal). You can find information about the Set Target command in the “Serial Servo Commands” section of the Maestro user’s guide. If you are using our Maestro Servo Controller Library for Arduino, you can use the Maestro::SetTarget() command (e.g. maestro.SetTarget(5,0) would turn off the servo output signals on channel 5).

Brandon

Thank you so much, this helped a lot :smiley:

1 Like