Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino-Controlled Robotics Platform with GPS, Bluetooth, and Ultrasonic Sensors

Image of Arduino-Controlled Robotics Platform with GPS, Bluetooth, and Ultrasonic Sensors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to interface a GPS module, Bluetooth module, ultrasonic sensors, DC motors with a motor driver, and an Arduino UNO microcontroller. The circuit is powered by 5V batteries and is capable of receiving GPS data, controlling motors, and communicating over Bluetooth. Ultrasonic sensors are included for distance measurement or obstacle detection.

Component List

GPS NEO 6M

  • Description: A GPS module capable of providing geolocation and time information.
  • Pins: VCC, RX, TX, GND

L298N DC Motor Driver

  • Description: A motor driver module for controlling up to two DC motors.
  • 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

DC Motor

  • Description: An electric motor that converts electrical energy into mechanical energy.
  • Pins: pin 1, pin 2

Bluetooth Module

  • Description: A wireless technology standard for exchanging data over short distances.
  • Pins: en, vcc, gnd, txd, rxd, start

HC-SR04 Ultrasonic Sensor

  • Description: An ultrasonic ranging module that provides 2cm to 400cm non-contact measurement functionality.
  • Pins: VCC, TRIG, ECHO, GND

5V Battery

  • Description: A power source providing a 5V supply.
  • Pins: +, -

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

Wiring Details

GPS NEO 6M

  • VCC connected to 5V Battery (+)
  • RX connected to Arduino UNO (D8)
  • TX connected to Arduino UNO (D9)
  • GND connected to common ground net

L298N DC Motor Driver

  • OUT1 connected to DC Motor (pin 2)
  • OUT2 connected to DC Motor (pin 1)
  • 5V connected to 5V Battery (+)
  • GND connected to common ground net
  • IN1 connected to Arduino UNO (D12)
  • IN2 connected to Arduino UNO (D13)
  • IN3 connected to Arduino UNO (A0)
  • IN4 connected to Arduino UNO (A1)

DC Motor

  • pin 1 connected to L298N DC Motor Driver (OUT2 or OUT3)
  • pin 2 connected to L298N DC Motor Driver (OUT1 or OUT4)

Bluetooth Module

  • vcc connected to 5V Battery (+)
  • gnd connected to common ground net
  • txd connected to Arduino UNO (D11)
  • rxd connected to Arduino UNO (D10)

HC-SR04 Ultrasonic Sensor

  • VCC connected to 5V Battery (+)
  • TRIG connected to Arduino UNO (D2, D4, D6)
  • ECHO connected to Arduino UNO (D3, D5, D7)
  • GND connected to common ground net

5V Battery

  • (+) connected to GPS NEO 6M (VCC), Bluetooth Module (vcc), HC-SR04 Ultrasonic Sensor (VCC), and L298N DC Motor Driver (5V)
  • (-) connected to common ground net

Arduino UNO

  • D8 connected to GPS NEO 6M (RX)
  • D9 connected to GPS NEO 6M (TX)
  • D10 connected to Bluetooth Module (rxd)
  • D11 connected to Bluetooth Module (txd)
  • D12 connected to L298N DC Motor Driver (IN1)
  • D13 connected to L298N DC Motor Driver (IN2)
  • A0 connected to L298N DC Motor Driver (IN3)
  • A1 connected to L298N DC Motor Driver (IN4)
  • D2, D4, D6 connected to HC-SR04 Ultrasonic Sensor (TRIG)
  • D3, D5, D7 connected to HC-SR04 Ultrasonic Sensor (ECHO)

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:

}

Note: The provided code is a template and does not contain any functional code. It is expected that the user will add the necessary setup and loop code to control the components as per the requirements of the project.