I have problem with my Heltec esp32 lora v2 device, it restart every time afer send lora packet to gateway.
I power device via usb micro, but distance from power to device is around 180 meters. I check voltage on the end of cables and it is 5.179V. If I connect and power device from computer usb port with 1m usb cable it works without problem.
I check my code and it restart after send lora packet to gateway. If I delete lora code device works. I use My code below:
I use heltec.h library:
Is the problem cable distance or what could be the problem?
Thank you and best regards