DroneBridge / ESP32

DroneBridge for ESP32. A secure & transparent telemetry link with support for WiFi and ESP-NOW. Supporting MAVLink, MSP, LTM or any other protocol
https://dronebridge.github.io/ESP32/
Apache License 2.0
382 stars 107 forks source link

Wifi crashing on ESP32-C3 on release v2.0RC1 #82

Closed sierrayankee18 closed 2 months ago

sierrayankee18 commented 3 months ago

Hello,

I have been flashing v2.0 on esp32 c3 using online flasher at correct address, but every 20 to 25 seconds the wifi gets disconnected and again connects after a minute or so. The firmware seems to be crashing i am trying build a drone swarm but need long range . please provide a way out to connect 4 drones to a router for long range communication with esp32 c3 modules

thymjan commented 3 months ago

Hi, I observe similar problems. I'm also using an esp32-c3 with v2.0 firmware. In AP-Mode I changed the settings to Client-Mode. The esp32-c3 connects to my home network. GUI is still usable. As soon as I connect to QGroundControl (TCP) the esp32-c3 crashes and stays in an unconnectable Mode, even after resetting. I have to erase the esp32-c3 and flash the firmware again to be able to connect to the gui.

But this is working (very stable) with an "normal" ESP32!

The actual esp32-c3 firmware seems to corrupt its memory.

sierrayankee18 commented 3 months ago

Hi Stefan.

You are right the esp32C3 fw seems to be corrupt or something else.

If you find a solution for long range mode air and ground please share.

Regards Shravan Yadav

On Sun, 30 Jun 2024, 18:29 Stefan Theurer, @.***> wrote:

Hi, I observe similar problems. I'm also using a esp32 c3 with v2.0 firmware. In AP-Mode I changed the settings to Client-Mode. The esp32-c3 connects to my home network. GUI is still usable. As soon as I connect to QGroundControl (TCP) the esp32-c3 crashes and stays in an unconnectable Mode, even after resetting.

But this is working (very stable) with an "normal" ESP32!

The actual esp32-c3 firmware seems to corrupt its memory.

— Reply to this email directly, view it on GitHub https://github.com/DroneBridge/ESP32/issues/82#issuecomment-2198554996, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHZ5NI4GLNBUEPVLAP467QTZJ76KHAVCNFSM6AAAAABJVNFENCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGU2TIOJZGY . You are receiving this because you authored the thread.Message ID: @.***>

thymjan commented 3 months ago

version 1.5 seems to be alright, but without the esp-now function.

sierrayankee18 commented 3 months ago

Yes I'm using that, but I'm looking to use it for long range like 1000mtr. Let me know if any solution is available

On Sun, 30 Jun 2024, 20:13 Stefan Theurer, @.***> wrote:

version 1.5 seems to be alright, but without the esp-now function.

— Reply to this email directly, view it on GitHub https://github.com/DroneBridge/ESP32/issues/82#issuecomment-2198585383, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHZ5NI2KYB7V2BSPPHDU7OTZKAKPNAVCNFSM6AAAAABJVNFENCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGU4DKMZYGM . You are receiving this because you authored the thread.Message ID: @.***>

seeul8er commented 3 months ago

@thymjan Thank you for investigating! I will look at it.

sierrayankee18 commented 3 months ago

@thymjan Thank you for investigating! I will look at it.

Hii,

I am gonna use it for long range telemetry. In client mode there is a failsafe feature which gets activated when access point is unreachable for 25 seconds and switches to failsafe access point mode. Can we add a option to turn on and off this failsafe feature in GUI, cause sometime its required and sometime its not. I think a option will be good.

Regards

seeul8er commented 3 months ago

@sierrayankee18 Please open a new issue to discuss that topic

seeul8er commented 2 months ago

Please check the latest pre-release v2.0RC2 if the issue is fixed

seeul8er commented 2 months ago

@sierrayankee18 Still crashing?

seeul8er commented 2 months ago

Are you using GPIO9 or 8? Those seem to be problematic

sierrayankee18 commented 1 month ago

Yes I'm using the 9 and 10 pin for data and it's crashing

On Sat, 3 Aug 2024, 21:54 Wolfgang, @.***> wrote:

Closed #82 https://github.com/DroneBridge/ESP32/issues/82 as completed.

— Reply to this email directly, view it on GitHub https://github.com/DroneBridge/ESP32/issues/82#event-13750617506, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHZ5NI6AB2WEX45BBILSBGLZPT75HAVCNFSM6AAAAABJVNFENCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTG42TANRRG42TANQ . You are receiving this because you were mentioned.Message ID: @.***>

seeul8er commented 1 month ago

There was a documentation error. Do not use GPIO9. I recommend to use GPIOs 4 & 5 instead for TX and RX of the UART. The docs were updated accordingly.