Search found 166 matches

by idahowalker
Wed Apr 03, 2019 3:55 pm
Forum: ESP32 Arduino
Topic: Continuous reboot on WiFi and Bluetooth
Replies: 10
Views: 14840

Re: Continuous reboot on WiFi and Bluetooth

pravi.khm@gmail.com wrote:
Wed Apr 03, 2019 6:04 am
adafruit
The magic word. I find many, not all, Adafruit libraries will cause the ESP32 to fault in some form or fashion.
Have you tried disabling all libraries and then one at a time, reenable each library one at a time to find the fault. I'd start with Adafruit first.
by idahowalker
Tue Apr 02, 2019 7:41 pm
Forum: ESP32 Arduino
Topic: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Replies: 11
Views: 40642

Re: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

You're saying that I can harm the PC if I connect the ESP directly to it via a USB Cable ? I never thought of that. I have experienced the 5V regulator supplying the ESP32 5V, deciding to put out a higher voltage, than 5V. If you look at the ESP32 schematic, you'll see that the 5V from the USB plug...
by idahowalker
Tue Apr 02, 2019 12:01 pm
Forum: ESP32 Arduino
Topic: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Replies: 11
Views: 40642

Re: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

Have you tried holding down the EN button during sketch upload? I found some but not all ESP's require the EN button to be held down before and until the upload has started. That is till, I added a powered USB hub. Once I added in a powered USB hub the need for sometimes holding down the EN button d...
by idahowalker
Tue Apr 02, 2019 2:43 am
Forum: ESP32 Arduino
Topic: Continuous reboot on WiFi and Bluetooth
Replies: 10
Views: 14840

Re: Continuous reboot on WiFi and Bluetooth

How does the ESP behave when a blank sketch is uploaded?

It might be time to logically eliminate lines of code till the issue goes away and then add them back, logically, till the issue returns.
by idahowalker
Tue Apr 02, 2019 2:40 am
Forum: ESP32 Arduino
Topic: Upload doesn't work anymore ! ESP too hot to touch ! Is it broken ?
Replies: 6
Views: 9639

Re: Upload doesn't work anymore ! ESP too hot to touch ! Is it broken ?

My guess is that the ESP32 is dead. How, I've no idea.

I had a collection of 7805's that would last a day or two then do some whacked out cht. I found ESP32's blow as quick as fuses. Since then I keep 1 ESP32 and one WROVER-B around as a spare.
by idahowalker
Fri Mar 29, 2019 9:42 pm
Forum: Hardware
Topic: How to Reset slave devices
Replies: 1
Views: 3104

Re: How to Reset slave devices

I have one ESP32 WROVER-B connected to 2 ESP32's. Power to the ESP32's is supplied through two 3.3V relays. The default state for the relays is off. The WROVER B powers the two ESP32's and their related circuits 400mS, after the WROVER-B has powered on. Once a second, over a CAN buss, the 2 ESP32's ...
by idahowalker
Fri Mar 29, 2019 9:11 pm
Forum: ESP32 Arduino
Topic: Access global object in call of function pointer
Replies: 2
Views: 3728

Re: Access global object in call of function pointer

Perhaps change this: Settings *_settings; .... setup(){ _settings = new Settings(); to this: Settings *_settings; _settings = new Settings(); .... setup(){ Serial.println(_settings->getID().c_str()); //PointA ………….. void functionCalledFromPointer(){ Serial.println(_settings->getID().c_str()); //Poin...
by idahowalker
Fri Mar 29, 2019 10:01 am
Forum: ESP32 Arduino
Topic: Switching from String to std::string is way harder than I thought !
Replies: 4
Views: 11352

Re: Switching from String to std::string is way harder than I thought !

Yes, to that link being what I am 'talking' about. If I remember correctly, the string reserve buffer is created on the heap space instead of the stack space. In regards to the buffer, ring. Over all, freeRTOS is built in to the ESP32. One aspect of freeRTOS is the ability to use stream buffers ( ht...
by idahowalker
Thu Mar 28, 2019 10:02 pm
Forum: ESP32 Arduino
Topic: ESP32 2Tasks on 2 Cores - Board reset
Replies: 6
Views: 9897

Re: ESP32 2Tasks on 2 Cores - Board reset

and you should find this useful" https://www.freertos.org/a00106.html
by idahowalker
Thu Mar 28, 2019 10:01 pm
Forum: ESP32 Arduino
Topic: ESP32 2Tasks on 2 Cores - Board reset
Replies: 6
Views: 9897

Re: ESP32 2Tasks on 2 Cores - Board reset

and here is a task using a delay: #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/timers.h" #include "freertos/event_groups.h" #define ESP32_WROVER_LED1 27 // LED D4 #define ESP32_WROVER_LED2 0 // LED D3 #define ESP32_LED 2 #define TaskStack10K 10000 #define TaskCore1 1 ...