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

Arduino - Multiple Servo Control With Joystick: Step 2: Connections

This document provides instructions for connecting an Arduino, two servos, and a joystick to control the servos' positions with the joystick. It details connecting the power sources and signals for each component, with the servo signals going to specific Arduino PWM pins and the joystick X and Y outputs going to analog pins to read their position values. Code is then needed to read the joystick values and write to the servos.

Uploaded by

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

Arduino - Multiple Servo Control With Joystick: Step 2: Connections

This document provides instructions for connecting an Arduino, two servos, and a joystick to control the servos' positions with the joystick. It details connecting the power sources and signals for each component, with the servo signals going to specific Arduino PWM pins and the joystick X and Y outputs going to analog pins to read their position values. Code is then needed to read the joystick values and write to the servos.

Uploaded by

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

Arduino - Multiple Servo Control With Joystick

Step 2: 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 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 joystick connections we use in this project are as follows;
* The Joystick GND connect to the Arduino GND
* The Joystick VCC connect to the Arduino VCC
* The Joystick 'X' (in some modules 'H') connect to the Arduino Analog 0
* The Joystick 'Y' (in some modules 'V') connect to the Arduino Analog 1
* The Joystick 'SW' (switch or button) not connected.
About the Joystick Module:
2 x 5K Potentiometers for reading the X and Y position
1 x Normally Open Momentary Switch
Simple 5 pin +5Vcc - GND - VRx - VRy - SW

Step 3: Code

/http://www.instructables.com/id/Arduino-Multiple-Servo-Control-With-Joystick

You might also like