I have used these boards to control my outdoor light etc.
i have connected them with solar cells and 18650 battery with charger module as instructed in Learn ESP32 for Arduino.
everything has been working perfectly for a month until the battery runs out of power.
after that I cannot contact the board over USB
the first time it happened I thought it was a bad board
but today it happened again with two boards running out of power
no sun in DanmarK 🙁
it may be a problem that they get power through the lithium battery. Connecting even if they write is ok?
I’m sorry, but I’m not sure if I really understood your question.
You’re saying that after the battery run out, you are not able to power the boards via USB?
What power supply are you using?
After powering the boards again, you need to press the RST button for the program to start running.
the board is sitting outside ans is power by Solar cell and 18650 batteri , now the power is low and the board is stop working.
I take it inside and connect it to my pc via USB … no connection?? (2 boards today and 1 for a month ago)
the strange thing is that the PC detects that there is something in the USB port and Arduino is trying to open the port and upload data
If you select the Serial Port and open the serial monitor, do you get any messages on the serial monitor?
And after pressing the RST button?
no it is as if the board is in a hibernation state.
the red battery charge light is on
i can open serial monitor in arduino without error so arduino sees there is a board.
if i try to upload to the board i can see arduino trying to connect but get the time out.
Are the boards running a sketch with deep sleep?
If so, you need to press the RST button to wake them up, and try to upload code straight away to catch them awake. Sometimes, it can be very difficult uploading code to a board that is running deep sleep.
If this is not the issue, I’m out of ideas of what might be causing this problem 🙁
thanks for the help
I have contacted LILYGO then we will see what they find out