Sabertooth Dual Motor Shield (Packet Serial).MaxVoltage

From Visuino
Jump to navigation Jump to search

Summary

Specifies a custom maximum voltage

Description

Use this property to specify a custom maximum voltage.

If you are using a power supply that cannot sink current such as an ATX supply, the input voltage will rise when the driver is regenerating (slowing down the motor) Many ATX type supplies will shut down if the output voltage on the 12v supply rises beyond 16v. If the driver detects an input voltage above the set limit, it will put the motor into a hard brake until the voltage drops below the set point again. This is inefficient, because the energy is heating the motor instead of recharging a battery, but may be necessary.

The driver comes preset for a maximum voltage of 30V. The range for a custom maximum voltage is 0v-25v. The formula for setting a custom maximum voltage is

Value = Desired Volts*5.12

If you are using any sort of battery, then this is not a problem and the max voltage should be left at the startup default.