Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

+BAT input dumb question
#6

(18-12-2018, 20:58)41south Wrote:  And the other question is how to properly calibrate it to read the correct voltage. Mine reads under by quite a bit so I suspect I need to play around with the resistor values?

I think there is a simpler way...

Indeed the precision of the reading depends mainly of the precision of R4 and R5 resistors, as also the precision of the internal reference of the ADC, which you can't control. Even using 1% resistors they always have some tolerance. However there is a way to calibrate the Bat voltage reading to a very acceptable level, without touching in anything.

-Supposing you have a good precision voltmeter, measure voltage at the +Bat pin.
- Compare the reading with the value given by the Pro2 Plus receiver. They differ by more than 0.1V?
- Then find this line of code on the Pro2 PLUS RX or Pro2 Compact software:

Code:
TX_Unit[TX_UnitID].BatVolt        = (int)(((RX_Data[1] * 20.23) / 1024) * 100.0);

Adjust the value of 20.23, raising or lowering it until you get a Battery Voltage reading as close as possible to the measured with the voltimeter.
Theoretically the value should be 20.00, the value of 20.23 is the one that works better for me, but due to the reasons explained above it may be different for each one.

Reply


Messages In This Thread
+BAT input dumb question - by WetCoast - 16-12-2018, 19:54
RE: +BAT input dumb question - by jarekh3 - 16-12-2018, 20:18
RE: +BAT input dumb question - by WetCoast - 16-12-2018, 20:28
RE: +BAT input dumb question - by 41south - 18-12-2018, 20:58
RE: +BAT input dumb question - by werk_ag - 18-12-2018, 22:33
RE: +BAT input dumb question - by AllyCat - 19-12-2018, 12:02
RE: +BAT input dumb question - by werk_ag - 20-12-2018, 06:22
RE: +BAT input dumb question - by AllyCat - 20-12-2018, 18:11
RE: +BAT input dumb question - by engolling - 18-12-2018, 21:15
RE: +BAT input dumb question - by 41south - 19-12-2018, 01:36
RE: +BAT input dumb question - by werk_ag - 19-12-2018, 05:23
RE: +BAT input dumb question - by engolling - 19-12-2018, 19:14
RE: +BAT input dumb question - by 41south - 20-12-2018, 01:36
RE: +BAT input dumb question - by werk_ag - 20-12-2018, 06:35
RE: +BAT input dumb question - by werk_ag - 21-12-2018, 00:31
RE: +BAT input dumb question - by hornychz - 22-12-2018, 01:06
RE: +BAT input dumb question - by werk_ag - 25-12-2018, 22:34



Users browsing this thread: 1 Guest(s)