-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XIAO ESP32S3 sense sketcch usage #219
Comments
in
You will need to add a separate section for XIAO ESP32S3, identifying which pins are being used for the SD card. If you let me know what they are I can add this detail for anyone else who uses this board |
Unfortunately, it is a product that came out a few days ago and as a result the documentation is still a bit sparse. I was able to find this information on getting started. Do you have any idea which PINs in the image I uploaded match the ones of your code? I also attach the script they provide for recording a video |
Try
Also for cam error, did you comment out
|
Ok with the PIN configuration you suggested, the sketch works smoothly, the video recording starts correctly when motion is detected, and the file is saved with the correct FPS. Thanks a lot. Now i want to try to use also the built in I2C microphone to record the audio and video at the same time (hopefully). |
Out of curiosity, I looked up the mic details and it is a PDM mic. The problem is that PDM is only supported by I2S0 which is already used by the espressif camera library. I2S1 is available but only supports I2S mics (as per my readme). I've left a comment on the Seeed forum. |
Have since found out that although camera lib for ESP32 uses I2S0 DMA, for ESP32S3 it uses GDMA, so PDM mic can be used simultaneously. However the app would need updating to support PDM mic. |
Hi, I am also using the XIAO ESP32S3 sense board but although I've set "#define CAMERA_MODEL_XIAO_ESP32S3" and have followed your instructions in #219 (comment), I'm still getting the following error messages: 13:17:51.429 -> [17:17:51.834 setup] =============== Starting =============== FYI, the SD card works fine when using the Arduino XIAO_ESP32S3 SD_Test example code. Any ideas? |
in /************************************************************************** |
Thanks for the quick response. The following are the first few lines in appGlobals.h which appears to have resolved the issue. Thanks for the great support! //#if defined(CONFIG_IDF_TARGET_ESP32) /************************************************************************** //#define CAMERA_MODEL_WROVER_KIT // Has PSRAM |
I am experiencing the same issue "Startup Failure: Check SD card inserted". I have a Aideepen model (commonly available on Amazon, and deducting from the images on their website it is an AI-Thinker ESP32S). The example camera sketch from AI-Thinker board works on this model. I made sure the top part was not commented out, and that no other cam is uncommented in appGlobals.h, nonetheless I'm still getting the "Startup Failure: Check SD card inserted". |
[Resolved] Turns out it was a SD card issue. I bought one of alibaba for less than a dollar, 8 GB SD card, and seems incompatible with the ESP32 even though it works fine for file storage. I am not sure what the reason for this is, is it the size? The issue was fixed when I decided to put in a different 32 GB card and it worked. |
Stream CAMERA_MODEL_AI_THINKER doesn't work |
Hi, I recently purchased the new XIAO ESP32S3 sense board from SeedStudio
I would like to use your sketch with this board, as it has the ESP32S3 chip (should be good enough to obtain good video quality) and it has a internal I2C microphone.
I tried to make a slight modification to your sketch:
I added the pin definition of the new board inside the file "camera_pins.h".
I defined the CAM_BOARD in the "ESP32-CAM_MJPEG2SD":
I have defined the CAM_BOARD in the main:However, once the sketch is loaded, when I open the serial monitor I get the following output:
This as the error suggests should be due to an incorrect pin definition for the camera and SD card.
I also attach the pin diagram of the board and the link to the datasheet:
Link for datasheet and useful information
https://wiki.seeedstudio.com/xiao_esp32s3_getting_started
Any suggestions on how to make your sketch work with this new board?
The text was updated successfully, but these errors were encountered: