Re: Line Pressure dead...
Posted: Thu Jan 30, 2014 7:47 pm
Lance,
I didn't get to spend much time in the garage tonight. Am still confused on some of this. I appreciate your patience with this, as it is probably something I'm missing. In your last email you said:
>>The limits in the present code are that a 0-5V signal maps into 0 to 1023 ADC counts
and
>>BTW, you can certainly have the ADC count reported. This is covered in the manual here: http://www.msgpio.com/manuals/mshift/V41tune.html#gi
I looked over the reference material expecting to find a reference to different offset value that would represent the Line_ADC_raw value. But couldn't find it. The way I'm thinking this works, is, that the value linepressure maps to offset 20 (memory address) and that value already is calibrated for the default sensor. That is, software parameter linepressure = 0 psi with an input voltage of 0.5V. So how is it possible to see the raw ADC value without getting it from a different internal memory location? From everything I'm seeing, linepressure (offset 20) is not a 0-5V input, 0-1023ADC output signal. It might start out that way, but there is more math applied to it (slope, offset) before it is reported out on memory location offset 20.
>>Could you try changing the pressure values by 10x (i.e. 0,1060) and 0.10x (0,10.6) and see what happens in each case?
Am guessing you just want me to map out more values, to help bound the issue. I can't do 1060, that would be 1060 psi. But I can do more points in between 100 and zero psi.
Will post more data in the following days.
And thanks again for taking the time to help me understand this. Dave
I didn't get to spend much time in the garage tonight. Am still confused on some of this. I appreciate your patience with this, as it is probably something I'm missing. In your last email you said:
>>The limits in the present code are that a 0-5V signal maps into 0 to 1023 ADC counts
and
>>BTW, you can certainly have the ADC count reported. This is covered in the manual here: http://www.msgpio.com/manuals/mshift/V41tune.html#gi
I looked over the reference material expecting to find a reference to different offset value that would represent the Line_ADC_raw value. But couldn't find it. The way I'm thinking this works, is, that the value linepressure maps to offset 20 (memory address) and that value already is calibrated for the default sensor. That is, software parameter linepressure = 0 psi with an input voltage of 0.5V. So how is it possible to see the raw ADC value without getting it from a different internal memory location? From everything I'm seeing, linepressure (offset 20) is not a 0-5V input, 0-1023ADC output signal. It might start out that way, but there is more math applied to it (slope, offset) before it is reported out on memory location offset 20.
>>Could you try changing the pressure values by 10x (i.e. 0,1060) and 0.10x (0,10.6) and see what happens in each case?
Am guessing you just want me to map out more values, to help bound the issue. I can't do 1060, that would be 1060 psi. But I can do more points in between 100 and zero psi.
Will post more data in the following days.
And thanks again for taking the time to help me understand this. Dave