Giter Site home page Giter Site logo

Comments (18)

AchimPieters avatar AchimPieters commented on June 3, 2024 1

No not at this point I think, this is a question Maxim can better answer.

from esp32-homekit-camera.

maximkulkin avatar maximkulkin commented on June 3, 2024 1

Well, I'm not that familiar with OTA. Given that firmware size for camera is pretty large, I'm not sure it will work.

from esp32-homekit-camera.

AchimPieters avatar AchimPieters commented on June 3, 2024

@lizzus

That's the same I have, It should work just fine.

ps. use a good steady power source.

from esp32-homekit-camera.

lizzus avatar lizzus commented on June 3, 2024

Did you test? if work I'll buy!
Is a lot of month I wait this moment!!! Thanks @maximkulkin

from esp32-homekit-camera.

AchimPieters avatar AchimPieters commented on June 3, 2024

Yes I have tested it. Keep in mind that this project of @maximkulkin is still in progress.

from esp32-homekit-camera.

lizzus avatar lizzus commented on June 3, 2024

many thanks @AchimPieters. I'd like to build a version with OTA. Do you think is possible?

from esp32-homekit-camera.

lizzus avatar lizzus commented on June 3, 2024

ok, thanks :-)

from esp32-homekit-camera.

pwallner avatar pwallner commented on June 3, 2024

I will try this, much cheaper
https://s.click.aliexpress.com/e/b5h6hpb2

from esp32-homekit-camera.

lizzus avatar lizzus commented on June 3, 2024

@maximkulkin yes is large, but esp32 have 4mb of memory. Right?

from esp32-homekit-camera.

maximkulkin avatar maximkulkin commented on June 3, 2024

@pwallner I believe, that is the same module, just without Amazon added cost.

@lizzus It's not that simple. Last time I checked OTA had two partitions with two copies of firmware: the current one and the updated one, OTA code swaps which one is current after update. So, said that currently firmware is large enough to not being able to fit twice onto flash.

from esp32-homekit-camera.

pwallner avatar pwallner commented on June 3, 2024

@maximkulkin I saw that it doesn't use the AI thinker, so I also found this: https://de.aliexpress.com/item/32947577882.html?spm=a2g0s.9042311.0.0.17d14c4dwTPkRF

Bit more expensive, but much more cheaper than amazon. I orded at both shops. I will report which one is working.

from esp32-homekit-camera.

maximkulkin avatar maximkulkin commented on June 3, 2024

@pwallner I am very aware. I have that one available, but for most of my development and testing I'm using ESP-EYE. The thing I do not like about modules you've mentioned is that they do not come with USB-to-SERIAL chip and thus you have to use external USB-to-SERIAL adapter.

from esp32-homekit-camera.

pwallner avatar pwallner commented on June 3, 2024

yes that's right, so I use this one from amazon. I already have this usb-to-serial adapter, so the cheap versions of esp32 from aliexpress are ok for me (I hope so).

And I found this one, looks amazing with display... But I don't know if it is supported?

from esp32-homekit-camera.

pwallner avatar pwallner commented on June 3, 2024

I can confirm that the first mentioned module is working like the AI Thinker Chip.

from esp32-homekit-camera.

beckmx avatar beckmx commented on June 3, 2024

hello @pwallner I was testing also the same module you have in THIS URL is the same ESP32cam, but some shops say PSRAM 4mb external. I was wondering if you guys know if there is a RTOS method to know the total RAM -installed-. Also @lizzus and @AchimPieters are you getting video live out of your modules?

from esp32-homekit-camera.

maximkulkin avatar maximkulkin commented on June 3, 2024

@beckmx FreeRTOS is a universal platform, it has no ability to detect hardware capabilities. This is a task for "port" - binding of FreeRTOS to particular hardware. I guess, ESP32 has a way to query size of SPI RAM, because you do not need to specify RAM size, it detects it automatically. You can see all regions configured as heap memory in output during boot.

But keep in mind: ESP32 architecture is rather limited in terms of how much memory you can normally address. The memory area that can be mapped to external RAM is only 4MB large. To access more you need to use bank switching techniques (you map different external RAM areas to the same memory area by using special SPI command). Thus the code should be aware of that fact, keep track of what area it is looking at and optimize access so that it makes less expensive bank switches (expensive because of memory cache invalidation).

from esp32-homekit-camera.

beckmx avatar beckmx commented on June 3, 2024

I get it now more in context, I need to keep your pace :), I am happy with getting the screenshots meanwhile (even with the external psram in makemenu), thanx for the clarifications =D

from esp32-homekit-camera.

beckmx avatar beckmx commented on June 3, 2024

I noticed that in the logs in the beggining it shows the external memory added:

·[0;32mI (1780) heap_init: Initializing. RAM available for dynamic allocation:·[0m
·[0;32mI (1780) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM·[0m
·[0;32mI (1786) heap_init: At 3FFBBC40 len 000243C0 (144 KiB): DRAM·[0m
·[0;32mI (1793) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM·[0m
·[0;32mI (1799) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM·[0m
·[0;32mI (1806) heap_init: At 40096B18 len 000094E8 (37 KiB): IRAM·[0m
·[0;32mI (1812) cpu_start: Pro cpu start user code·[0m
·[0;32mI (1817) spiram: Adding pool of 4096K of external SPI memory to heap allocator·[0m

from esp32-homekit-camera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.