OpenLog Artemis : solution to know the voltage of a battery

Hi !

I want to know the voltage of a battery using OpenLog Artemis to have the remaining percentage.

Is a solution implemented directly for that ? Or do I need to put a voltage sensor ?

Thank you !!

Bastien

Hi Bastien.

The OpenLog Artemis does have one analog input pin that’s limited to a voltage of 2 volts. As long as your battery is less than 2V, this would work and you can log voltage directly to the OLA. If it’s more than 2 volts, you would need to build a voltage divider that drops battery voltage down to a maximum of 2 volts and then do a bit of math on the log file to get the true battery voltage.

If you have another voltage sensor that outputs a serial string, that could be attached to the OLA and the OLA will log it’s output as-is.

Thank you for this reply