Control the position of the Servo motor with the Arduino and the potentiometer.

Required Hardware:
Arduino Board
Servo Motor
10k ohm Potentiometer
Jumper Wires
Mini Breadboard

Arduino Compatible SCM – https://goo.gl/yi21yB
Electronics Equipments – https://goo.gl/covX9J
Module Board For Arduino – https://goo.gl/81dafX

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 the Arduino. I suggest you use external power to the servo. SG90 Mini Servo motors can be used.

Get Source Code: http://bit.ly/2qY89cd
Download Source Code: http://bit.ly/2OWC4ez
Web Site: www.mertarduino.com

Social Media:
https://www.instagram.com/mertarduino/
https://www.facebook.com/mertarduino/

Source

Leave a Reply