1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

ads1118 component (#5711)

Co-authored-by: Solomon <solomon.gorkhover@finnpartners.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Solomon
2024-03-10 18:09:05 -04:00
committed by GitHub
parent 89b3bc7d70
commit c52052563f
8 changed files with 374 additions and 0 deletions

View File

@@ -322,6 +322,12 @@ ads1115:
address: 0x48
i2c_id: i2c_bus
ads1118:
spi_id: spi_bus
cs_pin:
allow_other_uses: true
number: GPIO12
as5600:
i2c_id: i2c_bus
dir_pin:
@@ -571,6 +577,14 @@ sensor:
state_topic: hi/me
retain: false
availability:
- platform: ads1118
name: ads1118 adc
multiplexer: A0_A1
gain: 1.024
type: adc
- platform: ads1118
name: ads1118 temperature
type: temperature
- platform: as5600
name: AS5600 Position
raw_position: