Timer Camera F
-
I'm having trouble with a Timer Cam F. I am using Arduino and a quite straightforward code with the ENV PRO sensor. Basically, it just logs to Arduino Cloud every 30 seconds.
The thing I don't understand is I'm connected to USB on laptop, everything is fine connects to Wi-Fi logs details, serial mon is okay, etc. I disconnect from laptop and leave connected to a standalone usb power supply and after a period of hours it stops. I hold the reset button, unplug and plug into the USB charger and still no sign of life.
I connect back to the laptop and it starts up again. No reflash, all fine. I disconnected from laptop and plugged back into the charger and it stopped again (straight away this time). What I'm wondering is if, although connected to the USB charger it is running on battery unless connected to the laptop, when it runs on power/charges battery. The charger is definitely okay.
Any thoughts welcome? I just want it to stay on and take power from standalone charger.
Update: Lasted about 2 and a half hours. Then nothing, plugged it into laptop waited for a few minutes and sprung back into life.
Bat Level: 27%
The battery was at 100%. Now charging from laptop and back to 40%. It was connected to an external charger, so why won't it accept charge (only takes from laptop)? -
@gavin67890 [Groan] Bad USB lead out of the packet!
But in case it helps others:
This helped identify the issue:Serial.printf("Bat Voltage: %dmv\r\n", TimerCAM.Power.getBatteryVoltage()); Serial.printf("Bat Level: %d%%\r\n", TimerCAM.Power.getBatteryLevel()); delay(1000);