lolachampcar
New Member
- Joined
- Jul 17, 2011
- Messages
- 249
I copied the shunt sensor deffinition and renamed it to myplaneshunt or something like that then changed the cal until it read correctly. It was a nice simple solution using the already existing wiring (which provided more signal for a given current). I'm sure the temperature stability is not as good as the shunt provided by Dynon but that is such a small error that it really will not matter (especially given that the display rounds to the nearest amp).
sensor={
id=AMMETER SHUNT (100412-000)
function=AMPS
pins=C37_P24/25
name=BATT
name=ALT
name=LOAD
min_val=-100
max_val=100
resolution=0
round=1
is_piecewise=0
low_coeff={
c_x4=0
c_x3=0
c_x2=0
c_x1=1000
c_x0=0
}
low_resistance=PULL_UP_200
low2high_cross=0
high_coeff={
c_x4=0
c_x3=0
c_x2=0
c_x1=0
c_x0=0
}
high_resistance=NONE
high2low_cross=0
shift=5
}
sensor={
id=AMMETER SHUNT (100412-000)
function=AMPS
pins=C37_P24/25
name=BATT
name=ALT
name=LOAD
min_val=-100
max_val=100
resolution=0
round=1
is_piecewise=0
low_coeff={
c_x4=0
c_x3=0
c_x2=0
c_x1=1000
c_x0=0
}
low_resistance=PULL_UP_200
low2high_cross=0
high_coeff={
c_x4=0
c_x3=0
c_x2=0
c_x1=0
c_x0=0
}
high_resistance=NONE
high2low_cross=0
shift=5
}