Robotics StackExchange | Archived questions

Battery Monitor

I have a home built robot using a pc board, and not using a laptop computer. I have lithium battery running everything. I would like to add a battery monitor hardware and use ROS to monitor it. Has anyone accomplished something like this? Thank you!

Asked by Morpheus on 2015-11-01 09:27:39 UTC

Comments

Thanks Christian I will give it a try and let you know how works out. Thanks again!

Asked by Morpheus on 2015-11-01 21:56:15 UTC

Answers

Hi,

I've added this weekend such feature for my robot, using an Arduino NANO. The Arduino uses internal ADC and writes current voltages via USB to the ROS computer. A simple ROS-ArduPowerDaemon collects all messages from the device and publishes it as topics. Additional, I write all values to /tmp/ups-dummy, which can be used be a standard UPS-Deamon to shutdown the system.

This week I will update the docs for my robot.

Please see: https://github.com/mockbot/MockBot

Cheers Christian

Asked by ChriMo on 2015-11-01 17:29:03 UTC

Comments