Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, a KY-023 Dual Axis Joystick Module, and a Servo motor. The Arduino UNO serves as the central control unit, reading inputs from the joystick and controlling the servo motor based on the joystick's position.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- 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
Servo
- Description: A motor that can be controlled to move to a specific position.
- Pins: GND, VCC, PWM
KY-023 Dual Axis Joystick Module
- Description: A joystick module that provides analog output for X and Y axes and a digital output for the switch.
- Pins: GND, +5V, VRx, VRy, SW
Wiring Details
Arduino UNO
- IOREF: Connected to KY-023 Dual Axis Joystick Module +5V
- 5V: Connected to Servo VCC
- GND: Connected to Servo GND and KY-023 Dual Axis Joystick Module GND
- A0: Connected to KY-023 Dual Axis Joystick Module VRx
- A1: Connected to KY-023 Dual Axis Joystick Module VRy
- D7: Connected to Servo PWM
Servo
- GND: Connected to Arduino UNO GND
- VCC: Connected to Arduino UNO 5V
- PWM: Connected to Arduino UNO D7
KY-023 Dual Axis Joystick Module
- GND: Connected to Arduino UNO GND
- +5V: Connected to Arduino UNO IOREF
- VRx: Connected to Arduino UNO A0
- VRy: Connected to Arduino UNO A1
- SW: Not connected
Code Documentation
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:
}
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.
