Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes a LiPo battery, a step-down buck converter, an ESP32 microcontroller, a buzzer, and a VL53L1X distance sensor. The circuit is designed to power the ESP32 and the VL53L1X sensor using a LiPo battery through a step-down buck converter. The ESP32 controls the buzzer and communicates with the VL53L1X sensor.
Component List
LiPo Battery
- Description: Provides power to the circuit.
- Pins: VCC, GND
Step-down Buck Converter
- Description: Converts the voltage from the LiPo battery to a suitable level for the ESP32 and VL53L1X sensor.
- Pins: IN +, IN - GND, OUT +, OUT - GND
ESP32
- Description: Microcontroller that controls the buzzer and communicates with the VL53L1X sensor.
- 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
Buzzer
- Description: Emits sound when activated by the ESP32.
- Pins: PIN, GND
VL53L1X
- Description: Distance sensor that communicates with the ESP32.
- Pins: VIN, GND, SDA, SCL, INT, SHUT
Wiring Details
LiPo Battery
- VCC is connected to IN + of the Step-down Buck Converter.
- GND is connected to IN - GND of the Step-down Buck Converter.
Step-down Buck Converter
- IN + is connected to VCC of the LiPo Battery.
- IN - GND is connected to GND of the LiPo Battery.
- OUT + is connected to VIN of the VL53L1X and VIN of the ESP32.
- OUT - GND is connected to GND of the VL53L1X and GND of the ESP32.
ESP32
- GND is connected to OUT - GND of the Step-down Buck Converter and GND of the Buzzer.
- VIN is connected to OUT + of the Step-down Buck Converter.
- D4 is connected to PIN of the Buzzer.
- D21 is connected to SDA of the VL53L1X.
- D22 is connected to SCL of the VL53L1X.
Buzzer
- GND is connected to GND of the ESP32.
- PIN is connected to D4 of the ESP32.
VL53L1X
- VIN is connected to OUT + of the Step-down Buck Converter.
- GND is connected to OUT - GND of the Step-down Buck Converter.
- SDA is connected to D21 of the ESP32.
- SCL is connected to D22 of the ESP32.
Code
There is no code provided for this circuit.
