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

Arduino-Controlled Robotic Vehicle with RF Communication and Ultrasonic Sensing

Image of Arduino-Controlled Robotic Vehicle with RF Communication and Ultrasonic Sensing

Circuit Documentation

Summary

The circuit in question appears to be a complex system involving power management, motor control, RF communication, and sensor interfacing. The system utilizes an Arduino UNO and an Arduino Nano as microcontrollers to manage inputs and outputs, including driving motors via BTS7960 and L298N motor drivers, reading from an ultrasonic sensor and a LIDAR module, and handling RF communication through a transmitter module. Power is supplied by a solar panel managed by a solar charge controller, with a BMS (Battery Management System) connected to a 12V battery. A buck converter is used to step down voltage where necessary.

Component List

  • Transmitter RF Module: A module for RF wireless communication.
  • Solar Charge Controller: Manages the power input from the solar panel to charge the battery.
  • BTS7960 Motor Driver: A high-power motor driver for controlling DC motors.
  • Arduino UNO: A microcontroller board based on the ATmega328P, used for controlling various components of the circuit.
  • Solar Panel: Converts solar energy into electrical energy.
  • DC Motor with Encoder: A DC motor that comes with an encoder to provide feedback on motor position or speed.
  • HC-SR04 Ultrasonic Sensor: An ultrasonic distance sensor.
  • Ac Supply: An alternating current power supply.
  • TF LUNA LIDAR: A small, precise, and affordable LIDAR sensor.
  • 24/12v Buck: A DC-DC converter that steps down voltage from 24V to 12V.
  • BMS (Battery Management System): Manages the charging and discharging of the battery.
  • 12V 200Ah Battery: A high-capacity battery for energy storage.
  • Arduino Nano: A small microcontroller board based on the ATmega328P, similar to the Arduino UNO.
  • RF 433 MHz Transmitter: A radio frequency transmitter operating at 433 MHz.
  • TTL Serial JPEG Camera: A camera module that can capture and transmit JPEG images over a serial connection.
  • L298N DC Motor Driver: A dual H-bridge motor driver for controlling DC motors.
  • DC Motor: A simple DC motor without an encoder.

Wiring Details

Transmitter RF Module

  • DATA connected to Arduino UNO (D13)
  • VCC connected to 5V power net
  • GND connected to ground net

Solar Charge Controller

  • Connected to the Solar Panel and BMS

BTS7960 Motor Driver

  • Pin 7 (VCC) connected to 5V power net
  • Pin 8 (GND) connected to ground net
  • Pin 1, Pin 2, Pin 3, Pin 6 connected to Arduino UNO (D9, D10, D5, D6 respectively)
  • Pin 9, Pin 10 connected to DC Motor with Encoder (Motor -ve, Motor +ve)
  • Pin 11, Pin 12 connected to power net (BMS -ve, BMS +ve)

Arduino UNO

  • 5V and GND pins connected to respective power and ground nets
  • Digital pins D0 to D13 connected to various components as per the net list

Solar Panel

    • connected to Solar Charge Controller
    • connected to Solar Charge Controller

DC Motor with Encoder

  • VCC connected to 5V power net
  • GND connected to ground net
  • Encoder A, Encoder B connected to Arduino UNO (D7, D2)
  • Motor +ve, Motor -ve connected to BTS7960 Motor Driver (Pin 10, Pin 9)

HC-SR04 Ultrasonic Sensor

  • VCC connected to 5V power net
  • GND connected to ground net
  • TRIG connected to Arduino UNO (D8)
  • ECHO connected to Arduino UNO (D11)

Ac Supply

  • +ve connected to BMS (P+)
  • -ve connected to BMS (P-)

TF LUNA LIDAR

  • power connected to 5V power net
  • GND connected to ground net
  • TXD/SCL connected to Arduino UNO (D1)
  • RXD/SDA connected to Arduino UNO (D0)

24/12v Buck

  • VIN+ connected to power net (BMS +ve)
  • VIN- connected to power net (BMS -ve)
  • 5V connected to 5V power net
  • GND connected to ground net

BMS

  • P+, P- connected to Ac Supply (+ve, -ve)
  • B+, B- connected to 12V 200Ah Battery (12V, GND)
  • +ve, -ve connected to power net (Solar Charge Controller)

12V 200Ah Battery

  • 12V connected to BMS (B+)
  • GND connected to BMS (B-)

Arduino Nano

  • 5V and GND pins connected to respective power and ground nets
  • Digital pins D0 to D9 connected to various components as per the net list
  • VIN connected to 5V power net

RF 433 MHz Transmitter

  • Data connected to Arduino Nano (D3)
  • +ve connected to 5V power net
  • -ve connected to ground net

TTL Serial JPEG Camera

  • 5V connected to 5V power net
  • GND connected to ground net
  • RX connected to Arduino Nano (D1/TX)
  • TX connected to Arduino Nano (D0/RX)

L298N DC Motor Driver

  • GND connected to ground net
  • 5V connected to 5V power net
  • IN1, IN2, IN3, IN4 connected to Arduino Nano (D4, D5, D6, D7)
  • OUT1, OUT2, OUT3, OUT4 connected to DC Motors

DC Motor

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

Documented Code

Arduino UNO Code (Instance ID: 6862feba-0953-479c-81c4-807bd71d74af)

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

}

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

}

Arduino Nano Code (Instance ID: e8aa5d89-f5c1-4984-8663-69354bcb637b)

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

}

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

}

Note: The provided code for both microcontrollers is a template with empty setup and loop functions. Actual functionality needs to be implemented based on the requirements of the circuit.