YouTube home Comedy Week on YouTube
Upload

How-To Tuesday: Arduino 101 potentiometers and servos

MAKE MAKE ·1,169 videos
445,117
413,287
Like     Dislike 43

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like MAKE's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike MAKE's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add MAKE's video to your playlist.

Uploaded on Feb 24, 2009

Check out makershed.com for a complete line of Arduino products.

This is the 3rd installment of my Aduino How-To Tuesdays. This week I am going to cover using another basic part, the potentiometer. I will also cover connecting a servo to the Arduino. Servos can be hard to control, but not with the Arduino! That's just another reason why I love this little micro-controller.

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Video Responses


All Comments (451)

Sign in now to post a comment!
  • rockandrollvirus

    could be done in one line :)

    myservowrite(map(analogRead(po­tpin), 0, 1023, 0, 179));

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate rockandrollvirus's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate rockandrollvirus's comment.
  • Bendoughver

    Np. If you need anything else just message me. 

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Bendoughver's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Bendoughver's comment.
    in reply to minecraft1851 (Show the comment)
  • minecraft1851

    thanks i'll try that

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate minecraft1851's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate minecraft1851's comment.
    in reply to Bendoughver (Show the comment)
  • Bendoughver

    Try re-installing the arduino software. Make sure you extract it to your desktop and have all the program files. Second make sure your using the right com port. That can be found in the settings of the Arduino Software.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Bendoughver's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Bendoughver's comment.
    in reply to minecraft1851 (Show the comment)
  • Theekshana Ambepitiya

    Nice Tutorial

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Theekshana Ambepitiya's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Theekshana Ambepitiya's comment.
  • minecraft1851

    ok i made that but i didnt have a protoshield i got this: avrdude: stk500_getsync(): not in sync: resp=0x00 what is the problem?

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate minecraft1851's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate minecraft1851's comment.
  • percaine

    could you do an esr meter circuit?

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate percaine's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate percaine's comment.
  • 2012daffyduck

    It's not a stepper motor - 0-179 is the degree... 180degrees is the range for most servo motors... 0-1023 is what is recieved from the pot.. 0 - 0V, 1023 - 5V

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate 2012daffyduck's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate 2012daffyduck's comment.
    in reply to Minh Tran (Show the comment)
  • laoch33

    can someone tell me where to find an explanation of the arduino's "servo.cpp" code? I don't know where in the code it increments it's timer for the pulse width of an individual servo. I want to write my own version in C to use with a pic18f. Any Help useful, thanks!

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate laoch33's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate laoch33's comment.
    in playlist Ardunio
  • Loading comment...
Loading...
Advertisement
Loading...
Working...
Sign in to add this to Watch Later