Circuit Documentation
Summary
The circuit in question is designed to interface a 9V battery with an XL4015 5A DC Buck Step-down converter to power an ESP32 microcontroller. The ESP32 is further connected to a Fingerprint Scanner and a 128x64 OLED Display. The ESP32 facilitates communication with the Fingerprint Scanner via serial communication (RX/TX) and controls the OLED Display using I2C protocol (SDA/SCL). The power distribution is managed such that the ESP32 provides 3.3V to both the Fingerprint Scanner and the OLED Display. Ground connections are shared among all components to complete the circuit.
Component List
9V Battery
- Description: A standard 9V battery used as the primary power source for the circuit.
- Pins: Negative (-) and Positive (+)
XL4015 5A DC Buck Step-down Converter
- Description: A DC-DC step-down (buck) converter module that steps down the voltage from the 9V battery to a lower voltage suitable for the ESP32 and other components.
- Pins: Output +, Output -, Input +, Input -
Fingerprint Scanner
- Description: A biometric sensor that captures fingerprints for identification purposes.
- Pins: VCC, TX, RX, GND
128x64 OLED Display (I2C IIC SPI Serial)
- Description: A small display module that can be controlled via I2C or SPI for displaying text and graphics.
- Pins: GND, SDA, SCL, VCC
ESP32 (30 pin)
- Description: A powerful microcontroller with Wi-Fi and Bluetooth capabilities, suitable for a wide range of applications.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
Wiring Details
9V Battery
- Negative (-) to XL4015 Input -
- Positive (+) to XL4015 Input +
XL4015 5A DC Buck Step-down Converter
- Output + to ESP32 Vin
- Output - to ESP32 GND
Fingerprint Scanner
- VCC to ESP32 3V3
- TX to ESP32 RX2
- RX to ESP32 TX2
- GND to ESP32 GND
128x64 OLED Display (I2C IIC SPI Serial)
- GND to ESP32 GND
- SDA to ESP32 D21
- SCL to ESP32 D22
- VCC to ESP32 3V3
ESP32 (30 pin)
- Vin connected to XL4015 Output +
- GND connected to XL4015 Output -, Fingerprint Scanner GND, and OLED Display GND
- 3V3 to Fingerprint Scanner VCC and OLED Display VCC
- RX2 to Fingerprint Scanner TX
- TX2 to Fingerprint Scanner RX
- D21 to OLED Display SDA
- D22 to OLED Display SCL
Documented Code
No code has been provided for the microcontroller. The documentation of the code would typically include setup and loop functions for an ESP32, initialization of I2C communication, and logic for handling data from the Fingerprint Scanner and controlling the OLED Display. However, since no code is available, this section cannot be completed.
