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

Arduino-Controlled Autonomous Rover with LIDAR Navigation and Water Detection

Image of Arduino-Controlled Autonomous Rover with LIDAR Navigation and Water Detection

Circuit Documentation

Summary

This circuit is designed to interface various sensors, actuators, and modules with an Arduino UNO microcontroller and an ESP-8266 Controller. It includes a LIDAR sensor for distance measurement, a GPS module for location tracking, a DC motor driver for controlling motors, a servo motor for precision control, an ESP32-CAM for image capture, voltage regulators for power management, and water level sensors for detecting the presence of water. The circuit is powered by a 12v Battery and uses a 3.3V regulator and a 7805 voltage regulator to provide the necessary voltage levels to the components. Communication between devices is facilitated through digital, analog, and I2C interfaces.

Component List

  • 12v Battery: Provides the main power source for the circuit.
  • SparkFun Accessories LIDAR-Lite v3: A compact, high-performance optical distance measurement sensor.
  • GPS NEO 6M: A GPS module for location tracking.
  • L298N DC motor driver: A module for controlling up to two DC motors.
  • Servo: A motor capable of precise position control.
  • ESP32 - CAM: A small camera module with Wi-Fi capabilities.
  • 3.3V regulator: Provides a stable 3.3V output from a higher voltage input.
  • 7805: A voltage regulator that provides a stable 5V output from a higher voltage input.
  • Arduino UNO: A microcontroller board based on the ATmega328P.
  • rtc MODULE: A real-time clock module for keeping track of the current time.
  • Water Level Sensor: A sensor for detecting the presence of water.
  • DC Motor: An electric motor that runs on direct current electricity.
  • ESP-8266 Controller: A Wi-Fi capable microcontroller module.

Wiring Details

12v Battery

  • - (Negative) connected to the common ground.
  • + (Positive) connected to the input of the 3.3V regulator and the 7805 voltage regulator.

SparkFun Accessories LIDAR-Lite v3

  • GND connected to the common ground.
  • 5V (red) connected to the 5V output from the 7805 voltage regulator.
  • SDA (blue) and SCL (green) connected to the I2C bus on the Arduino UNO (A4 and A5).

GPS NEO 6M

  • GND connected to the common ground.
  • VCC connected to the 5V output from the 7805 voltage regulator.
  • RX connected to digital pin D5 on the Arduino UNO.
  • TX connected to digital pin D4 on the Arduino UNO.

L298N DC motor driver

  • GND connected to the common ground.
  • 5V connected to the 5V output from the 7805 voltage regulator.
  • IN1, IN2, IN3, IN4, ENA, and ENB connected to various digital pins on the Arduino UNO for motor control.
  • OUT1, OUT2, OUT3, OUT4 connected to the DC Motors.

Servo

  • GND connected to the common ground.
  • VCC connected to the 5V output from the 7805 voltage regulator.
  • PWM connected to analog pin A1 on the Arduino UNO.

ESP32 - CAM

  • GND connected to the common ground.
  • 3V3 connected to the 3.3V output from the 3.3V regulator.
  • VOR and VOT connected to the RX and TX pins on the ESP-8266 Controller.

3.3V regulator

  • GND connected to the common ground.
  • OUT providing 3.3V to the ESP32 - CAM.
  • Vin connected to the positive terminal of the 12v Battery.

7805

  • Gnd connected to the common ground.
  • Vout providing 5V to various components in the circuit.
  • Vin connected to the positive terminal of the 12v Battery.

Arduino UNO

  • GND connected to the common ground.
  • 5V providing 5V to various components in the circuit.
  • A0 to A5, D2 to D13 connected to various components for control and data acquisition.

rtc MODULE

  • GND connected to the common ground.
  • VCC connected to the 5V output from the 7805 voltage regulator.
  • SDA and SCL connected to the I2C bus on the Arduino UNO (A4 and A5).

Water Level Sensor

  • GND connected to the common ground.
  • VCC connected to the 5V output from the 7805 voltage regulator.
  • SIG connected to digital pins D6, D7, and D8 on the Arduino UNO.

DC Motor

  • pin 1 and pin 2 connected to the outputs of the L298N DC motor driver.

ESP-8266 Controller

  • GND connected to the common ground.
  • 3V3 connected to the 3.3V output from the 3.3V regulator.
  • RX and TX connected to the ESP32 - CAM for serial communication.

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 for the Arduino UNO is a template with empty setup and loop functions. This code needs to be populated with the logic to control and interact with the connected components based on the specific requirements of the circuit.

ESP-8266 Controller Code

No code was provided for the ESP-8266 Controller.