Giter VIP home page Giter VIP logo

esphome_allsensorsdlhr's Introduction

Allsensors DLHR Pressure Sensor

This component allows reading pressure and temperature measurements using the Amphenol Allsensors DLHR series of sensors. While these sensors support both SPI and I2C, this component only supports reading values over SPI.

Configuration

The first step to configuring the sensor is configuring the SPI bus.

Next configure the sensor.

Example Configuration

  - platform: allsensorsdlhr
    pressure:
      name: "Hvac Monitor Pressure"
      unit_of_measurement: "inH2O"
      pressure_range: 2.0
      pressure_type: 2.0
    temperature:
      name: "Hvac Monitor Temp P"
    cs_pin: GPIO15
    update_interval: "10s"

Configuration Variables

  • pressure: The information for the pressure sensor.
    • name: The name for the pressure sensor.
    • unit_of_measurement: The unit of measurement for the pressure readings. Defaults to "inH20" or inches of water column.
    • pressure_range: The pressure range the sensor is capable of measuring. If the sensor is a gauge type the range is from 0 to the pressure range value. If the type is "differential" the range will be from the negative of the range value to a positive range value (e.g. if pressure_range is set to "2.0", the range is from -2.0 to +2.0).
    • pressure_type: The type of pressure sensor. Use "1.0" for gauge type sensors, "2.0" for differential sensors.
  • temperature: The information for the temperature sensor.
    • name: The name for the temperature sensor.
  • cs_pin: SPI Chip select pin.
  • update_interval: The interval to check the sensor. Default is "20s".

Additional information

The component is set to use a CLK frequency of 2MHz. The acceptable frequency range for the sensor is 50KHz to 5MHz.

The sensors support multiple ways of taking measurements, either by taking a single measurement and returning the values read, or returning an average of 2, 4, 8, or 16 samples. Currently this component only supports reading an average of 8 samples.

esphome_allsensorsdlhr's People

Contributors

jaminh avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.