# Temperature and Pressure Sensors

## Hardware Installation

<figure><img src="https://2416497028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOPPBWdanG78xVyb6w4vq%2Fuploads%2FMjaiY0SdFRGMbXuFPiBy%2FIMG_4878.jpg?alt=media&#x26;token=7501e93c-391e-4bfb-aa65-5661bb7bc3fb" alt=""><figcaption></figcaption></figure>

Using a T10 Torx screwdriver, slightly loosen all screws on the back plate of the Surveyor 240 housing. Once all screws have been loosened, remove the screws and carefully lift off the back plate.&#x20;

<figure><img src="https://2416497028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOPPBWdanG78xVyb6w4vq%2Fuploads%2FVJT9HingbbkLsQDM6qtj%2FIMG_4879.jpg?alt=media&#x26;token=c5c43d4c-2765-402c-8f71-5fac13b811c9" alt=""><figcaption></figcaption></figure>

Locate the four mounting screws securing the Surveyor 240 circuit board. Using a 2.5mm hex screwdriver, remove these screws. Gently lift the Surveyor 240 board straight up and out of the housing.&#x20;

<figure><img src="https://2416497028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOPPBWdanG78xVyb6w4vq%2Fuploads%2FqjGgqXm8vXPWcutsIKZR%2FIMG_4880.jpg?alt=media&#x26;token=becea37c-9cd1-4de4-9054-61c974e989bf" alt=""><figcaption></figcaption></figure>

Using two 16mm wrenches, unscrew the blank penetrator and retaining nut from the housing. Apply grease (e.g., Molykote) to the o-ring on the sensor. Insert the sensor into the port previously occupied by the blank penetrator and hand-tighten the retaining nut. Then, using the 16mm wrenches, securely tighten the pressure sensor and nut to ensure the sensor is firmly seated.

Plug the sensor into the port on the Surveyor 240 board labeled Depth Sensor.

<figure><img src="https://2416497028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOPPBWdanG78xVyb6w4vq%2Fuploads%2FrHamqyHFJcfGjHgRVm7h%2FIMG_4881.jpg?alt=media&#x26;token=bae91c3c-3988-46ad-85c5-c9023f7e26e8" alt=""><figcaption></figcaption></figure>

With the sensor installed and the board in place, reattach the Surveyor 240 board to the board beneath it, and then to the posts using the four screws. Ensure that the large o-ring is seated in the groove of the main housing, then reinstall the back plate and tighten all screws with the T10 Torx screwdriver in a star pattern until each screw is hand tight.

## Reading Sensor Data

### Bar30 Depth/Pressure Sensor

Pressure and temperature data from the Bar30 sensor are transmitted in the Surveyor 240's [WATER\_STATS](https://docs.ceruleansonar.com/c/surveyor-240-16/application-programming-interface/water_stats) and [YZ\_POINT\_DATA](https://docs.ceruleansonar.com/c/surveyor-240-16/application-programming-interface/yz_point_data) packets. Both packet payloads contain:

* **temperature**: reported in degrees Celsius
* **pressure**: reported in Bar

### Celsius Temperature Sensor

Temperature data from the Celsius Temperature Sensor is transmitted in the Surveyor 240's [WATER\_STATS](https://docs.ceruleansonar.com/c/surveyor-240-16/application-programming-interface/water_stats) and [YZ\_POINT\_DATA](https://docs.ceruleansonar.com/c/surveyor-240-16/application-programming-interface/yz_point_data) packets. Both packet payloads contain:

* **temperature**: reported in degrees Celsius
* **pressure:** will report -1000 Bar (indicating no pressure data available)
