The esp32s3-wroom is a very cheap esp32s3 board with 8MB of octal PSRAM and an integrated OV2640 2 MPixel camera. Because of these features, it is particularly interesting for TinyML work. There is a C driver for this camera as well as its MicroPython language binding.
The module has 40 external piins of which many are used internally however.
GPIO 1 and 3 are the serial Tx and Rx respectively. If you have a board with a USB connector, then these pins stay unused. In the other case, you must connect the board to your PC through these pins for serial communication and for flashing, using an USB to serial converter. When connecting GPIO-0 to ground and resetting the esp32-cam it enters into flash mode. For normal operation, this connection must be removed.
The esp32s3-wroom features a SD-card interface using GPIO 14,15,2,4,12,13. GPIO 4 is also used for the flashlight. These pins are available as regular inputs/outputs if the SD card is not used.
The MPU6050 accelerometer and gyroscope is used in the magic wand example.
Here is the connection table:
MPU6050 | ESP32-CAM |
---|---|
Vcc_In | 5V |
GND | GND |
SCL | GPIO 14 |
SDA | GPIO 15 |
I2S microphones are used in the Wake Word Detection example. Two different microphone breakout boards are available and can easily be connected to the esp32-cam (see WakeWordDetection)
For the esp32-cam the connections are given below:
INMP441 | SPH0645 | ESP32-CAMG |
GND | GND | GND |
VDD | 3V | 3.3V |
SD | DOUT | GPIO 14 |
SCK | BCLK | GPIO 15 |
WS | SEL | GPIO 2 |
L/R | LRCL | GND |
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
![]() |
ESP32S3_pinout.png | r1 | manage | 351.4 K | 2023-09-02 - 10:03 | UliRaich | |
![]() |
ESP32_CAM_V1.6.pdf | r1 | manage | 26.2 K | 2022-09-23 - 17:40 | UliRaich |