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

ESP32-Based Smart Motion and Distance Sensing System with Servo Control

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Motion and Distance Sensing System with Servo Control

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes various sensors, servos, LEDs, resistors, and an ESP32 microcontroller. The circuit is designed to interface multiple components for a variety of functionalities, including motion detection, distance measurement, and visual indication using LEDs.

Component List

  1. Tower Pro SG90 Servo

    • Pins: Signal, +5V, GND
    • Description: A small and lightweight servo motor used for precise control of angular position.
  2. HC-SR04 Ultrasonic Sensor

    • Pins: VCC, TRIG, ECHO, GND
    • Description: A sensor used for measuring distance by using ultrasonic waves.
  3. PIR/Motion Sensor

    • Pins: GND, OUTPUT, VCC
    • Description: A sensor used to detect motion by measuring infrared radiation.
  4. Resistor (220 Ohms)

    • Pins: pin1, pin2
    • Description: A passive electrical component that provides resistance to the flow of current.
  5. LED: Two Pin (green)

    • Pins: cathode, anode
    • Description: A light-emitting diode used for visual indication.
  6. ESP32

    • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, VIN, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, BOOT
    • Description: A low-cost, low-power system on a chip microcontroller with integrated Wi-Fi and dual-mode Bluetooth.

Wiring Details

Tower Pro SG90 Servo

HC-SR04 Ultrasonic Sensor

PIR/Motion Sensor

Resistor (220 Ohms)

LED: Two Pin (green)

ESP32

Code

No code is provided for this circuit.


This document provides a comprehensive overview of the components and their connections in the circuit. Each component is described, and detailed wiring instructions are provided to ensure correct assembly.