Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, an MPU-6050 accelerometer and gyroscope, a DFPlayer MINI MP3 player, a loudspeaker, and a 3.7V LiPo battery. The circuit is designed to interface these components to achieve a specific functionality, which is not detailed in the provided information.
Component List
3.7V LiPo Battery
- Pins: +Ve, GND
- Description: A rechargeable lithium polymer battery providing power to the circuit.
- Purpose in Circuit: Power supply.
ESP32
- 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
- Description: A powerful microcontroller with Wi-Fi and Bluetooth capabilities.
- Purpose in Circuit: Main controller.
MPU-6050
- Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT
- Description: A 6-axis motion tracking device combining a 3-axis gyroscope and a 3-axis accelerometer.
- Purpose in Circuit: Motion sensing.
DFPlayer MINI
- Pins: VCC, BUSY, RX, USB -, TX, USB +, DAC_R, K2/ADC_KEY, DAC_L, K1/ADC_KEY, SPK1, IO 2, GND, SPK2, IO 1
- Description: A small MP3 player module that can be controlled via serial communication.
- Purpose in Circuit: Audio playback.
Loudspeaker
- Pins: pin1, pin2
- Description: A speaker for audio output.
- Purpose in Circuit: Sound output.
Wiring Details
3.7V LiPo Battery
+Ve is connected to:
- VIN of ESP32
- VCC of DFPlayer MINI
GND is connected to:
- GND of ESP32
- GND of DFPlayer MINI
ESP32
3V3 is connected to:
- VCC of MPU-6050
GND is connected to:
- GND of MPU-6050
- GND of 3.7V LiPo Battery
- GND of DFPlayer MINI
D22 is connected to:
- SCL of MPU-6050
D21 is connected to:
- SDA of MPU-6050
VIN is connected to:
- +Ve of 3.7V LiPo Battery
- VCC of DFPlayer MINI
RX2 is connected to:
- TX of DFPlayer MINI
TX2 is connected to:
- RX of DFPlayer MINI
MPU-6050
VCC is connected to:
- 3V3 of ESP32
GND is connected to:
- GND of ESP32
SCL is connected to:
- D22 of ESP32
SDA is connected to:
- D21 of ESP32
DFPlayer MINI
VCC is connected to:
- VIN of ESP32
- +Ve of 3.7V LiPo Battery
GND is connected to:
- GND of ESP32
- GND of 3.7V LiPo Battery
TX is connected to:
- RX2 of ESP32
RX is connected to:
- TX2 of ESP32
SPK1 is connected to:
- pin2 of Loudspeaker
SPK2 is connected to:
- pin1 of Loudspeaker
Loudspeaker
pin1 is connected to:
- SPK2 of DFPlayer MINI
pin2 is connected to:
- SPK1 of DFPlayer MINI
Code
No code was provided for the microcontrollers in this circuit.
