#define CAMERAMODELWROVERKIT // Has PSRAM //define CAMERAMODELESPEYE // Has PSRAM…
- User
#define CAMERA_MODEL_WROVER_KIT // Has PSRAM //define CAMERA_MODEL_ESP_EYE // Has PSRAM //#define CAMERA_MODEL_ESP32S3_EYE // Has PSRAM //#define CAMERA_MODEL_M5STACK_PSRAM // Has PSRAM //#define CAMERA_MODEL_M5STACK_V2_PSRAM // M5Camera version B Has PSRAM //#define CAMERA_MODEL_M5STACK_WIDE // Has PSRAM //#define CAMERA_MODEL_M5STACK_ESP32CAM // No PSRAM //#define CAMERA_MODEL_M5STACK_UNITCAM // No PSRAM //#define CAMERA_MODEL_M5STACK_CAMS3_UNIT // Has PSRAM //#define CAMERA_MODEL_AI_THINKER // Has PSRAM //#define CAMERA_MODEL_TTGO_T_JOURNAL // No PSRAM //#define CAMERA_MODEL_XIAO_ESP32S3 // Has PSRAM // ** Espressif Internal Boards ** //#define CAMERA_MODEL_ESP32_CAM_BOARD //#define CAMERA_MODEL_ESP32S2_CAM_BOARD //#define CAMERA_MODEL_ESP32S3_CAM_LCD //#define CAMERA_MODEL_DFRobot_FireBeetle2_ESP32S3 // Has PSRAM //#define CAMERA_MODEL_DFRobot_Romeo_ESP32S3 // Has PSRAM #include "camera_pins.h"
i am trying to run the example in arduino but cant get it to upload in most of the options. the ones that do dont actually print the server to the serial. anyway my model as is written in the board is esp32-s3 wroom
- Assistant
Great, you have an ESP32-S3 WROOM module. This is a newer ESP32 variant, and the camera examples can be a bit confusing because there are many similar board names.
Let's clarify and help you get the camera example running:
1. Board Selection in Arduino IDE
- Tools > Board:
Select "ESP32S3 Dev Module" (or similar, depending on your ESP32 board package version).
2. Camera Model Selection
Your board is an ESP32-S3 WROOM.
But the camera model depends on the camera board you have, not just the chip.- If you have a custom board (not a devkit like ESP32S3-EYE, M5Stack, etc.), you may need to define the camera pins yourself.
- If you have a devkit, check the silkscreen or documentation for the exact model.
Most common S3 camera devkits:
- ESP32S3-EYE
- XIAO ESP32S3
- DFRobot FireBeetle2 ESP32S3
- M5Stack CAMS3 Unit
If you have a generic S3 WROOM module with a camera, it's likely not one of the above, so you may need to define the pins manually.
3. Try These Steps
A. Try the Predefined S3 Models
Uncomment one of these at a time and try uploading:
//#define CAMERA_MODEL_ESP32S3_EYE // Has PSRAM //#define CAMERA_MODEL_XIAO_ESP32S3 // Has PSRAM //#define CAMERA_MODEL_M5STACK_CAMS3_UNIT // Has PSRAM //#define CAMERA_MODEL_DFRobot_FireBeetle2_ESP32S3 // Has PSRAMIf none work, you likely have a custom board.
B. If You Have a Generic S3 WROOM + Camera
You need to define the camera pins for your board.
- Open
camera_pins.hand look for a section like this:
#elif defined(CAMERA_MODEL_CUSTOM) #define PWDN_GPIO_NUM -1 #define RESET_GPIO_NUM -1 #define XCLK_GPIO_NUM 10 #define SIOD_GPIO_NUM 40 #define SIOC_GPIO_NUM 39 #define Y9_GPIO_NUM 48 #define Y8_GPIO_NUM 11 #define Y7_GPIO_NUM 12 #define Y6_GPIO_NUM 14 #define Y5_GPIO_NUM 16 #define Y4_GPIO_NUM 18 #define Y3_GPIO_NUM 17 #define Y2_GPIO_NUM 15 #define VSYNC_GPIO_NUM 38 #define HREF_GPIO_NUM 47 #define PCLK_GPIO_NUM 13- Find out your camera's pinout (from your board's documentation or silkscreen).
- Edit the pin numbers to match your board.
- In your sketch, add:
#define CAMERA_MODEL_CUSTOM
C. Serial Output
- Baud Rate: Make sure your Serial Monitor is set to 115200 (or whatever is set in
Serial.begin()). - COM Port: Double-check you have the right port selected in Arduino IDE.
D. Upload Issues
- Press and hold the BOOT button on your board when uploading, if upload fails.
- If you get "Failed to connect", try holding BOOT until upload starts.
4. Summary Table
Board Silkscreen/Name #define to use ESP32S3-EYE CAMERA_MODEL_ESP32S3_EYE XIAO ESP32S3 CAMERA_MODEL_XIAO_ESP32S3 M5Stack CAMS3 Unit CAMERA_MODEL_M5STACK_CAMS3_UNIT DFRobot FireBeetle2 S3 CAMERA_MODEL_DFRobot_FireBeetle2_ESP32S3 Generic S3 WROOM + Camera CAMERA_MODEL_CUSTOM (edit pins)
5. If Still Not Working
- Post a photo of your board (top and bottom) and the camera module.
- Post the exact error message from Arduino IDE.
- Post the serial output (if any).
Let me know your exact board and camera module, or post a photo, and I can help you with the exact pinout and settings!
- Tools > Board:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.