Arduino UNO-Based Ultrasonic Sensor and Servo Control System with Battery Power
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino UNO, an Ultrasonic Sensor, a Servo motor, a 9V battery, and a power jack. The circuit is designed to interface the Arduino with the Ultrasonic Sensor and Servo motor, powered by a 9V battery through a power jack.
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
Ultrasonic Sensor
- Description: A sensor used to measure distance by using ultrasonic waves.
- Pins: +VCC, Trigger, Echo, GND
Servo
- Description: A motor that can be controlled to move to a specific position.
- Pins: GND, VCC, PWM
9V Battery
- Description: A battery providing 9V power supply.
- Pins: +, -
Power Jack
- Description: A connector for providing power to the circuit.
- Pins: POSITIF, NEGATIF
Comment
- Description: A placeholder for comments in the circuit.
- Pins: None
Wiring Details
Arduino UNO
- 5V: Connected to VCC of Servo and +VCC of Ultrasonic Sensor
- GND: Connected to GND of Servo and GND of Ultrasonic Sensor
- D7: Connected to Trigger of Ultrasonic Sensor
- D6: Connected to Echo of Ultrasonic Sensor
- D5: Connected to PWM of Servo
Ultrasonic Sensor
- +VCC: Connected to 5V of Arduino UNO
- GND: Connected to GND of Arduino UNO
- Trigger: Connected to D7 of Arduino UNO
- Echo: Connected to D6 of Arduino UNO
Servo
- VCC: Connected to 5V of Arduino UNO
- GND: Connected to GND of Arduino UNO
- PWM: Connected to D5 of Arduino UNO
9V Battery
- +: Connected to POSITIF of Power Jack
- -: Connected to NEGATIF of Power Jack
Power Jack
- POSITIF: Connected to + of 9V Battery
- NEGATIF: Connected to - of 9V Battery
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:
}
Documentation (documentation.txt)
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and documented code.