OpenXSensor SPORT Interface

Development & General Chat for the superb openxvario project.

Moderator: rainer

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXSensor SPORT Interface

Post by jhsa »

kalle123 wrote: Whole project looks very interesting, but at the moment a little too much for me.

OpenXSensor configurator also in linux !! But I am missing some simple documentation (for people like me ;) )
The configurator was released today for the first time, so I wouldn't expect a manual yet :mrgreen:

But I did try it and I can say that if you were able to configure the config.h file, then for sure you can configure the configurator. Have a look at it, play with it and you will see what I mean.. it's worth it :)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
KAL
Posts: 552
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: OpenXSensor SPORT Interface

Post by KAL »

Glad that it works now in principle.
"Set numberofcells to 0, so that no cell calculation is made." did not help at all. Don't see any voltages on Tanaris.
You only see something on the TX if you also send VOLT1 and VOLT2 to the TX.

Doubling mVoltPerStep is OK when your divider consists of 2 equal resistors.
Otherwise the factor is calculated as follows: f = (R1+R2) / R2 where R2 is the resistor between A1 and GND.

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: OpenXSensor SPORT Interface

Post by kalle123 »

@João. "Have a look at it, play with it and you will see what I mean.. it's worth it" Sure it is. Maybe this evening, when I have my beer :D

@Klaus "You only see something on the TX if you also send VOLT1 and VOLT2 to the TX." And where do I have to set this in oxs_config? At the moment I am exhausted .... :roll:

Thanx again for giving a hand Klaus.

(I think, I killed the drotek MS 5611. Connected the sensor to 5V on uno. AND THERE IS NO VOLTAGE REGULATOR ON THAT BOARD - s***!)

br KH
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXSensor SPORT Interface

Post by jhsa »

Oh nooo.. :( Sorry to read that :(

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
KAL
Posts: 552
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: OpenXSensor SPORT Interface

Post by KAL »

kalle123 wrote:... @Klaus "You only see something on the TX if you also send VOLT1 and VOLT2 to the TX." And where do I have to set this in oxs_config? At the moment I am exhausted .... :roll: ...
for example:
#define SETUP_DATA_TO_SEND \
...
FRSKY_USERDATA_ACC_X , VOLT1 , 1 , 1 , 0 , \
FRSKY_USERDATA_ACC_Y , VOLT2 , 1 , 1 , 0, \
...

Sorry to hear about your MS5611. I also have one here from Drotec. Same Problem. The MS5611 itself is a 3,3V device.
The breakout board from Drotec has no voltage adjustment for 5V. I want to test it with a 3.3V VR and some resistors but this has
to wait because the first two weeks of september vacation is on the to-do-list :mrgreen: .

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )

hageha
Posts: 213
Joined: Tue Dec 27, 2011 9:25 pm
Country: -
Location: Hildesheim

Re: OpenXSensor SPORT Interface

Post by hageha »

I have now made ​​even a simple design for a sensor with Alti / Vario and voltage display for 3 or 4 Lipo.
Additional voltage regulator stabilizes the input voltage to approximately 8 volts.
4 pieces, as XR and DR version working properly
http://www.ebay.de/itm/310862173882?_tr ... EBIDX%3AIT

http://www.ebay.de/itm/130839929399?_tr ... EBIDX%3AIT
Attachments
OPENXSENSOR_Best.pdf
(5.63 KiB) Downloaded 416 times
OPENXSENSOR_V_AL-10.pdf
(5.06 KiB) Downloaded 401 times
openXsensor3_4.pdf
(28.67 KiB) Downloaded 398 times
K800_DSCI2170.JPG
K800_DSCI2169.JPG
Last edited by hageha on Sun Aug 24, 2014 2:31 pm, edited 1 time in total.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXSensor SPORT Interface

Post by jhsa »

That looks very good Hans.. And as small as an arduino. Beautiful. Thank you.

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXSensor SPORT Interface

Post by jhsa »

let me just add that you don't connect the ground between the arduino and the receiver. connect just the s port data pin. the ground is already at the receiver through the battery cables. This avoids ground loops.

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: OpenXSensor SPORT Interface

Post by kalle123 »

What the aim of C3 (100nF) between A3 and GND?

br KH
hageha
Posts: 213
Joined: Tue Dec 27, 2011 9:25 pm
Country: -
Location: Hildesheim

Re: OpenXSensor SPORT Interface

Post by hageha »

Ubatt is due to the pulse load by the motor / ESC not "clean".
By "C3" the disturbances are somewhat filtered.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXSensor SPORT Interface

Post by jhsa »

yep it's a filter capacitor.. It smoothes the signal a bit..


João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Fredexx
Posts: 3
Joined: Thu Jan 09, 2014 2:15 pm
Country: -

Re: OpenXSensor SPORT Interface

Post by Fredexx »

hageha wrote:After I built several openXsensors represents for me the following question:
Is it possible to build a sensor switchable for both systems, eg with a jumper? (XR-DR receiver)
In the future I want to avoid getting to reprogram and use a new heat shrink tubing
I have just the wrong sensor for the new receiver.
Here is a board I made which allows conection to either X or D receivers with pin out for ppm sensitivity adjustment. It also has analog filter built in for A1 or A2 when used with D series , and also interface for KK vario and other frsky vario as detailed in KK vario thread. Just load whichever sketch you need and make appropriate connections.(shown attached to TX for KK configuration).
Attachments
IMG_0990[2].jpg
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: OpenXSensor SPORT Interface

Post by kalle123 »

KAL wrote:for example:
#define SETUP_DATA_TO_SEND \
...
FRSKY_USERDATA_ACC_X , VOLT1 , 1 , 1 , 0 , \
FRSKY_USERDATA_ACC_Y , VOLT2 , 1 , 1 , 0, \
...

Sorry to hear about your MS5611. I also have one here from Drotec. Same Problem. The MS5611 itself is a 3,3V device.
First of all good news, the Drotec MS5611 somehow survived. GY-63 module is still on the way between HK and Germany. So I am still playing here with my breadboard.

Tried to do it the easy way, so I used oxs configurator for setup.
Looks fine, see both cells of the 2S lipo on Taranis
Looks fine, see both cells of the 2S lipo on Taranis
Then added cells monitoring
Added cells monitoring in oxs configurator
Added cells monitoring in oxs configurator
Only cell #1 and 0.0 on right side
Only cell #1 and 0.0 on right side
Cells, #1 and #2
Cells, #1 and #2
Telemetry setting Taranis
Telemetry setting Taranis
Any help appreciated.

br KH
mstrens
Posts: 1435
Joined: Fri Dec 27, 2013 7:49 pm
Country: -

Re: OpenXSensor SPORT Interface

Post by mstrens »

@Kal,
You are measuring 2 voltages (ok).
Both are measured using the same ground.
Voltage 1 probably do not use a voltage divider because it is less than Vcc (about 5 volt).
So you get on AccX a value 3.79 that is OK I presume.

You have an error on voltage 2.
I presume that for voltage 2 you have build a voltage divider. This is mandatory because the voltage between ground and second cells could be 8.4 volts what is more than Vcc.
When you use a divider, you have to specify a value other than 1 in the divider factor for Volt 2.
If you put the right value for the voltage divider, you should get in AccY a higher value (e.g. 7 or 8 volt).
OXS calculates automatically the difference between voltage 2 and voltage 1.
If the difference is "normal" (say positive and between 1 and 5 volt), then OXS will transmit it to tx and you will see it on the Tx display. Otherwise, OXs sent 0. That the case with you set up because OXS consider that voltage 2 is lower than voltage 1 (due to the wrong divider).

Note: normally voltage 1 and 2 have to be calculated in millivolt if you want that the difference is in the expected range. Personnally, I transmit the voltages to control in the fields Temp1 and Temp2 because for those 2 fields, openTx displays exactly the value he get from OXS. So If OXS calculates a voltage 1 equal to 3792 millivolt, you will see exactly this value on the TX. That is perhaps not the case if you use accx and accy because I see a value 3.79 for accx.

Note: it is always safe to control that the values you get on Tx for volatge 1 and voltage 2 are the right one. To achieve this, compare the values on Tx with those measured with a voltmeter. It can be that you have to adapt a little the divider factor and/or the offset. For maximum accuracy, this can be done for different values of voltage (E.g. with a lipo that is full and one that is nearly empty)
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXSensor SPORT Interface

Post by davx »

@Kalle123,

To understand better, how did you connect the voltages measured to OXS ? (schematics)

Thanks.
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: OpenXSensor SPORT Interface

Post by kalle123 »

I slowly get the impression, that stupidity is with me....
2S Lipo to arduino uno. Omitted MS5611 and D4R-II.
2S Lipo to arduino uno. Omitted MS5611 and D4R-II.
So, how do I have to make the settings in oxs configurator for cell #2?

Voltage divider is (with additional 10k trim poti) now 2k to 1.67k.

Sorry for my stupid questions, but as mechanical engineer I am always better in screws and bearings ...

br KH
mstrens
Posts: 1435
Joined: Fri Dec 27, 2013 7:49 pm
Country: -

Re: OpenXSensor SPORT Interface

Post by mstrens »

kalle123 wrote:I slowly get the impression, that stupidity is with me....
7.jpg
So, how do I have to make the settings in oxs configurator for cell #2?

Voltage divider is (with additional 10k trim poti) now 2k to 1.67k.

Sorry for my stupid questions, but as mechanical engineer I am always better in screws and bearings ...

br KH
You schema is not bad but:
- R3 and R4 are not required. It would be better to take them out and to connect A0 to V1 and A1 to the mid point between R1 and R2
- the values for R1 and R2 could be higher (e.g. 10k or 15 k instead of 2k). This would reduce a little the consumption. This is not critical, so if you want you can keep them.

If you take R3 and R4 away, the divider factor that you have to enter in the configurator for the voltage 2 is equal to 2 (because (R1 + R2)/R2 = 2)
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: OpenXSensor SPORT Interface

Post by kalle123 »

The aim of having those 10 k trim potentiometers in was to be able to try this here out....

- set the values in excel (or on a graphic) and calculate the best values for mVoltPerStep and offset (using a linear regression)
// If this seems to complex, just use 2 voltages as different as possible (but in the range of the normal values you want to measure)
// and apply calculation based on following example: .
// I expect voltage to be normally between 4 volt and 6 volt, so I apply 2 voltages close to those values to End point
// - for first voltage, voltmeter gives 3510 millivolt and telemetry gives 533
// - for secong voltage, voltmeter gives 5900 millivolt and telemetry gives 904


So at the moment my divider factor is (hope I calculated that right ;) ) 1.83

But those factors in oxs confgurator only accept integer values. OK, if I skip those trim potentiometers and have a symmetric voltage divider, I put divider factor 2 in and that is it!? (Can test this evening ...) But then how to use multiplier and offset in oxs configurator?

Badly waiting for a detailed instruction on https://code.google.com/p/openxsensor/wiki/

br KH
ReSt
Posts: 1581
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: OpenXSensor SPORT Interface

Post by ReSt »

kalle123 wrote:
So at the moment my divider factor is (hope I calculated that right ;) ) 1.83
Resistors R2 and R4 are in parallel so the total for these two is (R2 x R4) / (R2 + R4)
(2k x 10k) / (2k + 10k) = 20K/12K = 1.666k

The divider relation is (R1+ (R2 parallel R4) ) / (R2 parallel R4)
(2k + 1.666k) / 1.666k = 3.666k / 1.666k = 2.2

This is the divider if your poti slider is at the maximum
It increases the more you move the slider down to the ground connection.

Reinhard
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: OpenXSensor SPORT Interface

Post by kalle123 »

Ok Reinhard. s*** happens :o

But 2.2 is not integer. So the rest of my questions still open.

br KH
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXSensor SPORT Interface

Post by davx »

Hi,
kalle123 wrote: Badly waiting for a detailed instruction on https://code.google.com/p/openxsensor/wiki/
It will come, be patient ;)
But 2.2 is not integer. So the rest of my questions still open.
I don't understand your remark as the divider factors have 2 decimals precision...
OXSC_Volts.jpg
Bye.
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: OpenXSensor SPORT Interface

Post by kalle123 »

I was looking here
10.jpg
for the factors :o

Best, I keep my mouth shut and wait for the documentation. What to do where ...

Thanx and a nice evening.

KH
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXSensor SPORT Interface

Post by davx »

kalle123 wrote:Best, I keep my mouth shut and wait for the documentation. What to do where ...
No, no, you can ask what you want, your kind of questions can help to make documentation ;)

About the dividers, those in the voltages tab affect the measurements directly and those in the Data sent tab affect the transmitted value.

I will provide example of use in the future wiki.

Bye.
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: OpenXSensor SPORT Interface

Post by kalle123 »

Hi.

Did not change the circuit
7.jpg
but hopefully placed the right factor on the right position :D
15.jpg
My DVM tells me, I am sending 3.8 V to A0 and 3.5 V to A1. R3 + R4 on 100%.
The 2 values in the right corner, is that ACC X and ACC Y? OK. The 2nd 3.78 V to measured 3.5 V could be a thing of adjustment.
The 2 values in the right corner, is that ACC X and ACC Y? OK. The 2nd 3.78 V to measured 3.5 V could be a thing of adjustment.
So, this looks good so far ...
So, this looks good so far ...
I reduced with R3 voltage to A0 a little. ACC X reduced, but Cells stays ? and ACC Y stays ? Does not make sense to me ...
I reduced with R3 voltage to A0 a little. ACC X reduced, but Cells stays ? and ACC Y stays ? Does not make sense to me ...
Did NOT touch R3 and R4! What is the value now for ACC Y? 7.57 V or 4.99 V  ?
Did NOT touch R3 and R4! What is the value now for ACC Y? 7.57 V or 4.99 V ?
R3 and R4 on 100% and then reduced R4 (voltage to A1) a little.
R3 and R4 on 100% and then reduced R4 (voltage to A1) a little.
???
???
br KH
mstrens
Posts: 1435
Joined: Fri Dec 27, 2013 7:49 pm
Country: -

Re: OpenXSensor SPORT Interface

Post by mstrens »

Accx depends on the voltage applies on pin A0.
When you change R3, it is normal that AccX decreases.

AccY depends on the voltage between ground and cells 2 (so the total voltage of the battery). It is normal that this voltage does not change when you reduce R3 (because it depends only on V2, R1, R2 and R4).

Those are the 2 values that are first measured by OXS.
Then OXS calculates values for cell1 and for cell2 by difference
Cell1 = AccX = 2.58
Cell2 = AccY - AccX = 7.57 - 2.58 = 4.99
The values for Cell1 and Cell2 are sent to Tx and it is the Tx that recalculate the "Cells" value (summing Cell1 and Cell2) so getting 7.57 (rounded to 7.5).

So it normal that total voltage (= Cells) remains unchanged when R3 is changed.

When you change R4, this has an impact on the voltage on pin A1 so on what is considered as the total voltage (Accy). So it has also an impact on the calculated Cell2 voltage.

Is this explanation clear for you.
davx
Posts: 210
Joined: Sun Sep 15, 2013 7:01 am
Country: -

Re: OpenXSensor SPORT Interface

Post by davx »

Hi,
kalle123 wrote: but hopefully placed the right factor on the right position :D
Yes, this screen is right.


Image
What you see in the right corner of the screen is the cells values, not ACCx.

And mstrens beat me to the answer...

Bye.
mstrens
Posts: 1435
Joined: Fri Dec 27, 2013 7:49 pm
Country: -

Re: OpenXSensor SPORT Interface

Post by mstrens »

kalle123 wrote:The aim of having those 10 k trim potentiometers in was to be able to try this here out....

- set the values in excel (or on a graphic) and calculate the best values for mVoltPerStep and offset (using a linear regression)
// If this seems to complex, just use 2 voltages as different as possible (but in the range of the normal values you want to measure)
// and apply calculation based on following example: .
// I expect voltage to be normally between 4 volt and 6 volt, so I apply 2 voltages close to those values to End point
// - for first voltage, voltmeter gives 3510 millivolt and telemetry gives 533
// - for secong voltage, voltmeter gives 5900 millivolt and telemetry gives 904

Sorry if the explanation is not clear. It seems that you are not the first one that do not understand this section.
The calibration consists normally of several steps for each voltage.
Note: it is also possible to combine several voltages in one step but it becomes more complex to explain.

Imagine that you want to calibrate Voltage 2 (using the schema you provided but without the 2 pot).
In a first step, you load in OXS a dummy set up just to check the raw data read by the arduino and so calculate the parameter(s) in order to get the expected result.
Therefore, in the config.h file, you first set e.g. :
- the parameter MVOLT_PER_STEP_2 to 1
- the parameter OFFSET_2 to 0
- a line (for the data to transmit) with: T1 , VOLT2 , 1 , 1 ,0 , \
Then OXS will transmit as temperature 1 the value that arduino read on pin A1 without any conversion.
Note: using T1 as telemetry field has the advantage that you can read on the TX the full value (without rounding or decimal)
This value will be between 0 ( when there is 0 volt on arduino pin), and 1023 (when arduino pin get Vcc or higher) because the arduino analog to digital converter has 1023 steps.
While OXS , RX and Tx are running, you have to measure the voltage of your battery with a voltmeter (e.g. imagine you read 7.612 volt between ground and the second cell ; so not between cell1 and cell2).
At the same time you have to read the value you get on your Tx as temperature 1 (e.g. 567 so meaning 567 steps).
Now, you can easily calculate the value for parameter MVOLT_PER_STEP in order to get finally the right value on the Tx. In this example, the right value for MVOLT_PER_STEP_2 has to be 7612/ 567 = 13.425.
If you change your config.h file using "#define MVOLT_PER_STEP 13.425" and if you reload the program into the arduino, making the same test, OXS will read the same number of steps (e.g. 567) but it will multiply it by 13.425 before sending it to the Tx. So Tx will get the expected value 7612.
This 2 step process allows you to get the right result even if the resistors and/or the arduino Vcc does not have exactly the expected values (due to tolerance on the component).

In most of the cases, this will already be quite good but still it could be that it does not give you the most accurate measurements that you could get.
The reason is that arduino is not always 100% linear on the whole range.
It is possible to partly compensate this using the OFFSET_x parameter and changing just a little MVOLT_PER_STEP .
If during the first step (see here above), you apply several voltages (e.g. using once a full loaded and once a nearly empty battery) and for each you measure the exact voltage with a voltmeter and at the same time you read the number of steps reported by the Tx (on the temperature 1 filed e.g.), then you can calculate the best values for OFFSET and MVOLT_PER_STEP (see my explanation in the config.h file).

When this is done for one voltage (e.g. voltage2), you can repeat the process for each of the other process.

When all voltages will be OK, the voltages of each cell will be OK also because they are just calculated by difference.

Please note that with the schema you made, it makes no sense to modify R4 to calibrate voltage 2 because changing R4 does not only change the voltage applied to arduino pin, it also changes the divider factor and so the MVOLT_PER_STEP that you should have to apply.
If order to change the voltage without changing the divider factor, you should have to:
- put R4 directly between V2 and ground.
- connect the upper pin of R1 to the mid pin of R4
- connect the lower pin of R1 (= higher pin of R2) to A1.
Ten, with you voltmeter, you must measure the voltage between mid pin of R4 and ground and adjust the parameter in order to get this back on your Tx.

It is just because this part was quite complex that Davx prefers to present it in a different way in the configurator.
The configurator let you set up a divider factor (based on the resistors) and Vcc and calculates the MVOLT_PER_STEP to be put in the cong.h file.
Working so is normally good but not as optimal as the method I described.

I hope this help you to understand and not make you more confuse.
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: OpenXSensor SPORT Interface

Post by kalle123 »

Sorry, the fault is with me. I blush!

My circuit is not OK for testing!. Reducing voltage to A0 with R3 DOES NOT reduce the total lipo voltage! That is my fault.

Thank you both. @mstrens. For going through your extensive explanation, I will need a beer this evening!

I will modify my circuit to your proposal....

br to you both - KH
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: OpenXSensor SPORT Interface

Post by kalle123 »

Had my beer ;)

Thinking my faulty circuit over and taking your tip as advice mstrens, I think to modification should be like that
15.jpg
OK?

But maybe I skip the whole calibration thing and wait for the documentation of oxs configurator voltage sensor..

br and a nice evening - KH
mstrens
Posts: 1435
Joined: Fri Dec 27, 2013 7:49 pm
Country: -

Re: OpenXSensor SPORT Interface

Post by mstrens »

kalle123 wrote:Had my beer ;)

Thinking my faulty circuit over and taking your tip as advice mstrens, I think to modification should be like that
15.jpg
OK?

But maybe I skip the whole calibration thing and wait for the documentation of oxs configurator voltage sensor..

br and a nice evening - KH
Sorry but your schema is not correct or at least does not match what I expect you need.

I presume that you want to measure a lipo with 2 cells.
When you use such a lipo, the 2 cells are internally connected in such a way that the positive pin of cell1 is connected to the negative pin of cell2.
If you look at the balance connector of a 2s lipo you will have 3 pins;
- one is the ground (= negative from cell1)
- one is just the positive of cell1 being also the negative of cell2
- the last one is the positive of cell2

So you schema should connect only on those 3 pins.

If this is unclear, I can make a schema but I do not have directely a tool for it so it will take a little time.
If you want it, just let me know and I will do it.

Post Reply

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