Updated ads131m08 README.md file

This commit is contained in:
Chris Stuurman 2026-01-08 21:53:54 +02:00
parent c19152fed3
commit fe07b461bb

View File

@ -1,6 +1,55 @@
# ESPHome config/source/custom Folder # ESPHome config/components/ads131m08
This folder contains Contains source code files and related resources for custom components. 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](https://esphome.io/). For more information, visit the [ESPHome documentation](https://esphome.io/).