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

Arduino Mega 2560 Controlled Robot with Ultrasonic Sensors and Bluetooth Connectivity

View and Edit Project In Cirkit DesignerImage of Arduino Mega 2560 Controlled Robot with Ultrasonic Sensors and Bluetooth Connectivity

Circuit Documentation

Summary

This circuit is designed around the Arduino Mega 2560 microcontroller and includes a variety of sensors and modules to perform various functions. The circuit features ultrasonic sensors (HC-SR04) for distance measurement, a Bluetooth module (HC-06) for wireless communication, an accelerometer (AITrip ADXL335 GY-61) for motion detection, an IR obstacle sensor (Sensor FC-51 IR), and a motor driver (L298N) to control DC motors. The circuit is powered by a 9V battery and is capable of driving two DC Mini Metal Gear Motors. The Arduino Mega 2560 is the central processing unit that reads sensor data, controls the motors, and communicates with external devices via Bluetooth.

Component List

Arduino Mega 2560

Battery 9V

HC-SR04 Ultrasonic Sensor

L298N DC Motor Driver

DC Mini Metal Gear Motor

HC-06 Bluetooth Module

Sensor FC-51 IR

AITrip ADXL335 GY-61

Wiring Details

Arduino Mega 2560

Battery 9V

L298N DC Motor Driver

Documented Code

Arduino Mega 2560 Code (sketch.ino)

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

}

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

}

Additional Notes