Search found 8 matches

by franck102
Thu Mar 26, 2020 8:37 am
Forum: Hardware
Topic: I2C pull-ups for ESP32 devkit + DS3231 module
Replies: 2
Views: 3530

Re: I2C pull-ups for ESP32 devkit + DS3231 module

Thanks for the feedback!

Franck
by franck102
Wed Mar 25, 2020 3:48 pm
Forum: Hardware
Topic: I2C pull-ups for ESP32 devkit + DS3231 module
Replies: 2
Views: 3530

I2C pull-ups for ESP32 devkit + DS3231 module

Hi all, I am working on a project that will combine an ESP32 devkit rev 1 and a DS3231 module like this one . I would appreciate it if you could comment on my current thinking w.r.t pull-up resistors for the I2C SDA & SCL lines: - the Wire library will enable the internal pullups on the ESP32, that'...
by franck102
Sat Mar 14, 2020 9:21 am
Forum: ESP32 Arduino
Topic: Core 0 panic on Wifi.begin basic sample
Replies: 1
Views: 4389

Re: Core 0 panic on Wifi.begin basic sample

Answering my own question, this was a power issue.
Powering from a power adapter and using rx0/tx0 to connect to the computer solved the issue.

Franck
by franck102
Fri Mar 13, 2020 4:28 pm
Forum: ESP32 Arduino
Topic: Core 0 panic on Wifi.begin basic sample
Replies: 1
Views: 4389

Core 0 panic on Wifi.begin basic sample

Hi all, I am getting a Core 0 IllegalInstruction crash in tx_pwctrl_init (or like below subcalls) when trying to call Wifi.begin(...) on my ESP32 devkit. The same code on a similar (but different supplier) module worked for me a couple days ago, I don't know what to try? The module is connected to t...
by franck102
Fri Mar 13, 2020 4:07 pm
Forum: ESP32 Arduino
Topic: ESPAsyncWebServer and C++Strings
Replies: 4
Views: 5887

Re: ESPAsyncWebServer and C++Strings

From the numerous posts about using std::String & malloc on chips with limited memory... I come from the Arduino, is this not an issue with the ESP32? Here is one example: https://hackingmajenkoblog.wordpress.com/2016/02/04/the-evils-of-arduino-strings/ I have already modifed my previous code to avo...
by franck102
Fri Mar 13, 2020 8:24 am
Forum: ESP32 Arduino
Topic: ESPAsyncWebServer and C++Strings
Replies: 4
Views: 5887

ESPAsyncWebServer and C++Strings

Hi all, After some googling around I settled on using the https://github.com/me-no-dev/ESPAsyncWebServer library to implement a small web server for a heat regulation unit. One concern however is that the template API of that library uses C++ Strings all around, I am wondering if that won't lead to ...
by franck102
Thu Mar 12, 2020 10:15 pm
Forum: ESP32 Arduino
Topic: Task delay without resetting the watchdog timer?
Replies: 2
Views: 6740

Re: Task delay without resetting the watchdog timer?

vTaskDelay() itself does not feed the Task Watchdog. It is the IDLE task that feeds the Task watchdog. Thanks, you made me realize two things - the pattern of a separatecontrol task is indeed better for my use case - I could in fact have used vTaskDelay in my task as written above, since as you rig...
by franck102
Thu Mar 12, 2020 6:19 pm
Forum: ESP32 Arduino
Topic: Task delay without resetting the watchdog timer?
Replies: 2
Views: 6740

Task delay without resetting the watchdog timer?

Hi all, I am new to ESP32 programming, coming from Arduino, and I am struggling with the task watchdog timer. The function below is a task handler, I am trying to init subsystems (SPIFFS, Wire...). I want to try the inits in a loop, with a short delay between attempts, and I want the watchdog to res...