What range of values for bar do you get?
To what precision do you want the psi?
What are you going to do with with the psi value once you've got it?
I'm guessing you lack
- floating point hardware
- string conversion libraries
- a screen
i am using pressure sensor mpx4115a pressure sensor
It can compute pressure from 15 kp to 115 kp
1 out of 3 questions answered - needs work.
Just multiply by the conversion factor. It should be only 1-2 machine instructions. If you need to save RAM, you should look elsewhere.