Voice-Activated ESP32 & Wemos Controllers with TFT Display and Battery Management
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates various components including microcontrollers, a microphone amplifier, a TFT LCD screen, batteries, charging modules, and switches. The design allows for audio input through the microphone amplifiers, processing and control via the microcontrollers, and visual output through the TFT LCD screen. Power management is handled by the TP4056 charging modules and the batteries, with switches included for controlling power flow.
Component List
Microcontrollers
- Wemos S2 Mini: A compact microcontroller board based on the ESP32-S2.
- Wemos D1 Mini: A mini Wi-Fi board based on the ESP-8266EX.
- ESP32 Devkit V1: A development board for the ESP32 microcontroller with a wide range of GPIOs.
Sensors and Input Devices
- Adafruit MAX4466 Electret Microphone Amplifier: An adjustable gain microphone amplifier that captures audio signals.
Output Devices
- LCD TFT screen ILI9488 HD: A high-definition TFT LCD screen for visual output.
Power Management
- Polymer Lithium Ion Battery - 850mAh: A rechargeable battery providing power to the circuit.
- LiPoly Battery (1300mAh): Another rechargeable battery option for the circuit.
- TP4056: A lithium battery charging module with battery protection.
Switches
- 2Pin Push Switch: A simple push-button switch for controlling power or signal flow.
- Rocker Switch: A switch for toggling circuit power.
Wiring Details
Wemos S2 Mini
- 3.3V connected to the VCC of Adafruit MAX4466 Electret Microphone Amplifier.
- GND connected to the GND of Adafruit MAX4466 Electret Microphone Amplifier and TP4056.
- GPIO 4 connected to the OUT of Adafruit MAX4466 Electret Microphone Amplifier.
- VBUS connected to the Output + of a 2Pin Push Switch.
Wemos D1 Mini
- 3V3 connected to the VCC of Adafruit MAX4466 Electret Microphone Amplifier.
- GND connected to the GND of Adafruit MAX4466 Electret Microphone Amplifier.
- A0 connected to the OUT of Adafruit MAX4466 Electret Microphone Amplifier.
- 5V connected to the Output + of a 2Pin Push Switch.
ESP32 Devkit V1
- 3V3 connected to the VCC (3.3~5V) of LCD TFT screen ILI9488 HD.
- GND connected to the GND of LCD TFT screen ILI9488 HD and TP4056.
- D15, D2, D4, D18, D23 connected to the CS, RST, D/C, SCK, SDI(MOSI) of LCD TFT screen ILI9488 HD respectively.
- VIN connected to the pin 2 of Rocker Switch.
Adafruit MAX4466 Electret Microphone Amplifier
- VCC connected to the 3.3V of a microcontroller (Wemos S2 Mini or Wemos D1 Mini).
- GND connected to the GND of a microcontroller (Wemos S2 Mini or Wemos D1 Mini) and TP4056.
- OUT connected to a GPIO on a microcontroller (Wemos S2 Mini or Wemos D1 Mini).
LCD TFT screen ILI9488 HD
- VCC (3.3~5V) connected to the 3V3 of ESP32 Devkit V1.
- GND connected to the GND of ESP32 Devkit V1.
- CS, RST, D/C, SCK, SDI(MOSI), BL connected to the corresponding GPIOs on ESP32 Devkit V1.
Polymer Lithium Ion Battery - 850mAh
- GND connected to the B- of TP4056.
- VCC connected to the B+ of TP4056.
LiPoly Battery (1300mAh)
- negative connected to the B- of TP4056.
- positive connected to the B+ of TP4056.
TP4056
- OUT- connected to the GND of a microcontroller (Wemos S2 Mini or ESP32 Devkit V1).
- B- connected to the negative of a battery (Polymer Lithium Ion Battery or LiPoly Battery).
- B+ connected to the positive of a battery (Polymer Lithium Ion Battery or LiPoly Battery).
- OUT+ connected to the Input + of a 2Pin Push Switch.
2Pin Push Switch
- Input + connected to the OUT+ of TP4056.
- Output + connected to the VBUS of Wemos S2 Mini or 5V of Wemos D1 Mini.
Rocker Switch
- 1 connected to the OUT+ of TP4056.
- 2 connected to the VIN of ESP32 Devkit V1.
Documented Code
There is no code provided for the microcontrollers in this circuit. The code would typically be responsible for handling input from the microphone amplifiers, controlling the display on the LCD TFT screen, and managing power states. Without the code, the functionality of the microcontrollers cannot be documented.