Arduino code for air pressure measurement.
Arduino vacuum gauge.
Acrobotic bme 280 temperature humidity barometric pressure and altitude sensor breakout board for arduino raspberry pi esp8266 3 5vdc bme280 altimeter bmp280 upgrade 5 0 out of 5 stars 3 10 99 10.
Those sensors are ratiometric.
When the 5v changes the resulting measured pressure does not change and is still accurate.
The oled screen simply plugs in over the arduino which made for a nice compact board.
Power them with the arduino 5v and use the arduino 5v as analog reference that is the arduino default setting.
The processor in the vacuum gauge reads the 4 vacuum ports simultaneously digital filtering is applied to smooth out the vacuum readings useful on idling engines to get a steady reading the filtered value is then converted to kpa psi inhg or mmhg the calibration data from the eeprom is added to each of the vacuum readings.
This had to be changed to a 0 5vdc range using a potential divider so it was compatible with the arduino.
Absolute pressure is referenced to the pressure in a vacuum whereas gauge and differential pressures are referenced to another pressure such as the ambient atmospheric pressure or pressure in an adjacent vessel.
Initial build used a 10k pot in place of a vacuum gauge to make it simpler.