bitluni / ESP32CamTimeLapse

152 stars 56 forks source link

Missing esp_camera-h #7

Closed millenseer closed 4 years ago

millenseer commented 4 years ago

Pulled master of today. Compiling yields into an error:

camera.h:2:24: error: esp_camera.h: No such file or directory

include "esp_camera.h"

What am I missing here? A library?

hjoertel commented 4 years ago

check if you have selected the correct board "Boards: ESP Wrover Module" and camera module: #define CAMERA_MODEL_AI_THINKER At least for me the code compiles. after git clone I only edited the WLAN settings

millenseer commented 4 years ago

This board is not listed in my board manager. I have installed boards list version 2.6.3 of the ESP8266 Community. Arduino IDE 1.8.10 here.

In camera.cpp: // WARNING!!! Make sure that you have either selected ESP32 Wrover Module, or another board which has PSRAM enabled

CAMERA_MODEL_AI_THINKER is activated.

My board should have PSRAM. Although, I am unsure how to prove and which board to select.

I bought this board: KeeYees WiFi + Bluetooth Modul Kit 4M PSRAM ESP32-CAM Dual-Core 32 Bit CPU” (www.amazon.de/gp/product/B07S83X9NM/)

The boards works good so far, but not this code regardless which board I choose in the list

bitluni commented 4 years ago

You need the esp32 board plugin (esp8266 is different) https://github.com/espressif/arduino-esp32

millenseer notifications@github.com schrieb am Mo., 10. Feb. 2020, 14:06:

This board is not listed in my board manager. I have installed boards list version 2.6.3 of the ESP8266 Community. Arduino IDE 1.8.10 here.

In camera.cpp: // WARNING!!! Make sure that you have either selected ESP32 Wrover Module, or another board which has PSRAM enabled

CAMERA_MODEL_AI_THINKER is activated.

My board should have PSRAM. Although, I am unsure how to prove and which board to select.

I bought this board: KeeYees WiFi + Bluetooth Modul Kit 4M PSRAM ESP32-CAM Dual-Core 32 Bit CPU” (www.amazon.de/gp/product/B07S83X9NM/)

The boards works good so far.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bitluni/ESP32CamTimeLapse/issues/7?email_source=notifications&email_token=ADCGI24ANHP2BWB3GKPMYKTRCFGMNA5CNFSM4KSL4NA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELINYKY#issuecomment-584113195, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCGI27VOWZFPCHORL7MTRTRCFGMNANCNFSM4KSL4NAQ .

millenseer commented 4 years ago

Oh, darn. I switched to a newly setup arduino IDE version and apparently forgot to setup the right boards. Thanks for the hint! Does compile and even better - it works now!

But - how do I access the time lapse images written to /lapse000 ? Removing the card? Will try to hack an ftp upload :-)