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

ESP32 CAM and Ultrasonic Sensor-Based Wi-Fi Controlled Robotic Vehicle

View and Edit Project In Cirkit DesignerImage of ESP32 CAM and Ultrasonic Sensor-Based Wi-Fi Controlled Robotic Vehicle

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes various sensors, motors, a driver shield, and a microcontroller. The circuit is designed to interface with multiple sensors and control motors, likely for a robotic or automation application. The components are interconnected through a driver shield, which also serves as the main microcontroller unit.

Component List

  1. HC-SR04 Ultrasonic Sensor

    • Pins: VCC, TRIG, ECHO, GND
    • Description: Ultrasonic distance sensor used for measuring distance by using ultrasonic waves.
  2. IR Sensor

    • Pins: out, gnd, vcc
    • Description: Infrared sensor used for detecting objects or obstacles.
  3. ESP32 CAM

    • Pins: 5V, GND, GPIO12, GPIO13, GPIO15, GPIO14, GPIO2, GPIO4, 3.3V, GPIO16, GPIO0, 3.3V / 5V / P_OUT, GPIO3 / RX, GPIO1 / TX
    • Description: Microcontroller with built-in camera module for capturing images and video.
  4. Motor and Wheels

    • Pins: vcc, GND
    • Description: Motor and wheel assembly for movement.
  5. DC Motor

    • Pins: pin 1, pin 2
    • Description: Direct current motor for rotational movement.
  6. PIR Sensor

    • Pins: VDD, SIG, GND
    • Description: Passive infrared sensor for motion detection.
  7. DRIVER SHIELD L293D

    • Pins: RESET, 3.3V, 5V, GND, VIN, 9V, A0, A1, A2, A3, A4, A5, M2 (+), M2 GND (-), M1 (+), M1 GND (-), M3 (+), M3 GND (-), M4 GND (-), M4 (+), SERVO_2, SERVO_1, RX/D0, TX/D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, ARef, D13, D12, VCC (External Power Supply), GND (External Power Supply)
    • Description: Motor driver shield for controlling multiple motors and interfacing with sensors.
  8. Rocker Switch

    • Pins: 1, 2
    • Description: Switch for turning the circuit on and off.
  9. Battery 12V

    • Pins: +, -
    • Description: Power supply for the circuit.
  10. Battery Indicator

    • Pins: +, -
    • Description: Indicator for battery status.

Wiring Details

HC-SR04 Ultrasonic Sensor

HC-SR04 Ultrasonic Sensor

IR Sensor

IR Sensor

IR Sensor

IR Sensor

PIR Sensor

ESP32 CAM

DC Motor

DC Motor

Motor and Wheels

Motor and Wheels

Rocker Switch

Battery 12V

Documented Code

sketch.ino

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

}

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

}

documentation.txt