Support ESP32 Wrover Module?

Should be Espressif ESP-WROVER-KIT — PlatformIO latest documentation according to boards.txt and board’s JSON file.

Have you tried with a platformio.ini of

[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit
framework = arduino
build_flags = -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue

and some blinky / Serial code?

1 Like

when use esp-wrover-kit returns this error

RAM: [== ] 16.3% (used 53432 bytes from 327680 bytes)
Error: The program size (2102739 bytes) is greater than maximum allowed (1310720 bytes)

The sketch you’re trying to compile does not fit in the App0 partition of your selected partition table. Are you working with Arduino or ESPIDF as framework?

I working ESP32 CAM and Arduino framework

Then, as you can read in the docs, you can set the partition table, allowing for larger applications, by e.g. writing

board_build.partitions = huge_app.csv

in the platformio.ini.

1 Like

build is success but when rest module show this error

[E][camera.c:1049] camera_probe(): Detected camera not supported.
[E][camera.c:1249] esp_camera_init(): Camera probe failed with error 0x20004
era init failed with error 0x200040.0.0.0

Does the same happen when setting board = esp32cam in the platformio.ini?

[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit
framework = arduino
monitor_speed = 115200
build_flags = -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
lib_deps = m5stack/Timer-CAM@^0.0.1
board_build.partitions = huge_app.csv

Okay so that is your whole platformio.ini but doesn’t answer my question.

Replacing this with board = esp32cam makes no difference?

No. There is no difference

but in Arduino IDE good working

What’s the exact code you’re running?

From your screenshot I see that you’re additionally deviating from the standard settings in flash frequency and flash mode, from originally DIO + 40MHz to QIO and 80MHz.

If you want to emulate that you need to additionally write

board_build.f_flash= 80000000L
board_build.flash_mode = qio

in the platformio.ini.

2 Likes

I use this sample

add this code in platformio.ini
board_build.f_flash= 80000000L
board_build.flash_mode = qio

but show this error
[E][camera.c:1049] camera_probe(): Detected camera not supported.
[E][camera.c:1249] esp_camera_init(): Camera probe failed with error 0x20004
0.0.0.0

Often this error for voltage but I not think this error regarding voltage

Have you tried commenting line 11 and uncommenting line 17?

Do you have a link to the exact camera module that you’ve bought?

yes I comment line 11 and uncomment line 17

yes. I run this code in Arduino IDE and good working module ESP32

No I meant the shop link where you baught the device.

In the Arduino IDE under Tools → Board → Board Manager, what’s the version of the esp32 package?

you mean programmer FTDI???

No the camera board itself.

yes. I have camera board

Again, I mean, do you have a link to the page where the device you have is sold? :smiley:

1 Like

Okay from the PM

this is my Device There is only one difference between the cameras. I use camera ov2640

It looks like an AI Thinker cam. So you are using the #define CAMERA_MODEL_AI_THINKER setting, right?

Please use the Arduino IDE where the sketch works. After Serial.begin(), add the code

Serial.println("Y2_GPIO_NUM: " + String((int)Y2_GPIO_NUM));
Serial.println("Y3_GPIO_NUM: " + String((int)Y3_GPIO_NUM));
Serial.println("Y4_GPIO_NUM: " + String((int)Y4_GPIO_NUM));
Serial.println("Y5_GPIO_NUM: " + String((int)Y5_GPIO_NUM));
Serial.println("Y6_GPIO_NUM: " + String((int)Y6_GPIO_NUM));
Serial.println("Y7_GPIO_NUM: " + String((int)Y7_GPIO_NUM));
Serial.println("Y8_GPIO_NUM: " + String((int)Y8_GPIO_NUM));
Serial.println("Y9_GPIO_NUM: " + String((int)Y9_GPIO_NUM));
Serial.println("XCLK_GPIO_NUM: " + String((int)XCLK_GPIO_NUM));
Serial.println("PCLK_GPIO_NUM: " + String((int)PCLK_GPIO_NUM));
Serial.println("VSYNC_GPIO_NUM: " + String((int)VSYNC_GPIO_NUM));
Serial.println("HREF_GPIO_NUM: " + String((int)HREF_GPIO_NUM));
Serial.println("SIOD_GPIO_NUM: " + String((int)SIOD_GPIO_NUM));
Serial.println("SIOC_GPIO_NUM: " + String((int)SIOC_GPIO_NUM));
Serial.println("PWDN_GPIO_NUM: " + String((int)PWDN_GPIO_NUM));
Serial.println("RESET_GPIO_NUM: " + String((int)RESET_GPIO_NUM));

and upload the code.

  1. Does the camera still work?
  2. What is the serial output for all pins?

Now add the same code in the PlatformIO project. Does it output the same pins?