ESP32-Based Smart Sensor System with IR and Ultrasonic Detection
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an IR sensor, a micro servo, an ultrasonic sensor, and an ESP32 microcontroller. The circuit is designed to interface these components for various sensing and actuation tasks. The ESP32 microcontroller serves as the central control unit, interfacing with the sensors and the servo motor.
Component List
IR Sensor
- Description: Infrared sensor used for detecting objects.
- Pins: out, gnd, vcc
Micro Servo 9G
- Description: Small servo motor used for precise control of angular position.
- Pins: GND, +5V, PWM
HC-SR04 Ultrasonic Sensor
- Description: Ultrasonic sensor used for distance measurement.
- Pins: VCC, TRIG, ECHO, GND
ESP32-WROOM-32UE
- Description: ESP32 microcontroller used for processing and control.
- Pins: 3v3, EN, VP, VN, 34, 35, 32, 33, 25, 26, 27, 14, 12, GND, 13, D2, D3, 5V, 23, 22, TX, RX, 21, 19, 18, 5, 17, 16, 4, 0, 2, 15, D1, D0, CKL
Wiring Details
IR Sensor
- out connected to ESP32 pin 12
- gnd connected to common ground
- vcc connected to common 5V
Micro Servo 9G
- GND connected to common ground
- +5V connected to common 5V
- PWM connected to ESP32 pin 13
HC-SR04 Ultrasonic Sensor
- VCC connected to common 5V
- TRIG connected to ESP32 pin 23
- ECHO connected to ESP32 pin 22
- GND connected to common ground
ESP32-WROOM-32UE
- pin 12 connected to IR Sensor out
- pin 13 connected to Micro Servo PWM
- pin 23 connected to HC-SR04 TRIG
- pin 22 connected to HC-SR04 ECHO
- 5V connected to common 5V
- GND connected to common ground
Code
No code provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code (if any). The wiring details ensure that each component is correctly connected to the ESP32 microcontroller, facilitating proper operation of the circuit.