Hello,
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:
LoRa.beginPacket();
LoRa.setTxPower(14,RF_PACONFIG_PASELECT_PABOOST);
LoRa.setSpreadingFactor(7);
LoRa.print(distance);
LoRa.print(",");
LoRa.print(FloatSensorState);
LoRa.endPacket();
I use heltec.h library:
#include “heltec.h”
Is the problem cable distance or what could be the problem?
Thank you and best regards