
Anyone know of a good way to monitor power of the battery and feed voltage into ARC so I know when PC Is about to die? I monitor Power of EZB but I can't monitor power PC has. I share the same 12v battery for PC, Servo's EZB etc but I keep voltage at 7.5v for EZB with a voltage regulator and for the PC I use a step up converter. Step up converter starts to fail around 10.5v but EZB is still happy and doesn't record a voltage drop. End Result is PC on robot dies without making it back to dock on time to recharge battery.
Note: I used prevent PC sleep as question but really it is pc shutdown due to no power. I selected Rock PI X but using NUC but assume relevant.
The ezb adc port can monitor the voltage of you decide to continue using the step up. You’ll need a voltage divider circuit and voila
then voltage divider to ARC it is
Alan
no current is being consumed. Make a voltage divider with the link I found and pasted for you. Connect it to ezb adc
The LCD is optional.
https://www.electroschematics.com/arduino-digital-voltmeter/
Keeping a robot alive 24/7 is certainly an interesting problem.
while ironically listen to vinyl records as I type this...
or hibernate: https://synthiam.com/Support/javascript-api/Utility/sleepPCHibernate <- Requires a lot of HD space and energy
or suspend: https://synthiam.com/Support/javascript-api/Utility/sleepPCSuspend <- Requires battery still
But I think you'd want to use ShutDown. Because Hibernate should be disabled in your NUC for performance, energy consumption, and HD space. It's documented in the Storage and Performance tips: https://synthiam.com/Support/Install/free-space-with-windows-10
I am adding a relay board to turn off with an ESP at the moment including cutting Roomba battery for emergency stop (need a big red button) and also clear up roomba when it gets stuck in program mode and won’t talk to EZB. The JavaScript shutdown should work on PC. thank you then I can power off EZB say 5 minutes later.
still not quite at the point I am prepared to let it roam free yet but with the sealed lead acid battery, navigator, roomba dock, voltage monitor, object avoidance and auto charge, getting closer.