Battery-Powered Raspberry Pi and ESP32-CAM Smart Display with 7-inch WaveShare Touchscreen
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes a Raspberry Pi 4b, a 7-inch WaveShare display, an ESP32-CAM, and a Li-ion 5000mAh battery. The circuit is designed to power the Raspberry Pi and the display from the battery, and to interface the Raspberry Pi with the ESP32-CAM.
Component List
Raspberry Pi 4b
- Description: A powerful single-board computer with multiple GPIO pins, USB ports, HDMI ports, and more.
- Pins: 5V, 3V3, GPIO 2(SDA), GPIO 3(SCL), GPIO 4(GPCLK0), GND, GPIO 14(TXD), GPIO 15(RXD), GPIO 17, GPIO 27, GPIO 22, GPIO 10(MOSI), GPIO 9(MISO), GPIO 11(SCLK), GPIO 0(ID_SD), GPIO 5, GPIO 6, GPIO 13(PWM1), GPIO 19(PCM_FS), GPIO 26, GPIO 18(PCM_CLK), GPIO 23, GPIO 24, GPIO 25, GPIO 8(CE0), GPIO 7(CE1), GPIO 1(ID_SC), GPIO 12(PWM0), GPIO 16, GPIO 20(PCM_DIN), GPIO 21(PCM_DOUT), USB-C POWER PORT 5V/3A, MICRO HDMI PORT, 4 POLE STEREO AUDIO, 2X USB 2.0, 2X USB 3.0, GIGABIT ETHERNET
7 inch WaveShare (H)
- Description: A 7-inch display with HDMI, USB power, and touch capabilities.
- Pins: HDMI, +, -, USB Power, Touch USB, Audio, VGA
ESP32 - CAM
- Description: A microcontroller with integrated camera and Wi-Fi capabilities.
- Pins: 5V, GND, IO12, IO13, IO15, IO14, IO2, IO4, VOT, VOR, VCC, IO0, IO16, 3V3
Li-ion 5000mAh
- Description: A rechargeable lithium-ion battery with a capacity of 5000mAh.
- Pins: 11.1V, GND
Wiring Details
Raspberry Pi 4b
- USB-C POWER PORT 5V/3A is connected to 11.1V of the Li-ion 5000mAh.
- GND is connected to - of the 7 inch WaveShare (H).
- GPIO 2(SDA) is connected to IO12 of the ESP32 - CAM.
- GPIO 3(SCL) is connected to IO13 of the ESP32 - CAM.
- GPIO 4(GPCLK0) is connected to IO14 of the ESP32 - CAM.
7 inch WaveShare (H)
- USB Power is connected to 11.1V of the Li-ion 5000mAh.
- - is connected to GND of the Raspberry Pi 4b.
ESP32 - CAM
- IO12 is connected to GPIO 2(SDA) of the Raspberry Pi 4b.
- IO13 is connected to GPIO 3(SCL) of the Raspberry Pi 4b.
- IO14 is connected to GPIO 4(GPCLK0) of the Raspberry Pi 4b.
Li-ion 5000mAh
- 11.1V is connected to USB-C POWER PORT 5V/3A of the Raspberry Pi 4b and USB Power of the 7 inch WaveShare (H).
- GND is connected to - of the 7 inch WaveShare (H).
Documented Code
Raspberry Pi 4b Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation
// No additional documentation provided.
This document provides a comprehensive overview of the circuit, including the components used, their connections, and the code running on the Raspberry Pi 4b.