Search found 13 matches
- Mon Nov 29, 2021 2:59 am
- Forum: General Discussion
- Topic: how to allocate more heap for 16mb version?
- Replies: 3
- Views: 6295
Re: how to allocate more heap for 16mb version?
To get more heap you need psram not a bigger flash. My PCB uses the WROOM formfactor, which doesn't have PSRAM: https://www.digikey.com/en/products/detail/espressif-systems/ESP32-WROOM-32E-4MB/11613125 It has 536kB SRAM... how would I use this full amount for heap, as currently ESP.getHeapSize() sa...
- Sun Nov 28, 2021 3:42 am
- Forum: General Discussion
- Topic: how to allocate more heap for 16mb version?
- Replies: 3
- Views: 6295
how to allocate more heap for 16mb version?
I have the 16mb version and I'm trying to allocate more heap, but not sure how to do it. ESP.getHeapSize() gives me 255kb ESP.getMaxAllocHeap() gives me 65kb I see this here , but is this true for just the 4mb version, or also the 16mb version as well? Due to a technical limitation, the maximum stat...
- Sun Sep 19, 2021 11:57 pm
- Forum: General Discussion
- Topic: intelligently avoiding a fatal stack overflow crash?
- Replies: 2
- Views: 2372
Re: intelligently avoiding a fatal stack overflow crash?
don't put S in the stack. Put it in the heap and make sure you don't write more than its size. How do I control whether S is put in the stack or heap? Plenty of web server examples that can serve files from spiffs. Thanks I'll look into it. Some code I figured out which should be 'good enough' to m...
- Sun Sep 19, 2021 1:12 am
- Forum: General Discussion
- Topic: intelligently avoiding a fatal stack overflow crash?
- Replies: 2
- Views: 2372
intelligently avoiding a fatal stack overflow crash?
I have a file, X, that logs events and is stored in SPIFFS. Once every few months, X fills up SPIFFS. When that happens, my software prunes older data from the log. To do this, I: - create String S - copy only the newer half of file X into string S - dump S into a new file, Y - then I delete X, usin...
- Fri Aug 27, 2021 2:35 am
- Forum: ESP32 Arduino
- Topic: how many bytes of SPIFFS available for 'minimal SPIFFS'?
- Replies: 1
- Views: 2067
how many bytes of SPIFFS available for 'minimal SPIFFS'?
I'm using the IDE setting 'Minimal SPIFFS (Large APPS with OTA)'
How do I determine how many bytes of SPIFFS is available?
How do I determine how many bytes of SPIFFS is available?
- Sun Mar 14, 2021 11:19 pm
- Forum: Hardware
- Topic: ESP32 wroom, wrover, mini, solo... difference in BLE current consumption?
- Replies: 0
- Views: 1966
ESP32 wroom, wrover, mini, solo... difference in BLE current consumption?
Digikey is claiming different ESP32 models have different current consumptions.
Do they all relatively consume the same power, or would any version use extra low BLE transmit current?
Do they all relatively consume the same power, or would any version use extra low BLE transmit current?
- Fri Jan 22, 2021 4:33 am
- Forum: General Discussion
- Topic: Amazon Fire tablet won't connect to ESP32
- Replies: 0
- Views: 1726
Amazon Fire tablet won't connect to ESP32
I got an ESP32 programmed to work via BLE, and it works great with my Android cellphone. However, my Amazon Fire tablet (fully updated) just gives me this error: "Couldn't pair with my_ESP32 because of an incorrect PIN or passkey." It never asks me for a PIN, it just gives me this error as soon as I...
- Mon Nov 09, 2020 7:19 pm
- Forum: General Discussion
- Topic: using 1000+ ESP32 units with Google Home Assistant
- Replies: 3
- Views: 4171
Re: using 1000+ ESP32 units with Google Home Assistant
IMHO you should have tried this idea with one ESP32 before you went ahead and bought 1000+. The issue isn't getting it to work with one unit, it's about scalability to tens of thousands. I never said I "bought 1000+" units. And those problems were......? See links in my OP. In summary: AWS doesn't ...
- Sat Nov 07, 2020 12:53 am
- Forum: General Discussion
- Topic: using 1000+ ESP32 units with Google Home Assistant
- Replies: 3
- Views: 4171
using 1000+ ESP32 units with Google Home Assistant
I have 1000+ ESP32 units that needs to be controlled by hundreds of users via Google Home Assistant (GHA). Each unit controls a few door locks and has a 'door open' sensor that reports back. Users are non-technical so it should "just work." What would be the best way to approach this? ESP32 -> magic...
- Fri Oct 16, 2020 3:42 am
- Forum: ESP32 Arduino
- Topic: how to increase BLE pin length from 6 to 16 characters?
- Replies: 3
- Views: 4334
Re: how to increase BLE pin length from 6 to 16 characters?
Thanks chegewara for all your work on this. Unfortunately the link didn't help me. In BLEsecurity.h, which it says "Author: chegewara", it says it can only do 6 digits: * @brief Its request from peer device to input authentication pin code displayed on peer device. * It requires that our device is c...