Search found 4796 matches

by ESP_Sprite
Thu Jun 24, 2021 1:43 am
Forum: ESP32 Arduino
Topic: Dual Core task crashing even though same command works elsewhere
Replies: 1
Views: 40

Re: Dual Core task crashing even though same command works elsewhere

In general, you're calling the telegram bot code from multiple tasks. Are you sure this library is threadsafe / re-entrant? The library may not like getUpdates running on one core while sendmessage is running on the other at the same time. (A solution if it is not would be to use FreeRTOS mutexes to...
by ESP_Sprite
Thu Jun 24, 2021 1:33 am
Forum: ESP-IDF
Topic: Custom Board WIFI ISSUE
Replies: 1
Views: 42

Re: Custom Board WIFI ISSUE

Sounds like you have a brownout and your USB-serial bridge chip (or the ESP32S2 itself, if you're using internal USB) is falling off the USB bus. Make sure your power supply can deliver >=500mA on the 3.3V rails, and that the supply lines are sufficiently decoupled. If you have pics or schematics of...
by ESP_Sprite
Thu Jun 24, 2021 1:30 am
Forum: ESP-IDF
Topic: ESP32 OTA INFORMATION
Replies: 1
Views: 47

Re: ESP32 OTA INFORMATION

You can use esp_ota_get_next_update_partition() to figure out what the update partition that's going to be used is, then use esp_partition_erase_range(part, 0, part->size) to erase it. Duration typically depends on the size of the partition.
by ESP_Sprite
Thu Jun 24, 2021 1:24 am
Forum: Hardware
Topic: Flashing of firmware fails in Esp32 Wroom 32D
Replies: 3
Views: 169

Re: Flashing of firmware fails in Esp32 Wroom 32D

Okay, no bootup message means either that GPIO15 is connected to ground (unlikely to be the problem as that would not prevent you from flashing the device) or the ESP32 module itself is not booting at all for some reason. As this bootup message is emitted by ROM, it's not dependent on anything put i...
by ESP_Sprite
Thu Jun 24, 2021 1:17 am
Forum: General Discussion
Topic: GPIO max input/output current
Replies: 4
Views: 509

Re: GPIO max input/output current

This is true, especially since the relay is an inductive load, it may initially pull a lot more than 40mA. Better use a transistor.
by ESP_Sprite
Wed Jun 23, 2021 2:27 am
Forum: ESP-IDF
Topic: How to use ESP-MQTT in a correct way (event loop)?
Replies: 7
Views: 4954

Re: How to use ESP-MQTT in a correct way (event loop)?

You declare the client globally, but initialize it in e.g. your main function. Something like this:

Code: Select all

 static esp_mqtt_client_handle_t client;
 
 void app_main() {
 	client = esp_mqtt_client_init(&mqtt_cfg);
}

by ESP_Sprite
Wed Jun 23, 2021 2:04 am
Forum: ESP IoT Solution
Topic: ESP-Mesh vs ESP-Now vs ESP-WiFi-Mesh vs ESP-BLE-Mesh
Replies: 1
Views: 69

Re: ESP-Mesh vs ESP-Now vs ESP-WiFi-Mesh vs ESP-BLE-Mesh

ESP-WiFi-Mesh and ESP-Mesh are one and the same; from what I recall it was originally called ESP-Mesh but the WiFi got added to distinguish it from the BLE mesh we have. ESP-WiFi-Mesh is a proprietary algorithm; the way I read the Reddit post you mention is that the person tried to say that it's not...
by ESP_Sprite
Tue Jun 22, 2021 2:30 am
Forum: ESP-IDF
Topic: ESP IDF Version
Replies: 2
Views: 168

Re: ESP IDF Version

It almost looks like that message got corrupted... if you still have the log output, later versions of ESP-IDF also spit out their version later on, e.g. I (145) boot: Disabling RNG early entropy source... I (151) cpu_start: Pro cpu up. I (166) cpu_start: Pro cpu start user code I (166) cpu_start: c...
by ESP_Sprite
Tue Jun 22, 2021 2:24 am
Forum: ESP-IDF
Topic: esp32-c3 reboots repeatedly
Replies: 1
Views: 57

Re: esp32-c3 reboots repeatedly

If you can run menuconfig (SDK Configuration Editor in vscode, I believe), you can set the minimum revision your program should support under Component config -> ESP32C3-Specific -> Minimum Supported ESP32-C3 Revision. Set that to 2 and you should be good.
by ESP_Sprite
Tue Jun 22, 2021 2:12 am
Forum: Hardware
Topic: Flashing of firmware fails in Esp32 Wroom 32D
Replies: 3
Views: 169

Re: Flashing of firmware fails in Esp32 Wroom 32D

Hm, I can't see anything funky in your schematic... the 470 ohm resistors in series with the buttons certainly wouldn't be something I would do, but I don't think they are an issue here. Can you connect a serial terminal program to the serial port and see what the ESP32 sends on reset, with or witho...

Go to advanced search