Hi, I have checked the data using the regression analysis technique, and the connection is LINEAR. The estimated formula is: PSI = -17.20598 + Volts * 15.12302 Any better pocket calculator would do also this fit. However, to check whether the connection is really linear, is a bit (not very) harder. I hope this helps you. Regards, Imre On Thu, 8 Oct 1998, Joao Batista wrote: > Would anybody have how to help me to solve a problem, although simple, > but not for a less experienced user? > > I am using a sensor of pressure and an operational one that supplies me > the following values: > > > PSI Volts > > 0 1,183 > 5 1,440 > 10 1,773 > 15 2,092 > 20 2,471 > 25 2,823 > 30 3,150 > 35 3,460 > 40 3,750 > > When using a test routine multiplying the value of ADRES (PIC16C74A) for > 16 and the routine bin_bcd I get to obtain a reading in display of 40,80 > when in full scale (255). > > But as there is not linear of the circuit in subject, I don't get to > maintain a proportional value in the display to input of PIC. > > How make a table that maintains the proportion? > > Does a formula exist for this problem? > > If somebody possesses an answer, I would thank if could send me. > > Thank you > > Joco Batista - Jq96@claret.com.br / jq96@netsite.com.br > >