I am using Minimaestro 18ch servo controller with Arduino Uno. I think i have got all my connections right.
I am facing a problem in implementing the settarget function.
According to the literature, i need to use the code in the following manner:
setTarget (ch. no., 4 x microsecond value)
and standard servos have range of 0 to 180 deg corresponding to 1000 to 2000 microsecond.
so to go to zero position I write :
setTarget (0, 4000)
and to go to 180 deg position i write :
setTarget (0, 8000)
When I send these commands, the servo doesn’t go to 0 deg but somewhere between 0 and 90 deg position. Similarly , when I send 8000, the servo goes between 180 to 90 deg.
When I use the same servo with only Arduino by using servo.write(pin no., angle in deg), the servo goes to the required position and uses the complete range of 0 to 180 deg.
Although the neutral position matched in both the cases.
The servo motion gets scaled down because of this issue and I don’t get the expected output.
What would possibly be wrong?
I am using TowerPro SG90 and MG996 servos.