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

Arduino and ESP32 CAM-Based Solar-Powered Robotic Vehicle with Ultrasonic and IR Sensors

View and Edit Project In Cirkit DesignerImage of Arduino and ESP32 CAM-Based Solar-Powered Robotic Vehicle with Ultrasonic and IR Sensors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that integrates various components including an Arduino UNO, ESP32 CAM, motors, sensors, and other peripherals. The circuit is designed to perform specific tasks as defined by the embedded code running on the microcontrollers.

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. ESP32 CAM

    • Description: A low-cost development board with a camera module.
    • Pins: 5V, GND, GPIO12, GPIO13, GPIO15, GPIO14, GPIO2, GPIO4, 3.3V, GPIO16, GPIO0, 3.3V / 5V / P_OUT, GPIO3 / RX, GPIO1 / TX
  3. Hobby Gearmotor with 48:1 gearbox

    • Description: A small DC motor with a 48:1 gearbox.
    • Pins: pin 1, pin 2
  4. HC-SR04 Ultrasonic Sensor

    • Description: A sensor used for distance measurement.
    • Pins: VCC, TRIG, ECHO, GND
  5. IR Sensor

    • Description: An infrared sensor used for object detection.
    • Pins: out, gnd, vcc
  6. Buzzer

    • Description: An electronic device that emits sound.
    • Pins: PIN, GND
  7. IRFZ44N

    • Description: A power MOSFET.
    • Pins: Gate, Drain, Source
  8. L298N DC Motor Driver

    • Description: A dual H-Bridge motor driver.
    • 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
  9. Tower Pro SG90 Servo

    • Description: A small servo motor.
    • Pins: Signal, +5V, GND
  10. Solar Panel

    • Description: A device that converts sunlight into electrical energy.
    • Pins: +, -
  11. Battery 12V

    • Description: A 12V battery.
    • Pins: +, -

Wiring Details

Arduino UNO

ESP32 CAM

Hobby Gearmotor with 48:1 gearbox

HC-SR04 Ultrasonic Sensor

IR Sensor

Buzzer

IRFZ44N

L298N DC Motor Driver

Tower Pro SG90 Servo

Solar Panel

Battery 12V

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:

}

ESP32 CAM Code

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

}

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

}

This documentation provides a comprehensive overview of the circuit, including the components used, their wiring details, and the embedded code running on the microcontrollers.