Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
esp32-cam [2018/12/19 21:39] – [getting a pic] yair | esp32-cam [2020/01/04 18:48] – [ESP32 stream camera modules] yair |
---|
===== ESP32 stream camera modules ===== | ===== ESP32 stream camera modules ===== |
| |
at their core this modules uses external RAM ([[#psram]] to buffer an ov2640 camera module that does jpeg at 10fps on-board. the external ram is not strictly neseccery, but going fwd its the right way to go, beware of [[#M5Stack|modules]] without one | at their core this modules uses external RAM ([[#psram]] to buffer an ov2640 camera module that does jpeg at 10fps on-board. the external ram is not strictly necessary, but going fwd its the right way to go, beware of [[#M5Stack|modules]] without one |
| |
| Note2: new modules in market are updated, make sure they carry [[#PSRAM]] chip |
| |
note: **current [[#M5Stack]] modules DO NOT come with the [[#PSRAM]] chip** and are limited in performance and by heat issues.\\ | note: **current [[#M5Stack]] modules DO NOT come with the [[#PSRAM]] chip** and are limited in performance and by heat issues.\\ |
while the [[#M5Stack]] doesnt have the #PSRAM, out of the box it outputs a working image stream. unlike the [[#ESP32-CAM]] | |
| |
modules tested\\ | **modules tested**\\ |
[[#TTGO T-Journal]] - comes with arduino support, works out of the box\\ | [[#ESP32-CAM]] - <del>glitching ATM</del> works, but lacks heatsink\\ |
[[#M5Stack]] - works out of box, lacks PSRAM\\ | [[#TTGO T-Journal]] - comes with arduino support, works out of the box, has a heatsink on the esp32.\\ |
[[#ESP32-CAM]] - glitching ATM\\ | [[#M5Stack]] - works out of box, lacks PSRAM, lacks heatsink\\ |
untested\\ | |
| **yet untested**\\ |
[[#ESP32-wrover-kit]]\\ | [[#ESP32-wrover-kit]]\\ |
[[#ESP32-WROVER-B]]\\ | [[#ESP32-WROVER-B]]\\ |
[[#TTGO T8]] | [[#TTGO T8]]\\ |
| [[#esp-eye]] - [[https://www.espressif.com/en/products/hardware/esp-eye/overview|link]] |
| ==== ESP32-CAM ==== |
| {{ :pasted:20181128-003945.png?direct&400}} |
| [[https://shop72165205.world.taobao.com|AI-thinker]] has |
| [[https://github.com/donny681/ESP32_CAMERA_QR|released]] a QR-code reading example. |
| |
| |
| <html> |
| <ul><li>Wireless Module- ESP32-S WiFi 802.11 b/g/n + Bluetooth 4.2 LE module with PCB antenna, u.FL connector, 32Mbit SPI flash, 4MBit PSRAM</li> |
| <li>External Storage – micro SD card slot <strong>up to 4GB</strong></li> |
| <li>Camera |
| <ul><li>FPC connector</li> |
| <li>Support for OV2640 (sold with board) or OV7670 cameras</li> |
| <li>Image Format – JPEG( OV2640 support only ), BMP, grayscale</li> |
| <li>LED flash light</li> |
| </ul></li> |
| <li>Expansion – 16x through-holes with UART, SPI, I2C, PWM</li> |
| <li>Misc – Reset button</li> |
| <li>Power Supply – 5V via pin header</li> |
| <li>Power Consumption |
| <ul><li>Flash LED off – 180mA @ 5V</li> |
| <li>Flash LED on to maximum brightness- 310mA @ 5V</li> |
| <li>Deep-sleep – 6mA @ 5V min.</li> |
| <li>Modem-sleep – 20mA @ 5V min.</li> |
| <li>Light-sleep – 6.7mA @ 5V min.</li> |
| </ul></li> |
| <li>Dimensions – 40.5 x 27 x 4.5 mm</li> |
| <li>Weight- 10 grams</li> |
| <li>Temperature Range – Operating: -20 ℃ ~ 85 ℃; storage: -40 ℃ ~ 90 ℃ @ < 90%RH</li> |
| </ul> |
| </html> |
| |
| spec gathered and formatted by [[https://www.cnx-software.com/2018/09/30/esp32-cam-esp32-camera-board/|cnx-software]], check his [[https://www.facebook.com/cnxsoft|feed]] for the latest in embedded open designs |
| interesting, might be a seeedstudio design, but [[https://www.seeedstudio.com/ESP32-CAM-Development-Board(with-camera)-p-3153.html|abandoned]] [[https://i.imgur.com/yh3N2eL.png|(cache)]]. |
| |
| *[[https://item.taobao.com/item.htm?id=573698917181|AI-thinker]] offical store on taobao |
| *[[https://www.aliexpress.com/wholesale?SearchText=ESP32-CAM|ALIexpress sellers]] |
| *[[https://coolcomponents.co.uk/collections/cameras/products/esp32-cam-development-boardwith-camera|UK seller]] |
| |
| *{{:pasted:20181219-222557.png?linkonly|pinout}} |
| *{{ :ESP32_CAM_V1.6.pdf|schematics}} |
| *{{ :esp32-cam.pdf |datasheet (chinese)}} - from wiki |
| *[[http://wiki.ai-thinker.com/esp32-cam|wiki-page]] - lots of time offline |
| |
| === gettting it going === |
| #install esp-idf on system |
| https://docs.espressif.com/projects/esp-idf/en/latest/get-started/#get-esp-idf |
| |
| #get esp-who repo, it will also pull submodule esp32-camera component |
| git clone --recursive https://github.com/espressif/esp-who.git |
| #if you didnt pull the submodules run $ git submodule update --init |
| cd esp/esp-who/examples/single_chip/camera_web_server/ |
| |
| |
| # change camera module to ai-thinker in sdkconfig |
| # also change port to /dev/ttyUSB0 or whatever is yours. |
| # |
| # Camera Pins |
| # |
| CONFIG_CAMERA_MODEL_WROVER_KIT= |
| CONFIG_CAMERA_MODEL_M5STACK_PSRAM= |
| CONFIG_CAMERA_MODEL_AI_THINKER=y |
| CONFIG_CAMERA_MODEL_CUSTOM= |
| CONFIG_ESP_FACE_DETECT_ENABLED=y |
| CONFIG_ESP_FACE_RECOGNITION_ENABLED=y |
| #now compile and flash |
| make menuconfig |
| make flash |
| |
| {{:pasted:20181219-220415.png}} |
| |
==== M5Stack ==== | ==== M5Stack ==== |
M5Stack host it's [[https://m5stack.github.io/m5-docs/#/en/product_documents/units/unit_m5camera|product page]] on github and on [[http://m5stack.com/|their]] site. | [[http://m5stack.com/|M5Stack]] host it's [[https://m5stack.github.io/m5-docs/#/en/product_documents/units/unit_m5camera|product page]] on github . |
| |
M5Stack warn not to use the cam module for extended time as "{{m5camera_02.jpg?linkonly|it might over heat"}}!\\ | M5Stack warn not to use the cam module for extended time as "{{m5camera_02.jpg?linkonly|it might over heat"}}!\\ |
*[[https://www.amazon.es/gp/product/B07F2DNX6M/r| ES seller AMZ]] -19eu | *[[https://www.amazon.es/gp/product/B07F2DNX6M/r| ES seller AMZ]] -19eu |
| |
| ===getting image=== |
| comes with working demo code: [[https://github.com/m5stack/esp32-cam-demo|github]] |
| |
==== ESP32-CAM ==== | watch their github [[https://github.com/m5stack/m5stack-cam-psram|m5stack-cam-psram]] |
{{ :pasted:20181128-003945.png?direct&400}} | |
[[https://shop72165205.world.taobao.com|AI-thinker]] has | |
[[https://github.com/donny681/ESP32_CAMERA_QR|released]] a QR-code reading example. | |
| |
| ====esp-who==== |
| make defconfig |
| make flash |
| <code> |
| I (309) boot: Loaded app from partition at offset 0x10000 |
| I (309) boot: Disabling RNG early entropy source... |
| E (312) spiram: Expected 4096KiB chip but found 8192KiB chip. Bailing out.. |
| E (319) cpu_start: Failed to init external RAM! |
| </code> |
| ==== TTGO T-Journal ==== |
| |
<html> | {{ :pasted:20181129-231505.png?400&direct}} {{ :pasted:20181129-231342.png?111&direct}} |
<ul><li>Wireless Module- ESP32-S WiFi 802.11 b/g/n + Bluetooth 4.2 LE module with PCB antenna, u.FL connector, 32Mbit SPI flash, 4MBit PSRAM</li> | |
<li>External Storage – micro SD card slot <strong>up to 4GB</strong></li> | |
<li>Camera | |
<ul><li>FPC connector</li> | |
<li>Support for OV2640 (sold with board) or OV7670 cameras</li> | |
<li>Image Format – JPEG( OV2640 support only ), BMP, grayscale</li> | |
<li>LED flash light</li> | |
</ul></li> | |
<li>Expansion – 16x through-holes with UART, SPI, I2C, PWM</li> | |
<li>Misc – Reset button</li> | |
<li>Power Supply – 5V via pin header</li> | |
<li>Power Consumption | |
<ul><li>Flash LED off – 180mA @ 5V</li> | |
<li>Flash LED on to maximum brightness- 310mA @ 5V</li> | |
<li>Deep-sleep – 6mA @ 5V min.</li> | |
<li>Modem-sleep – 20mA @ 5V min.</li> | |
<li>Light-sleep – 6.7mA @ 5V min.</li> | |
</ul></li> | |
<li>Dimensions – 40.5 x 27 x 4.5 mm</li> | |
<li>Weight- 10 grams</li> | |
<li>Temperature Range – Operating: -20 ℃ ~ 85 ℃; storage: -40 ℃ ~ 90 ℃ @ < 90%RH</li> | |
</ul> | |
</html> | |
| |
spec gathered and formatted by [[https://www.cnx-software.com/2018/09/30/esp32-cam-esp32-camera-board/|cnx-software]], check his [[https://www.facebook.com/cnxsoft|feed]] for the latest in embedded open designs | |
interesting, might be a seeedstudio design, but [[https://www.seeedstudio.com/ESP32-CAM-Development-Board(with-camera)-p-3153.html|abandoned]] [[https://i.imgur.com/yh3N2eL.png|(cache)]]. | |
| |
*[[https://item.taobao.com/item.htm?id=573698917181|AI-thinker]] offical store on taobao | *Chipset ESPRESSIF-ESP32-PCIO-D4 240MHz Xtensa® single-/dual-core 32-bit LX6 microprocessor |
*[[https://www.aliexpress.com/wholesale?SearchText=ESP32-CAM|ALIexpress sellers]] | *FLASH QSPI flash/SRAM, up to 4 x 16 MB |
*[[https://coolcomponents.co.uk/collections/cameras/products/esp32-cam-development-boardwith-camera|UK seller]] | *SRAM 520 kB SRAM |
*{{:pasted:20181209-223036.png?linkonly|pinout}} | *dispaly 0.91 SSD1306 |
*{{ :esp32-cam.pdf |datasheet (chinese)}} - from wiki | *USB to TTL CP2104 |
*[[http://wiki.ai-thinker.com/esp32-cam|wiki-page]] | *Camera OV2640 2Megapixel |
| *Steering engine analog servo (PWM?) |
| *working voltage 2.3V-3.6V |
| *working current about 160mA |
| *size 64.57mm*23.98mm |
| *Power Supply USB 5V/1A |
| *charging current 1A - battery 3.7V lithium battery |
| [[https://www.aliexpress.com/item/TTGO-T-Journal-ESP32-Camera-esp32-OV2640-Camera-Module-Development-Board-SAM-Wifi-3dbi-Antenna/32954902322.html|store]]\\ [[https://github.com/LilyGO/ESP32-Camera|github]] |
| |
| ===getting image=== |
| the [[#TTGO T-Journal]] comes with arduino support [[https://github.com/LilyGO/ESP32-Camera|github repo]] |
| |
| configure arduino with esp32 support\\ |
| using the board type **ESP32 Dev Module** |
| |
| unzip Downloads/esp8266-oled-ssd1306-master.zip -d ~/Arduino/libraries/ |
| cd ~/Arduino/libraries/ |
| git clone https://github.com/LilyGO/ESP32-Camera |
| #(re)open arduino |
| File>Examples>Examples from customs libraries>ESP32 camera>ESP32_Station_Cam.ino |
| |
| the TTGO is the best one. \\ |
| comes pre-flashed out of the box and was able to reflash with their example. \\ |
| missing are schematics. |
| |
| click image for the mjpeg_stream output \\ |
| {{:pasted:smartselect_20181218-125103_chrome.gif?direct&300|}} |
| |
| ===getting image -arduino=== |
| git clone https://github.com/espressif/arduino-esp32.git ~/Documantes/Arduino/hardware/espressif/esp32 |
| git submodule update --init --recursive |
| #Open [ARDUINO_SKETCHBOOK_DIR]/hardware/espressif/esp32/tools and double-click get.exe |
| #going for File>Examples>esp32>camera |
| i added the pinout for the T-journal |
| |
| <code>//https://github.com/espressif/esp-who/issues/2#issuecomment-435813085 |
| // Select camera model |
| #define CAMERA_MODEL_TTGO_Tjournal |
| |
| #elif defined(CAMERA_MODEL_TTGO_Tjournal) |
| #define PWDN_GPIO_NUM 0 |
| #define RESET_GPIO_NUM 15 |
| #define Y2_GPIO_NUM 17 |
| #define Y3_GPIO_NUM 35 |
| #define Y4_GPIO_NUM 34 |
| #define Y5_GPIO_NUM 5 |
| #define Y6_GPIO_NUM 39 |
| #define Y7_GPIO_NUM 18 |
| #define Y8_GPIO_NUM 36 |
| #define Y9_GPIO_NUM 19 |
| #define XCLK_GPIO_NUM 27 |
| #define PCLK_GPIO_NUM 21 |
| #define HREF_GPIO_NUM 26 |
| #define VSYNC_GPIO_NUM 22 |
| #define SIOD_GPIO_NUM 25 |
| #define SIOC_GPIO_NUM 23 |
| </code> |
| #push G32 on upload start |
| |
| |
| |
| {{:pasted:20181224-142203.png?400}} |
| |
| ==== ESP32-wrover-kit ==== |
| {{:pasted:20181129-215820.png?400&direct}} |
| |
| **do not use for for new designs** (see comment on wrover-b bellow) |
| video released by espressif shows pattern detection capabilities.[[https://github.com/espressif/esp-who|github]] \\ |
| it uses the [[https://www.espressif.com/en/products/hardware/esp-wrover-kit/overview|esp-wrover-kit]] |
| |
| *Dual core 240 MHz CPU; |
| *with 4 MB SPI PSRAM (Pseudo static RAM); |
| *Built-in USB-JTAG Debugger; |
| *3.2” SPI LCD panel; |
| *Micro-SD card interface |
| *VGA camera interface |
| *I/O expansion |
| *DOOM enabled {{https://i.imgur.com/8o7uSqZ.png?linkonly|(jpg)}} |
| *[[https://www.adafruit.com/product/3384|adafruit]] |
| *[[https://www.aliexpress.com/item/52Pi-ESP-WROVER-KIT-ESP32-Development-Board-With-WiFi-Wireless-Bluetooth-and-3-2-Inch-LCD/32857373727.html|aliexpress seller]] and his [[http://wiki.52pi.com/index.php/ESP32_WROVER_KIT_SKU:_EP-0090|WiKi]] |
| *[[http://iot-bits.com/getting-started-with-esp32-esp-wrover-kit/|getting started]] guide by io-bits |
| |
| {{testing_the_face_detection_on_esp32.-10157127307648888.mp4}} |
| |
| |
| |
| ==== ESP32-WROVER-B ==== |
| {{:pasted:20181129-222139.png?400&direct}} |
| |
| the ESP32-WROVER-B Module has the 8MB PSRAM but lacks some peripherals.\\ note the diff between qrover and wrover-b, which has the extra 8MB. better not use less then 4MB. |
| |
| * official [[https://www.espressif.com/sites/default/files/documentation/esp32-wrover-b_datasheet_en.pdf|datasheet]] |
| * electrodragon offers a few [[https://www.electrodragon.com/w/Category:ESP32#Specification_and_ordering_information/|configurations]], and the offical [[https://www.espressif.com/sites/default/files/documentation/espressif_products_ordering_information_en.pdf|list]] |
| |
| |
| ==== TTGO T8 ==== |
| the T8 has the PSRAM with all the peripherals but the camera connector. [[https://pt.aliexpress.com/item/TTGO-T8-V1-7-ESP32-4-mb-PSRAM-CART-O-TF-3D-ANTENA-WiFi-bluetooth-ESP32/32851423415.html|store]] |
| |
| {{:pasted:20181129-234827.png?200&direct}} |
| |
| ==== PSRAM ==== |
| the PSRAM is "a cheaper cost-per-bit cache and buffered memory solution" [[https://www.arrow.com/en/categories/memory/memory-chips/psram|(link)]] |
| |
| {{:pasted:20181202-004212.png}} |
| |
| from ESP-PSRAM64 [[https://www.espressif.com/sites/default/files/documentation/esp-psram64_esp-psram64h_datasheet_en.pdf|datasheet]] |
| |
| "the ESP32 SDK at the moment only supports the ESP-PSRAM32 chip." [[https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/external-ram.html|(doc)]], [[https://esp32.com/viewtopic.php?f=2&t=826&p=26656|post#1]].[[https://www.esp32.com/viewtopic.php?f=13&t=2031&sid=7f1eafe0803c6ef34e981777ceaebd09&start=90|post#2]] |
| |
| note: **current [[#M5Stack]] modules DO NOT come with the PSRAM chip** and are limited in performance and by heat issues. TBD {{:pasted:20181202-003301.png?direct&750|check your board}} |
| |
| ==== camera and lenses ==== |
| OV2640 {{:ov2640ds.pdf|datasheet}} |
| |
| an earlier [[https://github.com/igrr/esp32-cam-demo|source code]] shows how to stream MJPEG to a browser. |
| in video is an example of that with a few ov modules with ribbon connectors |
| |
| {{youtube>iw5b26QmWbE?medium}} |
| |
| here is a [[https://www.reddit.com/r/esp32/comments/92423z/m5stack_esp32_camera/ea7yt4v/|reddit]] comment about working with the ov2640 and the arduino platform |
| |
| relate to all the above. |
| |
| [[https://hbvcamhuibervision.pt.aliexpress.com/store/3018090|{{:pasted:20181130-000246.png}}]] |
| ==== compare ==== |
| ESP32-CAM |
| *SDcard storage |
| M5Satck |
| * serial to usb |
| * charging circuit |
| * charge connector |
| * grove connector |
| * form factor |
| * no PSRAM ?! |
| * [[https://github.com/m5stack/M5-Schematic/blob/master/Units/m5camera/hardware_diff_with_ESP32CAM_M5Camera.md|pinout diff with esp32-cam]] |
| |
| ==== getting a pic - superseded ==== |
| with help of [[https://github.com/me-no-dev|me-no-dev]] i got the [[#esp32-cam]] working!, below is just all i tried before [[https://github.com/espressif/esp32-camera/issues/7?fbclid=IwAR3BXgsdScCM9Wj6Eb3I6QzCK5oHZu9WrEj6_W1BYUo9wUVXQFzRAudU8pE#issuecomment-448755310|this nudge]] i got. |
| |
| |
| ---- |
| |
==== getting a pic ==== | |
TLDR: this module comes with a bootloader, but no app. and flashing one didn't get me the results i can work with ATM.\\ | TLDR: this module comes with a bootloader, but no app. and flashing one didn't get me the results i can work with ATM.\\ |
| |
I (2612) camera: got ip:192.168.0.89 | I (2612) camera: got ip:192.168.0.89 |
</code></hidden> | </code></hidden> |
| |
====esp-who==== | |
make defconfig | |
make flash | |
<code> | |
I (309) boot: Loaded app from partition at offset 0x10000 | |
I (309) boot: Disabling RNG early entropy source... | |
E (312) spiram: Expected 4096KiB chip but found 8192KiB chip. Bailing out.. | |
E (319) cpu_start: Failed to init external RAM! | |
</code> | |
==== TTGO T-Journal ==== | |
| |
{{ :pasted:20181129-231505.png?400&direct}} {{ :pasted:20181129-231342.png?111&direct}} | |
| |
| |
*Chipset ESPRESSIF-ESP32-PCIO-D4 240MHz Xtensa® single-/dual-core 32-bit LX6 microprocessor | |
*FLASH QSPI flash/SRAM, up to 4 x 16 MB | |
*SRAM 520 kB SRAM | |
*dispaly 0.91 SSD1306 | |
*USB to TTL CP2104 | |
*Camera OV2640 2Megapixel | |
*Steering engine analog servo (PWM?) | |
*working voltage 2.3V-3.6V | |
*working current about 160mA | |
*size 64.57mm*23.98mm | |
*Power Supply USB 5V/1A | |
*charging current 1A - battery 3.7V lithium battery | |
[[https://www.aliexpress.com/item/TTGO-T-Journal-ESP32-Camera-esp32-OV2640-Camera-Module-Development-Board-SAM-Wifi-3dbi-Antenna/32954902322.html|store]]\\ [[https://github.com/LilyGO/ESP32-Camera|github]] | |
| |
===getting image=== | |
the [[#TTGO T-Journal]] comes with arduino support [[https://github.com/LilyGO/ESP32-Camera|github repo]] | |
| |
configure arduino with esp32 support\\ | |
using the board type **ESP32 Dev Module** | |
| |
unzip Downloads/esp8266-oled-ssd1306-master.zip -d ~/Arduino/libraries/ | |
cd ~/Arduino/libraries/ | |
git clone https://github.com/LilyGO/ESP32-Camera | |
#(re)open arduino | |
File>Examples>Examples from customs libraries>ESP32 camear>ESP32_Station_Cam.ino | |
| |
the TTGO is the best one. \\ | |
comes pre-flashed out of the box and was able to reflash with their example. \\ | |
missing are schematics. | |
| |
click image for the mjpeg_stream output \\ | |
{{:pasted:smartselect_20181218-125103_chrome.gif?direct&300|}} | |
| |
==== ESP32-wrover-kit ==== | |
{{:pasted:20181129-215820.png?400&direct}} | |
| |
**do not use for for new designs** (see comment on wrover-b bellow) | |
video released by espressif shows pattern detection capabilities.[[https://github.com/espressif/esp-who|github]] \\ | |
it uses the [[https://www.espressif.com/en/products/hardware/esp-wrover-kit/overview|esp-wrover-kit]] | |
| |
*Dual core 240 MHz CPU; | |
*with 4 MB SPI PSRAM (Pseudo static RAM); | |
*Built-in USB-JTAG Debugger; | |
*3.2” SPI LCD panel; | |
*Micro-SD card interface | |
*VGA camera interface | |
*I/O expansion | |
*DOOM enabled {{https://i.imgur.com/8o7uSqZ.png?linkonly|(jpg)}} | |
*[[https://www.adafruit.com/product/3384|adafruit]] | |
*[[https://www.aliexpress.com/item/52Pi-ESP-WROVER-KIT-ESP32-Development-Board-With-WiFi-Wireless-Bluetooth-and-3-2-Inch-LCD/32857373727.html|aliexpress seller]] and his [[http://wiki.52pi.com/index.php/ESP32_WROVER_KIT_SKU:_EP-0090|WiKi]] | |
*[[http://iot-bits.com/getting-started-with-esp32-esp-wrover-kit/|getting started]] guide by io-bits | |
| |
{{testing_the_face_detection_on_esp32.-10157127307648888.mp4}} | |
| |
| |
| |
==== ESP32-WROVER-B ==== | |
{{:pasted:20181129-222139.png?400&direct}} | |
| |
the ESP32-WROVER-B Module has the 8MB PSRAM but lacks some peripherals.\\ note the diff between qrover and wrover-b, which has the extra 8MB. better not use less then 4MB. | |
| |
* official [[https://www.espressif.com/sites/default/files/documentation/esp32-wrover-b_datasheet_en.pdf|datasheet]] | |
* electrodragon offers a few [[https://www.electrodragon.com/w/Category:ESP32#Specification_and_ordering_information/|configurations]], and the offical [[https://www.espressif.com/sites/default/files/documentation/espressif_products_ordering_information_en.pdf|list]] | |
| |
| |
==== TTGO T8 ==== | |
the T8 has the PSRAM with all the peripherals but the camera connector. [[https://pt.aliexpress.com/item/TTGO-T8-V1-7-ESP32-4-mb-PSRAM-CART-O-TF-3D-ANTENA-WiFi-bluetooth-ESP32/32851423415.html|store]] | |
| |
{{:pasted:20181129-234827.png?200&direct}} | |
| |
==== PSRAM ==== | |
the PSRAM is "a cheaper cost-per-bit cache and buffered memory solution" [[https://www.arrow.com/en/categories/memory/memory-chips/psram|(link)]] | |
| |
{{:pasted:20181202-004212.png}} | |
| |
from ESP-PSRAM64 [[https://www.espressif.com/sites/default/files/documentation/esp-psram64_esp-psram64h_datasheet_en.pdf|datasheet]] | |
| |
"the ESP32 SDK at the moment only supports the ESP-PSRAM32 chip." [[https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/external-ram.html|(doc)]], [[https://esp32.com/viewtopic.php?f=2&t=826&p=26656|post#1]].[[https://www.esp32.com/viewtopic.php?f=13&t=2031&sid=7f1eafe0803c6ef34e981777ceaebd09&start=90|post#2]] | |
| |
note: **current [[#M5Stack]] modules DO NOT come with the PSRAM chip** and are limited in performance and by heat issues. TBD {{:pasted:20181202-003301.png?direct&750|check your board}} | |
| |
==== camera and lenses ==== | |
OV2640 {{:ov2640ds.pdf|datasheet}} | |
| |
an earlier [[https://github.com/igrr/esp32-cam-demo|source code]] shows how to stream MJPEG to a browser. | |
in video is an example of that with a few ov modules with ribbon connectors | |
| |
{{youtube>iw5b26QmWbE?medium}} | |
| |
here is a [[https://www.reddit.com/r/esp32/comments/92423z/m5stack_esp32_camera/ea7yt4v/|reddit]] comment about working with the ov2640 and the arduino platform | |
| |
relate to all the above. | |
| |
[[https://hbvcamhuibervision.pt.aliexpress.com/store/3018090|{{:pasted:20181130-000246.png}}]] | |
==== compare ==== | |
ESP32-CAM | |
*SDcard storage | |
M5Satck | |
* serial to usb | |
* charging circuit | |
* charge connector | |
* grove connector | |
* form factor | |
* no PSRAM ?! | |
* [[https://github.com/m5stack/M5-Schematic/blob/master/Units/m5camera/hardware_diff_with_ESP32CAM_M5Camera.md|pinout diff with esp32-cam]] | |
| |
| |