configs/components/ads131m08
2026-01-08 21:53:54 +02:00
..
__pycache__ Added ADS131M08 external component 2026-01-08 21:47:23 +02:00
__init__.py Added ADS131M08 external component 2026-01-08 21:47:23 +02:00
ads131m08.cpp Added ADS131M08 external component 2026-01-08 21:47:23 +02:00
ads131m08.h Added ADS131M08 external component 2026-01-08 21:47:23 +02:00
README.md Updated ads131m08 README.md file 2026-01-08 21:53:54 +02:00
sensor.py Added ADS131M08 external component 2026-01-08 21:47:23 +02:00

ESPHome config/components/ads131m08

This folder contains 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.