Created and verified the complete ESP32 Smart City Controller schematic, including HC-SR04 level shifting, servo stabilization, analog inputs, and six LED channels. Documentation: Project Specification, Power Budget, Firmware Starter, and Bring-Up Plan.
Open item: ERC reports U1:VP as an unpowered supply due to an incorrect library pin classification; VP is actually unused GPIO36 and is correctly marked no-connect.
Next: confirm the servo model/stall current, then configure the board and place components with antenna keepout and wide 5 V/ground paths.
Listo. Moví C1 junto al conector del servo J3, manteniendo el resto de los componentes en sus posiciones. Verifiqué que quedó dentro de la placa y sin solapamientos.
Project Specification — ESP32 Smart City Controller
Project Overview
Status: Review
ESP32 DevKitC 38-pin carrier PCB for a smart-city demonstration with distance sensing, servo actuation, sound/sensitivity analog inputs, and six building-light outputs.
Intended Use
Low-voltage indoor prototype or educational demonstrator.
Powered by a regulated external 5 V DC adapter.
Not intended for safety-critical motion control or outdoor exposure without further protection.
What the Device Should Do
Read an HC-SR04 ultrasonic sensor.
Drive one hobby servo from GPIO13.
Sample an analog microphone on GPIO34.
Sample an external sensitivity potentiometer on GPIO35.
Independently drive six external LEDs.
Use ESP32 Wi-Fi/Bluetooth capabilities for future connectivity.
Main Features
ESP32-DEVKITC-VE 38-pin module.
5 V screw-terminal input.
HC-SR04 header with protected ECHO input.
Servo header with local bulk capacitance and startup pulldown.
3.3 V microphone and potentiometer headers.
Six active-high, resistor-limited LED headers.
System Architecture
Diagram
Hardware Subsystems
Power
J1 PIN1 = 5V_EXT; J1 PIN2 = GND.
5V_EXT feeds U1 5V, HC-SR04 VCC, and servo VCC.
C1 470 uF + C2 100 nF support servo transients.
C3 47 uF + C4 100 nF support the DevKit 5 V input.
U1 3V3 supplies the microphone and external potentiometer.
Ultrasonic Sensor
J2 pin 1 VCC, pin 2 TRIG, pin 3 ECHO, pin 4 GND.
TRIG uses GPIO4.
ECHO passes through R7 10 kΩ / R8 18 kΩ divider to GPIO5; 5 V becomes approximately 3.21 V.
Servo
J3 Gnd/5v/Data pin names are used directly.
GPIO13 drives Data through R9 470 Ω.
R10 10 kΩ pulls the connector-side servo signal low during reset.