Go Down

Topic: Software Servo Library with Digital/Analog Servos (Read 914 times) previous topic - next topic

Ben1234

This may be a silly question, but can I use both Digital and Analog servos with the Software Servo library?


DuaneB

Yes, most servos are designed to work with the standard RC Pulse range of 1000 to 2000 microseconds as provided by the Arduino Servo library - I assume that you mean the standard Arduino Servo library when you refer to 'Software Servo' ?

Duane B

rcarduino.blogspot.com
Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

Ben1234

I meant this library since I plan to use 12 servos with an Arduino Uno

http://playground.arduino.cc/ComponentLib/servo

cr0sh


This may be a silly question, but can I use both Digital and Analog servos with the Software Servo library?


What do you mean by "digital servo"?

Do you mean a servo that takes standard PPM RC control signals, and using an internal microcontroller, updates the position at a quicker rate? Example:

http://www.hobbypartz.com/servos1.html

...or do you mean a servo that uses a digital bus (and is programmable, has various feedback via bus, etc)? Example:

http://www.robotis.com/xe/dynamixel_en

If the former, it shouldn't be an issue; if the latter - then no; not without some kind of method of conversion (which would almost defeat the purpose of these specialized servos).
I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

DuaneB

You do not want to use the software servo library, at one time the standard servo library that comes with Arduino was limited to a small number of servos, but for years now it has been able to support 12, it is very well known, very well supported and very reliable. Best of all the standard library does not require you to call refersh every 50ms.

Here is an example you can use right now that drives 12 servos with the standard library -

http://rcarduino.blogspot.ae/2012/01/can-i-control-more-than-x-servos-with.html

Duane B

rcarduino.blogspot.com
Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

Go Up