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

Arduino UNO Bluetooth-Controlled Robotic System with Servo and Geared Motors

View and Edit Project In Cirkit DesignerImage of Arduino UNO Bluetooth-Controlled Robotic System with Servo and Geared Motors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, an L298N DC motor driver, a 12V battery, a 5V battery, a rocker switch, an HC-05 Bluetooth module, two MG996R servo motors, and two 12V geared motors. The circuit is designed to control the motors via the Arduino, with power supplied by the batteries and control signals managed through the Bluetooth module.

Component List

  1. 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
  2. L298N DC Motor Driver

    • Description: A dual H-Bridge motor driver module.
    • Pins: OUT1, OUT2, 12V, GND, 5V, OUT3, OUT4, 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, ENA, IN1, IN2, IN3, IN4, ENB
  3. 12V Battery

    • Description: A 12V power source.
    • Pins: +, -
  4. 5V Battery

    • Description: A 5V power source.
    • Pins: +, -
  5. Rocker Switch

    • Description: A simple on/off switch.
    • Pins: 1, 2
  6. HC-05 Bluetooth Module

    • Description: A Bluetooth module for wireless communication.
    • Pins: Key, VCC, GND, TXD, RXD, State
  7. Servo Motor MG996R

    • Description: A high-torque servo motor.
    • Pins: PMW, VCC 5V, GND
  8. 12V Geared Motor

    • Description: A 12V motor with a gearbox.
    • Pins: Terminal 1, Terminal 2

Wiring Details

Arduino UNO

L298N DC Motor Driver

12V Battery

5V Battery

Rocker Switch

HC-05 Bluetooth Module

Servo Motor MG996R

Servo Motor MG996R

12V Geared Motor

12V Geared Motor

Documented Code

Arduino UNO Code

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

}

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

}

This code is a basic template for the Arduino UNO. The setup function is used to initialize any settings or configurations, and the loop function contains the main code that runs repeatedly.