Arduino 5 Minute Tutorials: Lesson 5 - Servo Motors

@ Sounds similar to the Lynxmotion BRAT: http://www.lynxmotion.com/c-97-brat.aspx

Please can u help me in a program using servo library controlling 6 Servos using an single arduino uno and nothing else

@MD arfan This page should give you explanations of how to use the servo library, as well as examples: https://www.arduino.cc/en/Reference/Servo

I have a question. Can we use analog servo motor on digital pin output?

@naz Yes. If you are using an Arduino, we suggest using the Arduino servo library.

Dear Sir,

Please help me to make below mentioned type device using IR and Servos.

I need a servos, which can rotate based on ir distance measurement ( Example, if IR distance 30 meters then 45 degree rotate (or 2 full rotation), if 20 meters 90 degree rotate (or 5 full rotation), , if 10 meters 120 rotate (or 8 full rotation), , if 5 meters 180 rotate (or 10 full rotation), .

Kindly requesting you to advice to make such a device.

Thanks and regards

Zameer

@Zameer Since your question is more design related rather than about specific subjects in this post, it is best that you create a new topic on the RobotShop Forum: https://www.robotshop.com/forum/

i have some problem about my continuous rotation servo, i use 6 of it with a arduino mega signal pin is connect to 23,25,27,29,31,33; all positive is connect to mega 5.5v and all gnd pin are connect to mega gnd. after i upload the code, problem is coming. when i let anyone servo move when it start and stop,others servo will move awhile. How to solve it? Ty for helping.

@kizzi It sounds like a power issue; note that an Arduino’s IO pins cannot provide much current, so you should be powering the servos separately and only connect the signal and GND pins to the Arduino.

i still cant solve it with separate the supply. Problem still same. Should i use some transistor to stop them move?

@kizzi The issue would either be with the power or with the code. We suggest creating a new topic on the RobotShop Forum with images and the code.

This is my post link inside have my code and connection

Sir Glad you post this but i am getting a problem than whenever i attach my servo with arduino uno and upload the code , my arduino continuously start detaching, i also tried the example code in arduino ide.

Hello,
I was going to use this as part of my science fair project. I was wondering what you would have to do to be able to control two servos using the same Arduino board.
Please let me know.
Thank you!

@Akshay You should not power the servo from the Arduino; connect the signal wires to a digital pin, and split the black (GND) wire to the GND on Arduino and GND on an external power supply. The red wire goes to the power supply only. Use the Arduino servo library.

@Alisa You can use the Arduino servo library. If the servos don’t consume much current, you can plug them directly to the Arduino. If you think the current will be above 50mAh, you would need to power them separately.

Hi, how i can measured the frequency 50 Hz than when control to servo motor when frequency equal 50 Hz the servo position 0 degree, when the frequency more than 50 Hz the servo turn to right but when frequency less than 50 Hz the servo turn to left. is used on the synchronous control speed. thank you

@eliay It’s best to first understand the type of signal which the RC servo is expecting to receive. Frequency alone will not cause the servo to move to a specific location. Can you provide more details as to what you what to do and the parts you have to do it?

I need a Servo with Lowest Power Consumption to use it for building a gripper which is used to pick blocks of Thermocol of dimension 6cmx6cmx12cm…PLZ SUGGEST A SERVO WHICH WILL MINIMIZE THE POWER CONSUMPTION & reduce the current Surge

@Madhav Wagh We do not have any specific suggestions for servos with a very low current consumption. You will need to check each datasheet / guide: https://www.robotshop.com/en/servo-motors.html