Difference: Esp32-cam (2 vs. 3)

Revision 32021-11-15 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

The ESP32-CAM module

Introduction

Line: 89 to 89
 setupForCamera.png

As you can see, it points to the esp-idf to be used, and it makes sure that the correct idf.py, which is stored in esp-idf/tools, is found in the execution path.

Added:
>
>
Reserving some space in SPIRAM for the image buffer

Standard MicroPython uses all the SPIRAM for its heap. This results in an error when the esp32 camera driver tries to allocate space in SPIRAM for its image buffer. I therefore modified the MicroPython sources to keep some free space for the camera driver. Here is the part I modified in main.c. As you can see, 256 kBytes are reserved.

esp32-cam_imgbuf.png

After this modification, you may follow the description in https://lemariva.com/blog/2020/06/micropython-support-cameras-m5camera-esp32-cam-etc (DIY from Scratch) for the modifications to lv_micropython needed in order to produce an interpreter with the camera driver included.

  -- Uli Raich - 2021-10-21
Line: 106 to 113
 
META FILEATTACHMENT attachment="esp32-cam-mb.png" attr="" comment="" date="1634807001" name="esp32-cam-mb.png" path="esp32-cam-mb.png" size="166874" user="UliRaich" version="1"
META FILEATTACHMENT attachment="esp32-who.png" attr="" comment="" date="1634807361" name="esp32-who.png" path="esp32-who.png" size="25884" user="UliRaich" version="1"
META FILEATTACHMENT attachment="setupForCamera.png" attr="" comment="" date="1634810268" name="setupForCamera.png" path="setupForCamera.png" size="22985" user="UliRaich" version="1"
Added:
>
>
META FILEATTACHMENT attachment="esp32-cam_imgbuf.png" attr="" comment="" date="1637008974" name="esp32-cam_imgbuf.png" path="esp32-cam_imgbuf.png" size="72024" user="UliRaich" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback