New answers tagged

1

For future references. So after some time I was finally able to upload my code into ESP32-CAM. I don't know if I had just bad luck with "faulty" ESP but here is what helped me. Don't use CP2102, it just doesn't work for me, use other programmer or Arduino as I did. If you have been using scheme like this scheme and wasn't able to fix your problem ...


1

That string is literally the characters 0xff ... while the array is the bytes 0xff... Where the string contains 4 bytes to say 0,x,f,f (followed by comma and space) the array will have 1 byte the 255 (and no need for a comma or space to delimit). If you are looking to convert the text hex string to bytes, look at a combination of How to convert an hex string ...


0

You can use Pulse Counter(PCNT) feature in ESP32 to count the number of pulse in background, Its also possible to configure event when number of counts reached certain threshold and had lot of options, For get information and available Interfaces and API's for Pulse Counter(PCNT) please follow below link, https://docs.espressif.com/projects/esp-idf/en/latest/...


1

In case where the upload procedure with esptool.py starts successfully but fails as soon as the baud rate is set to the high baud rate selected in Tools menu, select a lower baud rate in Tools menu.


2

For multiple cores to provide any advantage, they must be able to work independently. If they require shared access to a resource - i in your experiment - only one core can actually be contributing to the job at any one time. But because there are multiple, they have the additional bookkeeping to negotiate access to the shared resource. Thus the total job ...


1

OK, I fix the error. I remove all library for esp32 in my computer c:/users/hassan daoud/documents/arduino/hardware/ c:/users/hassan daoud/appdata/local/arduino15/packages/ and install again from board manager. all work ok 👍


3

When providing HTTP server you generally have two options: Using WebServer class and set handlers for roots. The parsing and handling of HTTP header is done by the library. Use WifiServer and receive the HTTP message with header included and handler everything by your own. If you are doing number 1 and pretend using by connecting with an Android device I ...


2

If you really don't sleep at all you can count with about 70 mA, with some short spikes when transmitting. Sleep mode disabled: (100 mA per division) But you don't need to disable sleep mode completely to use Wifi, you can be in Auto Light Sleep, which I think is the default for Arduino, Non-OS and RTOS. Auto Light Sleep: (100 mA per division) The Wifi ...


3

There is no such thing as a hostname associated with a specific device. When you request an IP from your router using DHCP the ESP32 has the option (which it uses) to tell the router what it'd like to be called. The router may, if it chooses, decide to inject that name into DNS lookups done through the router to resolve that allocated IP address. You can ...


2

The short answer is - we don't know. Longer answer: It depends on such factors as: The board circuit (the BBBL (known as The Big Bright Blue LED) on some boards could drain about 10-20ma only by itself) The voltage regulator efficiency The battery controller circuit / quality / keying efficiency. The reasonable value is about 170-220 mA (taken from the PDF,...


Top 50 recent answers are included