setup for using a pressure sensor