PlatformIO Community

ESP-EYE devkit board


#1

Hello,
I just got an ESP-EYE devkit. I would like to know which board I should use to be able to use the camera? Or which lib.

Thanks,
Corentin


#2

it looks like the board has just been added to the arduino-esp32 repo. Just have to be patient and wait a bit.


#3

Hi!

You can use this board config:

[env:esp32dev]
board = esp32dev
platform = espressif32
framework = arduino
board_build.partitions = huge_app.csv

Arduino core for ESP32 comes with an example CameraWebServer.ino which you can use for basis. The board_build.partition setting is there because for this example, it would not otherwise fit.

Be prepared to be patient though, it’s quite a fiddly board unfortunately. I was able to get the example working for most parts but the face tracking always crashed my board. Based on what I read, the camera would work better on ESP32 WROVER based board with it’s added PSRAM. ESP-EYE is based on a regular WROOM module.

Then there’s Micro-RTSP library for example: https://github.com/geeksville/Micro-RTSP
The developer has a popular example project TenDollarWebcam in another repository: https://github.com/geeksville/TenDollarWebcam

I did not get that working though but I’m starting to think there might be some issue with my ESP-EYE as many people seem to have got it working, otherwise the repository would not have 137 stars.

I hope this helps. This is as far as I got with it the last time I had time to play around with it.


#4

@Macfly I just noticed your two messages are talkng about two separate boards which got me confused. ESP-EYE is a development board made by Espressif themselves: https://www.espressif.com/en/products/hardware/esp-eye/overview
It seems to include the added PSRAM.

My comment was about ESP32-CAM which is a different board that’s commonly sold on AliExpress. When writing my previous comment I was in the belief it does not have PSRAM onboard but I was mistaken. It has an Ipus IPS6404LSQ 8MB PSRAM chip:

Enabling PSRAM with PlatformIO is documented here: https://docs.platformio.org/en/latest/platforms/espressif32.html#external-ram-psram

Arduino

[env:myenv]
platform = espressif32
framework = arduino
board = ...
build_flags =
    -DBOARD_HAS_PSRAM
    -mfix-esp32-psram-cache-issue

ESP-IDF

[env:myenv]
platform = espressif32
framework = espidf
board = ...
build_flags =
    -DCONFIG_SPIRAM_CACHE_WORKAROUND

I think I’m going to have to give the board another shot now. :slight_smile:


#5

Commenting here to myself in case someone ends up reading these later. ESP32-CAM board works a lot better now with PSRAM enabled. So combining the two configs I’ve posted earlier it works fine!