Forum >Servo DF05SR
ArduinoGeneral

Servo DF05SR

userHead jduda 2011-08-08 12:09:28 7194 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
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
userHeadPic 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
userHeadPic jduda
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.
userHeadPic Hector
2011-08-09 12:24:02 Hector,

Okay, I didn't realize that a 360 "servo" isn't really a "servo".  How do I differentiate the two types from the web site description?  I want a servo to pivot a Ping Sensor in a 180 degree range.  What do you suggest?

Thanks,

Jim
userHeadPic jduda
2011-08-08 20:26:44 Hi Jim,

the DFR05SR Servo does not function as a regular servo. Because it is able to rotate 360 degrees it behaves more like a motor with speed control.
This means you can not control degree rotation with this type of servo.

Hector
userHeadPic Hector