Omron HVC-P2 icon Omron HVC-P2 — Omron HVC-P/HVC-P2 ARC plugin: Python-based camera integration for body, hand and face detection, gaze, age/gender, expressions and face recognition. Try it →
Canada
Twitter
Asked
Resolved Resolved by DJ Sures!
Monitor PC voltage

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 (view all EZB hardware)
Rock Pi X by Radxa
ROCK Pi X runs Synthiam ARCx as an onboard x86 robot brain for browser control, vision, voice, scripts and EZB I/O.
Wi-Fi / USB
Servos ✕
Camera
Audio
UART ✕
I2C
ADC ✕
Digital ✕

Related Robot Skill (view all robot skills)
Prevent PC Sleep by Synthiam
Prevents a PC from entering sleep mode via a tiny, resizable control-keeps the system awake while minimizing UI real estate

ARC Pro

Upgrade to ARC Pro

Unleash your robot's full potential with the cutting-edge features and intuitive programming offered by Synthiam ARC Pro.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#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:)

Author Avatar
PRO
Canada
Twitter
#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

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#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

Author Avatar
PRO
Canada
Twitter
#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

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#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