Arduino UNO Controlled Multi-Servo System with Rotary Potentiometer Inputs
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller, multiple servos, rotary potentiometers, and a key switch module. The servos are controlled by the Arduino, with their positions influenced by the rotary potentiometers. The key switch module is used to provide user input to the Arduino.
Component List
Servo
- Pins: GND, VCC, PWM
- Description: A servo motor used for precise control of angular position.
- Purpose in Circuit: Controlled by the Arduino to perform specific movements.
Rotary Potentiometer
- Pins: leg1, wiper, leg2
- Description: A variable resistor used to adjust voltage levels.
- Purpose in Circuit: Used to provide variable input to the Arduino.
- Properties:
- Resistance: 10,000 Ohms
KY-004 Key Switch Module
- Pins: S, Middle, -
- Description: A simple key switch module.
- Purpose in Circuit: Used to provide user input to the Arduino.
Arduino UNO
- 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
- Description: A microcontroller board based on the ATmega328P.
- Purpose in Circuit: Acts as the central controller for the circuit.
Wiring Details
Servo
- GND: Connected to GND of the Arduino and other components.
- VCC: Connected to 5V of the Arduino and other components.
- PWM:
- One servo connected to D9 of the Arduino.
- One servo connected to D10 of the Arduino.
- One servo connected to D11 of the Arduino.
- One servo connected to D12 of the Arduino.
- One servo connected to D13 of the Arduino.
- One servo connected to D7 of the Arduino.
Rotary Potentiometer
- leg1: Connected to 3.3V of the Arduino.
- wiper:
- One potentiometer connected to A0 of the Arduino.
- One potentiometer connected to A1 of the Arduino.
- One potentiometer connected to A2 of the Arduino.
- One potentiometer connected to A3 of the Arduino.
- One potentiometer connected to A4 of the Arduino.
- One potentiometer connected to A5 of the Arduino.
- leg2: Connected to GND of the Arduino and other components.
KY-004 Key Switch Module
- S: Connected to D8 of the Arduino.
- Middle: Connected to 5V of the Arduino.
- -: Connected to GND of the Arduino and other components.
Arduino UNO
- GND: Connected to GND of all other components.
- 5V: Connected to VCC of all other components.
- 3.3V: Connected to leg1 of all rotary potentiometers.
- D9: Connected to PWM of one servo.
- D10: Connected to PWM of one servo.
- D11: Connected to PWM of one servo.
- D12: Connected to PWM of one servo.
- D13: Connected to PWM of one servo.
- D7: Connected to PWM of one servo.
- D8: Connected to S of the KY-004 Key Switch Module.
- A0: Connected to wiper of one rotary potentiometer.
- A1: Connected to wiper of one rotary potentiometer.
- A2: Connected to wiper of one rotary potentiometer.
- A3: Connected to wiper of one rotary potentiometer.
- A4: Connected to wiper of one rotary potentiometer.
- A5: Connected to wiper of one rotary potentiometer.
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.