• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

CAMERA_MODEL_M5STACK_PSRAM

Q&A Forum › Category: ESP32 › CAMERA_MODEL_M5STACK_PSRAM
1 Vote Up Vote Down
Wolfgang Schoepe asked 5 years ago

Hi
My camera is
M5CAMERA ESP32 4M Flash 4M PSRAM OV2640 2MP
the hardware inside is an ESP32 wrover
Product M5CAMERA MODEL M5CAMERA001

I use the source IP-CAM.
The selection is CAMERA_MODEL_M5STACK_PSRAM after compiling and reset I get the error code
Camera init failed with error 0x20004

Regards Wolfgang
 

1 Answers
1 Vote Up Vote Down
Best Answer
Wolfgang Schoepe answered 5 years ago

Hello

I have the solution

New Definition

#define CAMERA_MODEL_M5STACK_PSRAM_MODB

#elif defined(CAMERA_MODEL_M5STACK_PSRAM_MODB)
#define PWDN_GPIO_NUM -1
#define RESET_GPIO_NUM 15
#define XCLK_GPIO_NUM 27
#define SIOD_GPIO_NUM 22
#define SIOC_GPIO_NUM 23

#define Y9_GPIO_NUM 19
#define Y8_GPIO_NUM 36
#define Y7_GPIO_NUM 18
#define Y6_GPIO_NUM 39
#define Y5_GPIO_NUM 5
#define Y4_GPIO_NUM 34
#define Y3_GPIO_NUM 35
#define Y2_GPIO_NUM 32
#define VSYNC_GPIO_NUM 25
#define HREF_GPIO_NUM 26
#define PCLK_GPIO_NUM 21

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.