0% found this document useful (0 votes)
94 views

Arduino - How To Control Servo Motor With Potentiometer - 5 Steps (With Pictures) - Instructables

Uploaded by

bouchareb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views

Arduino - How To Control Servo Motor With Potentiometer - 5 Steps (With Pictures) - Instructables

Uploaded by

bouchareb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

 (/) Circuits (/circuits/) Workshop (/workshop/) Craft (/craft/) Cooking (/cooking/) Living (/living/) Outside (/outside/)

Arduino : How to Control Servo Motor With Potentiometer by MertArduino (/member/MertArduino/) Follow Log In (/account/login/) | Sign Up

Teachers (/teachers/) (/account/register/)

Download Favorite w I Made It


instructables (/circuits/) Projects (/circuits/projects/) Contests (/contest/) Let's Make...
circuits 

Arduino : How to Control Servo Motor With Potentiometer


By MertArduino (/member/MertArduino/) in Circuits (/circuits/) > Arduino (/circuits/arduino/projects/) 61.384 141 9 Featured

Download Favorite

auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=a611c8bb41698946a748f39db8b51176)
(https://content instructables com/ORIG/F5C/LYKV/IUEU1VZJ/F5CLYKVIUEU1VZJ jpg?

(/member/MertArduino/)
By MertArduino
(/member/MertArduino/)
YouTube More by
(https://www.youtube.com/c/MertArduino? the author:
sub_confirmation=1)

Follow

About: Arduino, Raspberry Pi, esp8266, Tutorials, Projects More About MertArduino » (/member/MertArduino/)

This instructable is the written version of my "Arduino : How To Control Servo Motor with
Potentiometer" YouTube video that I've uploaded recently. I strongly recommend you to check it
out.

Visit YouTube Channel (https://www.youtube.com/channel/UCAH7OndkAgtjkmJ6IQvEw)

 Add Tip V Ask Question | Comment Download

Step 1: Tutorial

Arduino Servo Motor Control with Potentiometer

/
Arduino : How to Control Servo Motor With Potentiometer by MertArduino (/member/MertArduino/) Follow

Download Favorite w I Made It

Control the position of a RC (hobby) servo motor with your Arduino and a potentiometer.

*** I recommend! You not connect directly the servo motor to arduino. I suggest you use
external power to the servo.

SG90 Mini RC servo motors can be used. This can damage the Arduino MG996 instant high
torque.

MG996 Stall Torque: 9.4kg / cm (4.8V) - 11 kg / cm (6.0V) and Operating voltage: 4.8 ~ 6.6v.

I wanted to tell in this tutorial; connections, code generation and motor control. So I did not give
more details about the engine.

 Add Tip V Ask Question | Comment Download

Step 2: Hardware Required

/
Arduino : How to Control Servo Motor With Potentiometer by MertArduino (/member/MertArduino/) Follow

Download Favorite w I Made It

auto=webp&frame=1&width=1024&fit=bounds&md=2ecadc52584723bb5672314b60d1b4aa)
(https://content instructables com/ORIG/FQU/HJI3/IUEU1W05/FQUHJI3IUEU1W05 png?

Hardware Required

Arduino or Genuino Board


Servo Motor
10k ohm potentiometer
hook-up wires
mini breadboard

 Add Tip V Ask Question | Comment Download

Step 3: Circuit

(https://content
auto=webp&frame=1&width=1024&fit=bounds&md=ee09695d3d39b9b6d5
instructables com/ORIG/FYM/MDTP/IUEU1W0Z/FYMMDT

/
Arduino : How to Control Servo Motor With Potentiometer by MertArduino (/member/MertArduino/) Follow

Download Favorite w I Made It

5 More Images

Servo motors have three wires: power, ground, and signal. The power wire is typically red, and
should be connected to the 5V pin on the Arduino or Genuino board. The ground wire is
typically black or brown and should be connected to a ground pin on the board. The signal pin
is typically yellow or orange and should be connected to pin 9 on the board.

The potentiometer should be wired so that its two outer pins are connected to power (+5V) and
ground, and its middle pin is connected to analog input 0 on the board.

 Add Tip V Ask Question | Comment Download

Step 4: Code

auto=webp&frame=1&width=1024&fit=bounds&md=8427e23e1082ba82ac1c9d8ee1b10af4)
(https://content instructables com/ORIG/FGF/J3FD/IUEU1WC6/FGFJ3FDIUEU1WC6 png?

This example makes use of the Arduino servo library.

Get the Code (https://youtu.be/uIdEdCDBU-E)

 Add Tip V Ask Question | Comment Download

/
Step 5: If I Was Helpful
Arduino : How to Control Servo Motor With Potentiometer by MertArduino (/member/MertArduino/) Follow

Download Favorite w I Made It

(https://content
auto=webp&frame=1&width=1024&fit=bounds&md=2712a20729753ddfc13b0612051ec96c)
instructables com/ORIG/FCE/3HFT/IUEU1WDC/FCE3HFTIUEU1WDC png?

First of all, I would like to thank you for reading this guide ! I hope it helps you.

If you want to support me, you can subscribe my channel and watch my videos.

Visit My YouTube Channel (https://www.youtube.com/channel/UCAH7OndkAgtjkmJ6IQvEw)

 Add Tip V Ask Question | Comment Download

2 People Made This Project!

MarioG157 (/member/MarioG157/) made it! Joecodes (/member/Joecodes/) made it!

Did you make this project? Share it with us!


/
Arduino : How to Control Servo Motor With Potentiometer by MertArduino (/member/MertArduino/) Follow
I Made It!

Download Favorite w I Made It

Recommendations

(/LED-Chaser-Circuit-Without-IC/) (/RGB-Glasses/)

LED Chaser Circuit Without IC (/LED- RGB Glasses (/RGB-Glasses/) by


Chaser-Circuit-Without-IC/) by NEW PEW SixteenBit (/member/SixteenBit/) in LEDs
(/member/NEW+PEW/) in LEDs (/circuits/leds/projects/)

 27 8 3.9K  16 8 2.5K

(/contest/makeitglow21/) (/contest/fta2021/)

 Add Tip

V Ask Question

| Post Comment

We have a be nice policy.


Please be positive and constructive.

Add Images Post

9 Discussions

(/member/Salamyman/) Salamyman (/member/Salamyman/) Question 2 years ago

Answer / Upvote
could this work with a 22k ohm potentiometer as well?

(/member/Arjun+Dhama+2/) Arjun Dhama 2 (/member/Arjun+Dhama+2/) Question 2 years ago

Answer / Upvote
i made it but to power the servo i used a bread board power supply module , it didnt work.If i plug in
the servo to the board the power of the board is gone , the coding is correct

(/member/Mano373/) Mano373 (/member/Mano373/) 4 years ago


Reply / Upvote
/
hi my friend I want to make an rc transmitter & receiver 4ch or more by using 2 arduino one send the
Arduino : How to Control Servo Motor With Potentiometer by MertArduino (/member/MertArduino/) Follow
positions of the servos and the second receive and output the pulses for each one and by the serial
connection ..... any ideas ^_^ I will be thankful
Download Favorite w I Made It
4 replies F

(/member/ahmet_024102/) ahmet_024102 (/member/ahmet_024102/) 4 years ago

Reply / Upvote
mert teşekkürler
1 reply F

Post Comment

Categories About Us Resources


 Circuits  Living Who We Are Sitemap (/sitemap/)
(/circuits/) (/living/) (/about/) Help (/how-to-write-a-
 Workshop  Outside Why Publish? great-instructable/)
(/workshop/) (/outside/) (/create/) Contact (/contact/)
 Craft  Teachers Jobs (/jobs/)
(/craft/) (/teachers/)
 Cooking
(/cooking/)
Find Us

(https://www.instagram.com/instructables/) (https://www.pinterest.com/instructables) (https://www.facebook.com/instructables) (https://www.twitter.com/instructables)

© 2021 Autodesk, Inc. Terms of Service (http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=21959721)


Privacy Statement (http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=21292079)
Privacy settings
Legal Notices & Trademarks (http://usa.autodesk.com/legal-notices-trademarks/)
(http://www.autodesk.com)

You might also like