ESP32CAM

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

ESP32CAM

#1 Post by mackowiakp » 21 May 2021, 13:07

I have the opportunity to buy greater amount, and very cheaply, ESP32-CAM modules, but without camera modules.
Can ESP Easy be installed on it (via USB-UART converter) and used for simple applications such as controlling a relay and one I2C device?
I tried one and you can install an example sketch on it, which is included in the default Arduino-IDE installation kit for the "AI Thinker ESP32-CAM" board.
If so, what type of board should I use for ESP Easy compilation for such module?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP32CAM

#2 Post by TD-er » 21 May 2021, 13:17

The most important question is the amount of flash present on those boards.
If it has > 4 MB of flash, you may also consider the new "max" builds as they have all plugins and controllers included.
Otherwise it is just the 'standard' selection of ESP32 builds. Since those modules don't have an ethernet port, you can ignore the builds with "ETH" in the name.

mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: ESP32CAM

#3 Post by mackowiakp » 21 May 2021, 13:24

It has 4M.
So will try my favorite (so far) 20191208 release. Not ETH support for sure.

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: ESP32CAM

#4 Post by Ath » 21 May 2021, 14:54

mackowiakp wrote: 21 May 2021, 13:24 It has 4M.
So will try my favorite (so far) 20191208 release. Not ETH support for sure.
Does that rather old release already have a working ESP32 build available? Please pick a more modern release, like 20210223 that has proven to be quite stable.
/Ton (PayPal.me)

mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: ESP32CAM

#5 Post by mackowiakp » 21 May 2021, 15:17

There is custom_ESP32_4M316

mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: ESP32CAM

#6 Post by mackowiakp » 21 May 2021, 15:42

OK. Will try ESP32 20210223

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: ESP32CAM

#7 Post by Ath » 21 May 2021, 16:01

When using such an old version, any support request will result in the suggestion to try a newer version of ESPEasy :mrgreen:
/Ton (PayPal.me)

mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: ESP32CAM

#8 Post by mackowiakp » 21 May 2021, 16:21

Hmmm. I try ready binary ESP_Easy_mega_20210223_custom_ESP32_4M316k.bin and own compilation with Custom.h, but in first case there is no WiFi AP available from ESP in second case, predefined credentials to WiFi HotSpot does not connect to AP.
Any idea?

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: ESP32CAM

#9 Post by Ath » 21 May 2021, 16:50

When flashing using the ESP32 flash tool (the Espressif one), you should select the file with factory in the name, that defines the correct memory partitioning. After that initial load you can then use the OTA feature of ESPEasy to update with the regular .bin file.
When self-compiling, preferably using VSCode and PlatformIO, the upload command from PlatformIO does all the necessary stuff to upload that partitioning and bootloader correctly. And again, after the initial load the OTA update can be used.

Documentation on flashing ESP32 with ESPEasy: https://espeasy.readthedocs.io/en/lates ... html#esp32
/Ton (PayPal.me)

mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: ESP32CAM

#10 Post by mackowiakp » 21 May 2021, 17:03

THX. Yep. After flashing "factory", Custom.h compiled bin works!

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: ESP32CAM

#11 Post by Ath » 21 May 2021, 17:40

Great, problem solved then :D
/Ton (PayPal.me)

mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: ESP32CAM

#12 Post by mackowiakp » 21 May 2021, 17:46

YEP ! THX once more !

mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: ESP32CAM

#13 Post by mackowiakp » 22 May 2021, 11:00

I have a problem with rules in this release. Sometimes it save content of edited rule, but in most cases - not.
Is any workaround?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP32CAM

#14 Post by TD-er » 22 May 2021, 11:02

What browser do you use?
Also do you have a password set?
I know there is still an open issue with rules handling if there is a password set.

mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: ESP32CAM

#15 Post by mackowiakp » 22 May 2021, 11:08

What browser do you use?
Last version available in my Linux repo that is Firefox 78,10 ESR 64 bit
Will try with Chrome.
Also do you have a password set?
Yes, I have.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP32CAM

#16 Post by TD-er » 22 May 2021, 11:14

It might be possible the authentication got expired.
I don't know what the default timeout is, nor where the session is kept. We don't explicitly set it.

I do know that switching between tabs/browsers sometimes may log you out on the other one.
It is working a bit funky.

So better keep a copy of your edits in a notepad to be sure.

mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: ESP32CAM

#17 Post by mackowiakp » 22 May 2021, 11:29

So better keep a copy of your edits in a notepad to be sure.
Thats what I do. "Only real heroes lives without backup".
I just don't know why my wife doesn't understand it ... :lol:

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests