#include "board.h" // WROVER-KIT PIN Map #ifdef BOARD_WROVER_KIT #define CAM_PIN_PWDN -1 //power down is not used #define CAM_PIN_RESET -1 //software reset will be performed #define CAM_PIN_XCLK 21 #define CAM_PIN_SIOD 26 #define CAM_PIN_SIOC 27 #define CAM_PIN_D7 35 #define CAM_PIN_D6 34 #define CAM_PIN_D5 39 #define CAM_PIN_D4 36 #define CAM_PIN_D3 19 #define CAM_PIN_D2 18 #define CAM_PIN_D1 5 #define CAM_PIN_D0 4 #define CAM_PIN_VSYNC 25 #define CAM_PIN_HREF 23 #define CAM_PIN_PCLK 22 #endif // ESP32Cam (AiThinker) PIN Map #ifdef BOARD_ESP32CAM_AITHINKER #define CAM_PIN_PWDN 32 #define CAM_PIN_RESET -1 //software reset will be performed #define CAM_PIN_XCLK 0 #define CAM_PIN_SIOD 26 #define CAM_PIN_SIOC 27 #define CAM_PIN_D7 35 #define CAM_PIN_D6 34 #define CAM_PIN_D5 39 #define CAM_PIN_D4 36 #define CAM_PIN_D3 21 #define CAM_PIN_D2 19 #define CAM_PIN_D1 18 #define CAM_PIN_D0 5 #define CAM_PIN_VSYNC 25 #define CAM_PIN_HREF 23 #define CAM_PIN_PCLK 22 #endif // ESP32S3 (WROOM) PIN Map #ifdef BOARD_ESP32S3_WROOM #define CAM_PIN_PWDN 38 #define CAM_PIN_RESET -1 //software reset will be performed #define CAM_PIN_VSYNC 6 #define CAM_PIN_HREF 7 #define CAM_PIN_PCLK 13 #define CAM_PIN_XCLK 15 #define CAM_PIN_SIOD 4 #define CAM_PIN_SIOC 5 #define CAM_PIN_D0 11 #define CAM_PIN_D1 9 #define CAM_PIN_D2 8 #define CAM_PIN_D3 10 #define CAM_PIN_D4 12 #define CAM_PIN_D5 18 #define CAM_PIN_D6 17 #define CAM_PIN_D7 16 #endif // ESP32S3 (GOOUU TECH) #ifdef BOARD_ESP32S3_GOOUUU #define CAM_PIN_PWDN -1 #define CAM_PIN_RESET -1 //software reset will be performed #define CAM_PIN_VSYNC 6 #define CAM_PIN_HREF 7 #define CAM_PIN_PCLK 13 #define CAM_PIN_XCLK 15 #define CAM_PIN_SIOD 4 #define CAM_PIN_SIOC 5 #define CAM_PIN_D0 11 #define CAM_PIN_D1 9 #define CAM_PIN_D2 8 #define CAM_PIN_D3 10 #define CAM_PIN_D4 12 #define CAM_PIN_D5 18 #define CAM_PIN_D6 17 #define CAM_PIN_D7 16 #endif // ESP32S3 (XIAO) #ifdef BOARD_ESP32S3_XIAO #define CAM_PIN_PWDN -1 #define CAM_PIN_RESET -1 //software reset will be performed #define CAM_PIN_VSYNC 38 #define CAM_PIN_HREF 47 #define CAM_PIN_PCLK 13 #define CAM_PIN_XCLK 10 #define CAM_PIN_SIOD 40 #define CAM_PIN_SIOC 39 #define CAM_PIN_D0 15 #define CAM_PIN_D1 17 #define CAM_PIN_D2 18 #define CAM_PIN_D3 16 #define CAM_PIN_D4 14 #define CAM_PIN_D5 12 #define CAM_PIN_D6 11 #define CAM_PIN_D7 48 #endif // Waveshare ESP32-S3-CAM-GC2145 PIN Map #ifdef BOARD_WAVESHARE_ESP32S3 #define CAM_PIN_PWDN -1 // controled by expander #define CAM_PIN_RESET -1 #define CAM_PIN_XCLK 38 #define CAM_PIN_SIOD 8 // I2C SDA #define CAM_PIN_SIOC 7 // I2C SCL #define CAM_PIN_D7 21 #define CAM_PIN_D6 39 #define CAM_PIN_D5 40 #define CAM_PIN_D4 42 #define CAM_PIN_D3 46 #define CAM_PIN_D2 48 #define CAM_PIN_D1 47 #define CAM_PIN_D0 45 #define CAM_PIN_VSYNC 17 #define CAM_PIN_HREF 18 #define CAM_PIN_PCLK 41 #endif