Servo DF05SR
Account cancelled 2011-08-08 12:09:28 7609 Views5 Replies I'm having trouble getting the DF05SR servo to work the way I would expect it to.
I have the DF05SR attached to the IO Expansion Shield on Digital Output 8. I don't have any power attached to the Servo Power Cable, I'm assuming I have enough 5V to power this one Servo, at least to play with it.
I'm using the "Sweep" example from Arduino Libraries Server/example directory.
The Servo is rotation 360+180 degrees in both directions, but I only expect 180 degree rotation. I've tried playing around with the code in various ways, but I just can figure out how to use this thing.
Does anyone have some example code to share?
Thanks,
Jim
I have the DF05SR attached to the IO Expansion Shield on Digital Output 8. I don't have any power attached to the Servo Power Cable, I'm assuming I have enough 5V to power this one Servo, at least to play with it.
I'm using the "Sweep" example from Arduino Libraries Server/example directory.
The Servo is rotation 360+180 degrees in both directions, but I only expect 180 degree rotation. I've tried playing around with the code in various ways, but I just can figure out how to use this thing.
Does anyone have some example code to share?
Thanks,
Jim
2011-08-10 22:11:31 Hi Jim,
Just write to the servo normally. At 90 it is stopped, below 90 is one direction and above is the other direction.
Hector
Just write to the servo normally. At 90 it is stopped, below 90 is one direction and above is the other direction.
Hector
2011-08-10 04:52:00 Hello Hector,
Thank you for the suggestion on servo selection for 180 degree operation.
Can you describe for me then how to control the DFR05SR when considering it to be a motor with speed control?
How do I then control speed and rotation direction? This is obviously different than the Motor Control shields which have separate DIR and PWM controls.
I must be able to control direction somehow since using the example application in arduino/libraries/Servo makes the DFR05SR rotate in both directions. I just don't understand what to do with the one Control Signal on DFR05SR.
Thanks,
Jim
Thank you for the suggestion on servo selection for 180 degree operation.
Can you describe for me then how to control the DFR05SR when considering it to be a motor with speed control?
How do I then control speed and rotation direction? This is obviously different than the Motor Control shields which have separate DIR and PWM controls.
I must be able to control direction somehow since using the example application in arduino/libraries/Servo makes the DFR05SR rotate in both directions. I just don't understand what to do with the one Control Signal on DFR05SR.
Thanks,
Jim
2011-08-09 18:14:59 Hi Jim,
It depends on how accurate you want your project to be. If you don't mind having a bit less than 180 degrees you can go for any of the inexpensive servos on our site. But if you require a high resolution high quality servo I would recommend the
SER0026. It is a very good quality servo, but a bit expensive. This servo is able to provide 300 degrees.
It depends on how accurate you want your project to be. If you don't mind having a bit less than 180 degrees you can go for any of the inexpensive servos on our site. But if you require a high resolution high quality servo I would recommend the
SER0026. It is a very good quality servo, but a bit expensive. This servo is able to provide 300 degrees.

