I'm trying to make servo motor(I am using FT90R) to increase or decrease degrees according to user choice.
I've created an code that get input from the user via Serial and according to the input the motor increase or decrease.
But for some reason, when I call each of one of the function the motor start working without a break. do I miss something over here?
Normal Servo write() values are from 0 to 180 with the centre at 90. So starting from 0 then subtracting 5 from it makes no sense.
But your real problem is that the FEETECH FT90R is a continuous rotation servo. I.e. it is not a normal servo, it has NO position control. The different write() values just control direction and speed of rotation. You need a different servo.
UKHeliBob:
I would guess that you have a continuous rotation "servo"
If so, then you cannot control its angle, only its speed and direction
slipstick:
Normal Servo write() values are from 0 to 180 with the centre at 90. So starting from 0 then subtracting 5 from it makes no sense.
But your real problem is that the FEETECH FT90R is a continuous rotation servo. I.e. it is not a normal servo, it has NO position control. The different write() values just control direction and speed of rotation. You need a different servo.
Steve
Thank you for your answers.
Do you have any suggestions of the servo motor I need which have the same dimensions?
Eshk12:
Thank you for your answers.
Do you have any suggestions of the servo motor I need which have the same dimensions?
The incredibly well-known SG90 is approximately the same size, so is the MG90 if you prefer metal gears. That's a fairly standard size for micros servos and there are hundreds of them.