servo/ motor problems

Hi, i´m really really new to ardunio so im a complete newbie. Ich have an servo/motor this one :®isseur=&anbieter=&genre=&fsk=&jahr=&jahr2=&dvd_error=X&dvd_empty_error=X&dvd_year_error=&call_dvd=&kna_news=&p_status_scenario=&documentselector=&aktiv=&p_load_area=$ROOT&p_artikelbilder_mode=&p_sortopt=&page=&p_catalog_max_results=10

And i want it to work with the ardunioboard. So a friend told me that i need to put an resistor bevor the motor but i have no idear whisch one. So mybe someone can help me here.

Some info to the projekt ic have a little box with my arduino board in it an der is an "piezo" vor sond input. This Piezo gets "knockings" on the tables an switsch on 3 LED which are inside the box. Also if the knocking is frequent and louder the box should start moving .. so i need the servo/motor.

I hope my english is not that bad, so someone can help me here. greets timme

The link doesn’t work.

You don’t need a resistor to hook up a servo.
In this presentation you can find instructions for connecting a servo to your arduino: (page 22 following) <---- have a look at all the class notes. Very good stuff for beginners!

Hi, thx for the links. I will check it.

Sorry that the link is broken in my post. So i will write here some technical detail. Here is an PDF Hope this link will help.

her some tech info: (soory its german) Nennspannung: 12 V/DC Leerlauf-Drehzahl: 12600 U/min Ø-Stromaufnahme: 0.29 A Typ: 2025-30 Gewicht: 18 g Last-Drehzahl: 9400 U/min Effizienz: 40 % Abgabeleistung: 1.5 W Max. Drehmoment: 1.5 Nmm Betriebsspannung: 3 - 15 V/DC Leerlauf-Strom: 0.1 A

greets timme


the datasheet you linked to above is for a plain old DC motor, not an r/c servo motor. R/C Servo motors look like this:

The motor you have will need a separate power supply as well as a motor driver circuit:

All of the above drivers give you the opportunity to change motor direction via software commands; if you only want it to run in one direction, you can just use a TIP41 or similar transistor or Mosfet...

The R/C stores also sell a "servo-style" moduel that is equivaluent to the ones above, but it's usually expensive. You'll also need a separate power supply to run the motor: connect the ground of the 12V motor supply to the Arduino ground, and run the +!2 to the motor, whcih will be in series with the controller.

Or.. and perhaps this is simpler... you can just get an R/C servo motor!


Hi, oh thx - ok I have a small servo here. I will try to hack so that it will turn in one direktion. Is there maybe a workaround?

greets timme

What kind of servo is it?


Serial Controlled Variable Speed Motor Control the speed of a small DC motor with nothing but the serial port on your computer, a single MOSFET, and some trivial software.

I'm sure this principle can be used with the Arduino, too.

or check this code (if you are running a servo!), escpecially for arduino:

well, i tried the code now with a servo motor, works good, except that the servo is flickering even when the analog value doesnt change. though, it makes some strange noises. tried it with a constant minPulse as well. then included the metro-library, cause i thought the delaymicroseconds might be not precise enough. nothing changed? should i put a capacitor between servo pin and ground? any advice?