Circuit Documentation
Summary
This circuit consists of two KY-023 Dual Axis Joystick Modules, three Servo motors, and an Arduino UNO microcontroller. The joysticks are used to control the servos, with each joystick providing two axes of control. The Arduino UNO reads the joystick positions and generates PWM signals to control the servos.
Component List
KY-023 Dual Axis Joystick Module
- Description: A joystick module that provides two axes of analog output and a digital switch.
- Pins: GND, +5V, VRx, VRy, SW
Servo
- Description: A standard servo motor that can be controlled using PWM signals.
- Pins: GND, VCC, PWM
Arduino UNO
- Description: A microcontroller board based on the ATmega328P. It has 14 digital input/output pins, 6 analog inputs, and is programmable with the Arduino IDE.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
Wiring Details
KY-023 Dual Axis Joystick Module 1
- GND: Connected to Arduino UNO GND
- +5V: Connected to Arduino UNO 5V
- VRx: Connected to Arduino UNO A0
- VRy: Connected to Arduino UNO A1
- SW: Not connected
KY-023 Dual Axis Joystick Module 2
- GND: Connected to Arduino UNO GND
- +5V: Connected to Arduino UNO 5V
- VRx: Connected to Arduino UNO A2
- VRy: Not connected
- SW: Not connected
Servo 1
- GND: Connected to Arduino UNO GND
- VCC: Connected to Arduino UNO 5V
- PWM: Connected to Arduino UNO D9
Servo 2
- GND: Connected to Arduino UNO GND
- VCC: Connected to Arduino UNO 5V
- PWM: Connected to Arduino UNO D10
Servo 3
- GND: Connected to Arduino UNO GND
- VCC: Connected to Arduino UNO 5V
- PWM: Connected to Arduino UNO D11
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the Arduino UNO microcontroller.
