Multiple Servo Control with Potentiometers and Arduino
HTML-код
- Опубликовано: 8 сен 2024
- In this tutorial, we will learn how to use multi-servo with potentiometer. We will control 4 pcs servo motor with 4 pcs potentiometer. You can implement your robotic arm projects with reference to this tutorial. Of course we will use external battery / power when doing this.
In the next tutorial, I'll show you how to control servo motor with joystick. Do not forget to subscribe. Thank you for your support. I did not share the code because it is short and it varies according to the number of servo,potentiometer. You can write code by watching the tutorial. This is a better way to learn. I will continue to share long and complex codes.
Required Hardware:
Arduino Board
goo.gl/UyGYeF
amzn.to/2LZr6t4
Servo Motor x4 :
goo.gl/iOkPgu
amzn.to/3avwe1N
10k Potentiometer x4:
goo.gl/c90Uix
amzn.to/3dlgYq1
Jumper Wires :
goo.gl/VRzUN4
amzn.to/3doetmT
Breadboard:
goo.gl/yCa8hX
amzn.to/3qxLxwm
Connections:
The external battery VCC / GND connect to the breadboard.
The Arduino GND connect to the breadboard's GND input
The servo connections we use in this project are as follows;
Orange Input - Signal Input
Red Input - Power Input (VCC)
Brown Input - Ground Input(GND)
The potentiometer connections we use in this project are as follows;
Two other pins are power (VCC) and ground (GND)
Middle pin is signal pin
The Servo1 VCC and GND connect to the breadboard's VCC / GND inputs
The Servo1 Signal connect to the Arduino Digital PWM 3
The Servo2 VCC and GND connect to the breadboard's VCC / GND inputs
The Servo2 Signal connect to the Arduino Digital PWM 5
The Servo3 VCC and GND connect to the breadboard's VCC / GND inputs
The Servo3 Signal connect to the Arduino Digital PWM 6
The Servo4 VCC and GND connect to the breadboard's VCC / GND inputs
The Servo4 Signal connect to the Arduino Digital PWM 9
The Potentiometer's one outer pin connect to the breadboard VCC input
The Potentiometer's other outer pin connect to the breadboard GND input
The Potentiometer's middle pin connect to the Arduino Analog 1-2-3-4 input
Source:
Web Site: www.mertarduino.com
Social Media:
/ mertarduino
/ mertarduino