Single voltage measurement problem

Development & General Chat for the superb openxvario project.

Moderator: rainer

Post Reply
onki
Posts: 40
Joined: Tue May 14, 2013 8:34 am
Country: -

Single voltage measurement problem

Post by onki »

Hi
I am using an ACS758 with my sequencer project and found a little problem with the configuration.
The files are attached.
A0 is used for the current sensor, A1 measures the battery voltage using a 47k/10k voltage divider.
When is set:

Code: Select all

#define NUMBEROFCELLS 0
I don't get a battery voltage parameter transmitted.
When I set it to 1 it works but with 2 additional parameters (lowest cell voltage, cell voltage). But "Revolution" (rpm) is no longer available then.

In another setup it worked well when I set the cell voltages to zero

Any idea what is wrong? It is not a problem with the cell number 1 but I want to understand why it does not work with zero cell setting.

Best regards
Onki
Attachments
oXs_config_advanced.h
(19.25 KiB) Downloaded 233 times
oXs_config_basic.h
(11.17 KiB) Downloaded 355 times

Post Reply

Return to “OpenXVario - an open source vario supported by the open source firmwares!!”