TE-M3200 Pressure Sensor

The tem3200 sensor platform allows you to use your TE-M3200 (datasheetExternal link, product pageExternal link) pressure sensors with ESPHome.

Configuration Copy link to header

I²C bus is required to be set up in your configuration for this sensor to work.

# Example configuration entry
sensor:
  - platform: tem3200
    raw_pressure:
      name: "Raw Pressure"
    temperature:
      name: Temperature

Configuration variables Copy link to header

  • raw_pressure (Optional): The information for the pressure sensor. See Converting units.

  • All other options from Sensor.

  • temperature (Optional): The information for the temperature sensor. Readings in degrees celsius (°C).

  • All other options from Sensor.

  • i2c_id (Optional, ID): Manually specify the ID of the I²C Component. Defaults to the default I²C bus.

  • address (Optional, int): Manually specify the I²C address of the sensor. Defaults to 0x28. See datasheetExternal link (page 10).

Converting units Copy link to header

The TE-M3200 pressure sensor is not calibrated to units, you have to convert the measurement to units yourself.

Estimated Copy link to header

On page 6 of the datasheetExternal link the value 1000 maps to approximately 0% of the maximum value of the sensor (e.g. 0 psi for a 100 psi sensor); the value 8000 maps to approximately 50% of the maximum value of the sensor (e.g. 50 psi for a 100 psi sensor); the value 15000 maps to approximately 100% of the maximum value of the sensor (e.g. 100 psi for the 100 psi sensor). Use calibrate_linear filter to map these sensor values:

# Extract of configuration
filters:
  - calibrate_linear:
    - 1000 -> 0.0
    - 8000 -> 50.0
    - 15000 -> 100.0

Calibrated Copy link to header

  1. Expose the sensor to a low known pressure, for example 5 psi.
  2. Observe the value of the raw pressure sensor, for example 990.
  3. Expose the sensor to a high pressure, for example 90 psi.
  4. Observe the value of the raw pressure sensor, for example 13550.
  5. Use calibrate_linear filter to map the incoming value to the calibrated one:
# Extract of configuration
filters:
  - calibrate_linear:
    - 990 -> 5.0
    - 13550 -> 90.0

See Also Copy link to header

CURRENT