Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino-Controlled Ultrasonic Sensor with Servo Motor

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled Ultrasonic Sensor with Servo Motor

Circuit Documentation

Summary of the Circuit

This circuit integrates an HC-SR04 Ultrasonic Sensor, an ARDUINO UNO microcontroller board, and a Servomotor MG90S. The HC-SR04 sensor is used to measure distance through ultrasonic waves, and the Servomotor MG90S is used to actuate or move to a specific position based on the input signal. The ARDUINO UNO serves as the central processing unit, controlling the sensor and the servomotor based on the programmed logic. The circuit is powered by the ARDUINO UNO's 5V output, and the ground connections are shared among all components to complete the circuit.

Component List

HC-SR04 Ultrasonic Sensor

ARDUINO UNO

Servomotor MG90S

Comments

Wiring Details

HC-SR04 Ultrasonic Sensor

ARDUINO UNO

Servomotor MG90S

Documented Code

No code has been provided for the microcontrollers in the circuit. To fully utilize the circuit's capabilities, embedded code for the ARDUINO UNO is required to control the HC-SR04 Ultrasonic Sensor and the Servomotor MG90S. The code would typically initialize the sensor and servomotor, read distance measurements from the sensor, and then command the servomotor to move to a position based on those measurements.