stumped on a maths question

hi im going to be using a pressure sensor soon, an omron D8M-A1 trying to work out the maths but hit a wall could someone tell me how to work out this figure out please

sensors output is...... 15mv to 1247mv. over a pressure range 0 millibar to 49millibar.

i need to know what value when @ 12 milibar,

i thought i had it but then noticed 0millibar was 15mv which threw me out

thank you

If the sensor response is linear, then it should be (12/49) * (1247 - 15) + 15 mV.

Delta V = 1247-15 = 1232mV Delta P = 49-0 = 49mB therefore Dv/Dp = 1232/49 = 25.142mV/mB zero offset = 15mV

Therefore output at 12mB = (25.142*12)+15 = 301.71+15 = 316.71mV

But, the Dv/Dp figure of 25.142 seems rather peculiar and certainly not what you'd expect to find in an industrial environment, where manufacturers endeavoured to use "round" numbers Are you certain about your numbers?

25.142 seems rather peculiar

25.4 is the roundest number I ever saw

ok here is the data sheet.

http://www.farnell.com/datasheets/91228.pdf

15 to 1247mV

0 to 4.9 kPa (0 to 49 milibar)

So 15mV is the typical offset voltage at zero pressure. For accurate results, you will need to calibrate the sensor output - that is, measure the output voltage at zero pressure, then subtract that voltage from the readings you get. Unfortunately, judging from the graph, the offset may (theoretically) be negative at zero pressure.