Canada
Asked
Resolved Resolved by DJ Sures!

Monitor PC Voltage

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.


Related Hardware Rock Pi X
Related Control Prevent PC Sleep

ARC Pro

Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

PRO
Synthiam
#1  

I don’t think you need to set up. The rock pi x only requires 5 volts.

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:)

PRO
Canada
#2  

I only had choice to select Rock PI (yes maybe a bad selection)  but as per comment I am using a NUC and that is 19v

PRO
Synthiam
#3  

Oh and the nuc needs 11v? Won’t run off 5?

then voltage divider to ARC it is

#5  

Not my area of expertise, but don't voltage dividers lose a lot of power to waste heat compared to a buck converter?  I imagine for a micro computer you don't need to worry too much about not being able to pull enough amps.

Alan

PRO
Canada
#6   — Edited

Today I have the following 12 volt battery driving the EZB with a voltage regulator that reduces voltage to 7.5v because my servo's run at 7.5v.  I have a Boost converter to PC that increases voltage to 19v because the NUC prefers 19v.  The NUC will die when voltage drops below 14v especially when using Cameras etc.  So what I need is a way to measure the voltage coming into the PC to know when it drops below say 16 volts so the Robot knows to go back to the charger.

User-inserted image

PRO
Synthiam
#7   — Edited

You need a voltage divider LOL

no current is being consumed. Make a voltage divider with the link I found and pasted for you. Connect it to ezb adc