OpenXSensor 2 batteries with 2 cells voltage problem
Moderator: rainer
OpenXSensor 2 batteries with 2 cells voltage problem
Hello,
I have 2 batteries with 2 cells each one.
Is it possible to measure voltage of each cell separately?
When I try to do it, I just get the values of first battery cells fine, but when I try to get the values of the second battery (1st cell) It shows a wrong value because It's trying to get this value like "a 3rd cell" of the first battery minus the value of the 2nd cell of the first battery"
How can I do it cell by cell with 2 batteries and not only 1 battery?
Can you help me with oXs config files??
Thanks in advance
I have 2 batteries with 2 cells each one.
Is it possible to measure voltage of each cell separately?
When I try to do it, I just get the values of first battery cells fine, but when I try to get the values of the second battery (1st cell) It shows a wrong value because It's trying to get this value like "a 3rd cell" of the first battery minus the value of the 2nd cell of the first battery"
How can I do it cell by cell with 2 batteries and not only 1 battery?
Can you help me with oXs config files??
Thanks in advance
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: OpenXSensor 2 batteries with 2 cells voltage problem
I assume you mean two batteries in serial. How do you have the balance plugs connected?
Do you have two sensors setup, one for each battery?
If so, they need to have two different ids.
Do you have two sensors setup, one for each battery?
If so, they need to have two different ids.
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
Re: OpenXSensor 2 batteries with 2 cells voltage problem
A bit more information is needed.
Please make a drawing of the wiring, you plan to use.
And what hardware (RX - TX) are you using?
But, as Dean says, I would also go for two oXs sensors.
br
Please make a drawing of the wiring, you plan to use.
And what hardware (RX - TX) are you using?
But, as Dean says, I would also go for two oXs sensors.
br
Re: OpenXSensor 2 batteries with 2 cells voltage problem
Can you first explain how are your batteries connected
- in serie so making a 4S battery
- in parallel so making a 2S
- only with a common ground (e.g. to make a backup system)
- in serie so making a 4S battery
- in parallel so making a 2S
- only with a common ground (e.g. to make a backup system)
Re: OpenXSensor 2 batteries with 2 cells voltage problem
I add a drawing, trying to explain it better.
They have a common ground.
Thank you!
ABBC3_SPOILER_SHOW
Thank you!
Re: OpenXSensor 2 batteries with 2 cells voltage problem
As proposed two sensors with different sensor ID is the way to go. If you want to stay with one sensor, you can make a workaround with an ADS1115 using it's two differential inputs for the second battery transmitting the cell voltages in A3 and A4 field for example. A calculated sensor can be used for the total voltage of the second battery.
Re: OpenXSensor 2 batteries with 2 cells voltage problem
With your config, oXs can measure 4 voltages:
- cell 1 of battery 1
- total of cell1 + cell2 of battery 1
- cell 1 of battery 2
- total of cell1 + cell2 of battery 2
This is done defining 4 pins for voltage measurement.
Based on this oXs can calculate voltage of cell2 (by differerence between total and cell2) but only for one the battery (the one connected to the VOLT1 and VOLT2 pins). You have to declare that there are 2 cells in your config.
oXs can't currently calculate the voltage of cell2 of battery 2 but you can let opentx calculate it on Tx side if you ask oXs to send the 2 voltages measured by oXs for battery 2.
Otherwise, as said before you can use 2 oXs with different ID.
- cell 1 of battery 1
- total of cell1 + cell2 of battery 1
- cell 1 of battery 2
- total of cell1 + cell2 of battery 2
This is done defining 4 pins for voltage measurement.
Based on this oXs can calculate voltage of cell2 (by differerence between total and cell2) but only for one the battery (the one connected to the VOLT1 and VOLT2 pins). You have to declare that there are 2 cells in your config.
oXs can't currently calculate the voltage of cell2 of battery 2 but you can let opentx calculate it on Tx side if you ask oXs to send the 2 voltages measured by oXs for battery 2.
Otherwise, as said before you can use 2 oXs with different ID.
Re: OpenXSensor 2 batteries with 2 cells voltage problem
I have an FrSky SPort
Thank you!
Thank you!