Hi,
I have a weird problem. I’m using custom PC software to send serial commands to the Mini Maestro 12 board.
Servo control works fine and as expected, but only in the range of 1000-2000ms (servo target value 4000-8000).
No reaction from the servo outside of the target values range.
I’m pretty sure I don’t have this limits in my software, and range of motion of the servos is supposed to be larger.
Are there any limits pre-configured for the board? Any other possible reason?
Here is the code that I use to send commands, I just copy-pasted it from some example.
bool ServoControl::sendTarget(ofSerial *serial) {
uint32_t target_value = (uint32_t) (target.get());
serial->writeByte(0xAA); //start byte
serial->writeByte(0x0C); //device id
serial->writeByte(0x04); //command number
serial->writeByte(number); //servo number
serial->writeByte(target_value & 0x7F);
serial->writeByte((target_value >> 7) & 0x7F);
}