configs/components/ads131m08
2026-01-11 20:34:38 +02:00
..
__pycache__ Added modified ads1115 component that support ALERT_PIN 2026-01-09 20:51:04 +02:00
__init__.py Added modified ads1115 component that support ALERT_PIN 2026-01-09 20:51:04 +02:00
ads131m08.cpp Before changing ads1115_int to directly publish from ISR 2026-01-11 20:34:38 +02:00
ads131m08.h Added datasheet example code and some arduino git code from tpcorrea. Still WIP. 2026-01-10 23:08:07 +02:00
README.md Added modified ads1115 component that support ALERT_PIN 2026-01-09 20:51:04 +02:00
sensor.py Added modified ads1115 component that support ALERT_PIN 2026-01-09 20:51:04 +02:00

ESPHome config/components/ads131m08

This folder contains source code files and related resources for external ads131m08 component.

Example .yaml config


external_components:
  - source:
      type: local
      path: components  # Path relative to this YAML file
    components: [ ads131m08 ]

ads131m08:
  id: highres_adc
  cs_pin: GPIO5
  drdy_pin: GPIO10
  vref: 1.25
  
sensor:
  - platform: ads131m08
    ads_hub_id: highres_adc
    channel: 0
    name: "ADS Channel 0 Voltage"
  - platform: ads131m08
    ads_hub_id: highres_adc
    channel: 1
    name: "ADS Channel 1 Voltage"
  - platform: ads131m08
    ads_hub_id: highres_adc
    channel: 2
    name: "ADS Channel 2 Voltage"
  - platform: ads131m08
    ads_hub_id: highres_adc
    channel: 3
    name: "ADS Channel 3 Voltage"
  - platform: ads131m08
    ads_hub_id: highres_adc
    channel: 4
    name: "ADS Channel 4 Voltage"
  - platform: ads131m08
    ads_hub_id: highres_adc
    channel: 5
    name: "ADS Channel 5 Voltage"
  - platform: ads131m08
    ads_hub_id: highres_adc
    channel: 6
    name: "ADS Channel 6 Voltage"
  - platform: ads131m08
    ads_hub_id: highres_adc
    channel: 7
    name: "ADS Channel 7 Voltage"  

For more information, visit the ESPHome documentation.