Search found 566 matches

by boarchuz
Fri Feb 17, 2023 1:55 pm
Forum: General Discussion
Topic: the hunt for esp32-s3 deep sleep current leakage
Replies: 4
Views: 4935

Re: the hunt for esp32-s3 deep sleep current leakage

Yes, you should be able to achieve the specified deep sleep current. An external RTC crystal will increase this, however. I've never used one so I don't know by how much exactly. There's a good chance this is the culprit, at least partially. Yes, ESP-IDF will power down everything possible automatic...
by boarchuz
Fri Feb 17, 2023 4:33 am
Forum: General Discussion
Topic: the hunt for esp32-s3 deep sleep current leakage
Replies: 4
Views: 4935

Re: the hunt for esp32-s3 deep sleep current leakage

What ammeter are you using? Where exactly are you measuring this current? What power supply are you using? What regulator are you using? What other external peripherals are connected? Can you share a schematic? Do you have external bias resistors on the MOSFET gates? Have you confirmed Vgs is as exp...
by boarchuz
Thu Feb 16, 2023 7:54 am
Forum: ESP-IDF
Topic: need help for establish the http stream link
Replies: 2
Views: 1884

Re: need help for establish the http stream link

You are sending both the content length header and a chunked encoding header. This is not a valid HTTP request. esp_http_client will take care of this for you based on the length you provide to esp_http_client_open (see https://github.com/espressif/esp-idf/blob/8ba96ab87389dd5400b7670a14356ea8620223...
by boarchuz
Thu Feb 16, 2023 7:30 am
Forum: General Discussion
Topic: Can not connect to Wifi from Saved data from Flash Memory
Replies: 1
Views: 1233

Re: Can not connect to Wifi from Saved data from Flash Memory

You are writing the file using println, which in Arduino-land will usually append \r\n (https://reference.arduino.cc/reference/ ... l/println/).
When you read it back with readStringUntil('\n'), the resulting string will then include the '\r'.
by boarchuz
Sun Feb 05, 2023 3:32 am
Forum: ESP-IDF
Topic: ESP32 web server initiating HTTP requests to external Rest API?
Replies: 2
Views: 1221

Re: ESP32 web server initiating HTTP requests to external Rest API?

1&2. Yes, an ESP32 can have a HTTP server to respond to requests from clients, as well as a HTTP client to send requests to servers. They may speak the same language but these are separate functions with different roles. 3. No, but this isn't a concern. Your typical router firewall will block all in...
by boarchuz
Sun Feb 05, 2023 3:07 am
Forum: Hardware
Topic: ESP32 lower startup power consumption?
Replies: 4
Views: 1607

Re: ESP32 lower startup power consumption?

Another option is a supervisor IC selected to ignore voltage drops of a short duration. TPS3899, for example, has a programmable sense delay using an external capacitor; if the voltage rises above the threshold again before this time expires, it will do nothing.
by boarchuz
Mon Jan 23, 2023 7:46 am
Forum: ESP-IDF
Topic: Get length of full http response in case it is chunked
Replies: 2
Views: 1030

Re: Get length of full http response in case it is chunked

Not before the response is complete.
Chunked encoding is used when the server doesn't know the total length of its response beforehand. If it knew, it wouldn't need to use chunked encoding (unless it was being a PITA by choice).
by boarchuz
Mon Jan 09, 2023 4:14 pm
Forum: ESP32 Arduino
Topic: Good approach to disable WiFi?
Replies: 9
Views: 9611

Re: Good approach to disable WiFi?

No, don't do anything:

Code: Select all

void setup()
{
}
You don't need to disable it if you haven't enabled it.
by boarchuz
Mon Jan 09, 2023 11:39 am
Forum: ESP32 Arduino
Topic: Good approach to disable WiFi?
Replies: 9
Views: 9611

Re: Good approach to disable WiFi?

This is nuts. Don't initialise it. There's nothing to stop.
by boarchuz
Thu Dec 22, 2022 3:18 am
Forum: ESP-IDF
Topic: Rebuild flash encryption/decryption in software
Replies: 11
Views: 4394

Re: Rebuild flash encryption/decryption in software

How I told. I want to send an encrypted file to the ESP over html (no https) or the user downloads its himself, like a firmware.bin. The firmware shall nobody use on foreign Hardware. Only my first installed Software has the key. The title is confusing, then. It sounded like you wanted to implement...