Design Notes
ESP32 Sensor Camera System
Architecture
- Main controller: ESP32-WROOM-32
- Ultrasonic sensor: HC-SR04
- GPS module: GY-NEO6MV2 / NEO-6M style UART GPS
- Camera module: ESP32-CAM
- Optional programmer: FT232RL USB-UART bridge
- Power input: USB-C power-only connector
- Logic rail: RT9013-33GB 3.3 V regulator derived from 5 V input
Implemented Signal Mapping
- HC-SR04 TRIG -> ESP32 GPIO14
- HC-SR04 ECHO -> resistor divider -> ESP32 GPIO13
- GPS TX -> ESP32 GPIO16
- GPS RX -> ESP32 GPIO17
- ESP32 GPIO4 -> ESP32-CAM GPIO13 trigger input
- ESP32 UART0 TX -> ESP32-CAM U0R and FT232RL RXD
- ESP32 UART0 RX -> ESP32-CAM U0T and FT232RL TXD
Power Distribution
- USB-C VBUS creates the 5 V rail
- 5 V powers HC-SR04 VCC, ESP32-CAM 5V pin, and the RT9013 regulator input
- RT9013 generates the 3.3 V rail
- 3.3 V powers the ESP32-WROOM-32, GPS module, ESP32 EN/GPIO0 pull resistors, and FT232RL VCCIO
Signal-Level Compatibility
- HC-SR04 ECHO is a 5 V output and is reduced to a 3.3 V safe input level using a 1 k / 2 k resistor divider
- HC-SR04 TRIG is driven directly from the ESP32 to the sensor
- ESP32-CAM and FT232RL share the main ESP32 UART0 for serial communications and programming access
Boot and Reset Support
- ESP32 EN has a 10 k pull-up to 3.3 V and a reset pushbutton to ground
- ESP32 GPIO0 has a 10 k pull-up to 3.3 V and a boot pushbutton to ground
- EN also has a 100 nF capacitor to ground for reset stability
Notes
- The design follows the uploaded reference image pinout and architecture intent.
- The FT232RL section is optional and included as a direct serial/programming interface block.
- Additional FT232RL USB-side support passives may be added later if the design is taken to full PCB/manufacturing readiness.