Added M5Stack UnitCamS3

This commit is contained in:
Rene
2024-01-28 13:43:31 +01:00
parent 51c5bf08bc
commit d0ef68bbf4
5 changed files with 50 additions and 9 deletions

View File

@@ -111,8 +111,7 @@ constexpr camera_config_t ttgo_t_camera_settings = {
.grab_mode = CAMERA_GRAB_LATEST};
constexpr camera_config_t m5stack_camera_settings = {
.pin_pwdn = -1,
.pin_reset = -1,
.pin_reset = -1,
.pin_xclk = 10,
.pin_sscb_sda = 40,
.pin_sscb_scl = 39,
@@ -134,7 +133,7 @@ constexpr camera_config_t m5stack_camera_settings = {
.frame_size = FRAMESIZE_SVGA,
.jpeg_quality = 12,
.fb_count = 1,
.fb_location = CAMERA_FB_IN_PSRAM,
.fb_location = CAMERA_FB_IN_DRAM,
.grab_mode = CAMERA_GRAB_LATEST};
constexpr camera_config_t wrover_kit_camera_settings = {
@@ -189,4 +188,31 @@ constexpr camera_config_t xiao_esp32s3_camera_settings = {
.jpeg_quality = 12,
.fb_count = 2,
.fb_location = CAMERA_FB_IN_PSRAM,
.grab_mode = CAMERA_GRAB_LATEST};
constexpr camera_config_t m5stack_unitcams3_camera_settings = {
.pin_pwdn = -1,
.pin_reset = 15,
.pin_xclk = 27,
.pin_sscb_sda = 25,
.pin_sscb_scl = 23,
.pin_d7 = 19,
.pin_d6 = 36,
.pin_d5 = 18,
.pin_d4 = 39,
.pin_d3 = 5,
.pin_d2 = 34,
.pin_d1 = 35,
.pin_d0 = 32,
.pin_vsync = 22,
.pin_href = 26,
.pin_pclk = 21,
.xclk_freq_hz = 20000000,
.ledc_timer = LEDC_TIMER_0,
.ledc_channel = LEDC_CHANNEL_0,
.pixel_format = PIXFORMAT_JPEG,
.frame_size = FRAMESIZE_SVGA,
.jpeg_quality = 12,
.fb_count = 1,
.fb_location = CAMERA_FB_IN_PSRAM,
.grab_mode = CAMERA_GRAB_LATEST};