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

Arduino Nano Controlled Ultrasonic Sensor with Servo Motors

View and Edit Project In Cirkit DesignerImage of Arduino Nano Controlled Ultrasonic Sensor with Servo Motors

Circuit Documentation

Summary

This circuit integrates an Arduino Nano microcontroller with an HC-SR04 Ultrasonic Sensor and three SG90 Servomotors. The circuit is powered by a 9V battery, which is regulated to a suitable voltage for the microcontroller and peripherals by a voltage regulator. The Arduino Nano is responsible for controlling the servomotors based on the input from the ultrasonic sensor.

Component List

Arduino Nano

HC-SR04 Ultrasonic Sensor

Servomotor SG90 (3 units)

Voltage Regulator

Battery 9V

Wiring Details

Arduino Nano

HC-SR04 Ultrasonic Sensor

Servomotor SG90

Voltage Regulator

Battery 9V

Documented Code

Arduino Nano - sketch.ino

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Note: The code provided for the Arduino Nano is a template and does not contain any functional code. It is expected that the user will fill in the setup and loop functions with the necessary logic to control the servomotors based on the input from the ultrasonic sensor.