HiLetgo board will run bluetooth code only when USB is connected
Posted: Wed Mar 06, 2019 4:25 am
I am using the ESP32 board from HiLetgo https://www.amazon.com/gp/product/B0718 ... UTF8&psc=1
I have been trying to isolate an issue with Bluetooth not booting correctly when I power from an external 5v, but it starts correctly when the USB is connected. When I disconnect the USB it continues to work correctly.
To test I wrote a simple c++ app (IDF) that just turns the GPIO02 LED on an off and then allows me to turn this on an off via BLE. If I disable the code for the Bluetooth it will boot correctly from the external 5v (5v 10A power supply) but when I enable bluetooth and power up again the LED still flashes but no Bluetooth. If I then connect the USB then Bluetooth starts.
I am sure it is probably related to the initial current surge when the bluetooth is enabled but I am perplexed on how to get it to work just using external power.
I have been trying to isolate an issue with Bluetooth not booting correctly when I power from an external 5v, but it starts correctly when the USB is connected. When I disconnect the USB it continues to work correctly.
To test I wrote a simple c++ app (IDF) that just turns the GPIO02 LED on an off and then allows me to turn this on an off via BLE. If I disable the code for the Bluetooth it will boot correctly from the external 5v (5v 10A power supply) but when I enable bluetooth and power up again the LED still flashes but no Bluetooth. If I then connect the USB then Bluetooth starts.
I am sure it is probably related to the initial current surge when the bluetooth is enabled but I am perplexed on how to get it to work just using external power.