Problem using XIAO ESP32S3 Camera not working

Hello,
I’m trying to use the CameraWebServo.ino app available in the Arduino IDE ESP32 Examples. I’ve selected the proper camera model (CAMERA_MODEL_XIAO_ESP32S3) in file “board_config.h”. I’ve also enable PSRAM in the Arduino IDE (set to OPI PSRAM). The error message I’m seeing in the Serial Monitor is as follows: Camera init failed with error 0x106

Any advice is much appreciated.

  • Jim

Hi there,

So , probably the BSP, Which one are you using, roll it back to an older one and it should go. :+1:

HTH
GL :slight_smile: PJ :v:

Also Beware of the cable direction for the camera too! (tripple check)

Thank you, PJ, as always! - Jim

1 Like

Hi PJ - Another problem I’m having with my XIAO ESP32S3 board is that it frequently gets stuck during the code flash stage. The error message I get is as follows:

Sketch uses 238501 bytes (7%) of program storage space. Maximum is 3342336 bytes.
Global variables use 18188 bytes (5%) of dynamic memory, leaving 309492 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/ttyACM0
Connecting…
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 98:3d:ae:ed:07:e4
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 921600

A fatal error occurred: No serial data received.
Failed uploading: uploading error: exit status 2

Also, the red LED next to the Reset button sometimes turns on and stays on for a long time. That said, at the moment, the red LED is NOT on and I’m still getting the above error message. - Thanks - Jim

Hi there,

So I see in the older thread here , It was actually 2.0.14 that works,

or you get some really Wacky errors :face_with_hand_over_mouth:

HTH
GL :slight_smile: PJ :v:

and Always double check the board options , PSRAM, FS type etc. IDE has a mind of its own sometimes :grin: :+1:

Hi, i have the exact same problem on my new Xiao esp32s3 sense.

I’ve tried every single version of esp32 BSP from 3.3.8 down to 2.0.0. Neither the SD card slot seems to be able to read the SD card alone. Cloud it be a broken Exp board?

Hi there,

And Welcome here,

So , the things can be finicky…There is a lot going on on this board.
I had to try 3 different SD-cards to get one to work. The other two work in devices but not when formatted for the camera board. YMMV :face_with_hand_over_mouth:

I load up the self test code first then test the SD if it works then Proceed to camera world.

I work with the TFT_eSPI. llb and the seeed LIB for round display, look at those threads, I have a demo on there try that one (gif-player) it is a thorough test of the system, and requires very little prep of the SD.
Start with the BSP listed in the compiler output, it’s an older one, but it just works.
The order of the LIBs too matters don’t ask me why ?

HTH
GL :slight_smile: PJ :v:

its a bit of a task to get going but once you do it is solid. :+1: