servo/ motor problems

Hi,
i´m really really new to ardunio so im a complete newbie. Ich have an servo/motor this one : http://www1.conrad.de/scripts/wgate/zcop_b2c/~flNlc3Npb249UDkwV0dBVEU6Q19BR0FURTAyOjAwMDAuMDBmOS4yYjNkNjUxNiZ+aHR0cF9jb250ZW50X2NoYXJzZXQ9aXNvLTg4NTktMSZ+U3RhdGU9MzI0MTQ0OTYzNg==?~template=PCAT_AREA_S_BROWSE&mfhelp=&p_selected_area=%24ROOT&p_selected_area_fh=&perform_special_action=&glb_user_js=Y&shop=B2C&vgl_artikel_in_index=&product_show_id=&p_page_to_display=DirektSearch&~cookies=1&zhmmh_lfo=&zhmmh_area_kz=&s_haupt_kategorie=&p_searchstring=motor&p_searchstring_artnr=&p_search_category=alle&r3_matn=&insert_kz=&area_s_url=&brand=&amount=&new_item_quantity=&area_url=&direkt_aufriss_area=&p_countdown=&p_80=&p_80_category=&p_80_article=&p_next_template_after_login=&mindestbestellwert=&login=&password=&bpemail=&bpid=&url=&show_wk=&use_search=3&p_back_template=&template=&titel=&darsteller=&regisseur=&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:
http://todbot.com/blog/wp-content/uploads/2006/10/arduino_spooky_projects_class3.pdf (page 22 following)

Spooky Projects – Introduction to Microcontrollers with Arduino – todbot blog <---- 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 http://www.produktinfo.conrad.com/datenblaetter/225000-249999/244474-da-01-de-12V_Elektromotor.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

Hi

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: RC servo controlling

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!

D

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?

D

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.

http://www.instructables.com/id/E1PR6UUL0REUF10PO4/?ALLSTEPS

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:

http://www.tigoe.net/pcomp/code/archives/arduino/000741.shtml

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?