Breaking News
Home / Arduino Tutorials / Arduino Tutorial 04 – Servo Motor Control with Potentiometer

Arduino Tutorial 04 – Servo Motor Control with Potentiometer

Want create site? Find Free WordPress Themes and plugins.



Description

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

Hardware Required

Arduino or Genuino Board
Servo Motor
10k ohm potentiometer
hook-up wires
mini breadboard

Recommended site to buy the required hardware:
https://www.banggood.com/?p=CS120478587752016125

Circuit

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.

————

*** 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.

———-
Get the Code:

http://mertarduinotutorial.blogspot.com.tr/2016/12/arduino-tutorial-04-servo-motor-control.html

—-

source

Did you find apk for android? You can find new Free Android Games and apps.

About admin

Check Also

Arduino Tutorial: RFID Tutorial RC522 with an Arduino Uno and an OLED display from Banggood.com

Want create site? Find Free WordPress Themes and plugins. Are you interested in an Arduino …

Leave a Reply