esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
413 stars 26 forks source link

include ADS1015 adc (compatible with ADS1115 but only 12 bit) #1580

Closed democles9308 closed 2 years ago

democles9308 commented 2 years ago

Describe the problem you have/What new integration you would like Integrate the usage of an ADS1015, the 12bit variant of the ADS1115. Only some minor changes to do the conversion 14>12 bits...

Please describe your use case for this integration and alternatives you've tried: I used the ADS1115 component for an ADS1015 and it seems to work, correct readings

ads1115:

Additional context Is there no modification needed to take the difference of resolution (12bits only) into account ? Thxs.

martgras commented 2 years ago

No there is no modification required to use ADS1015 with the ads1115 component. From a developer point of view there is no difference interfacing between ADS1015 and ADS1115

martgras commented 2 years ago

Closings since ads1015 is already supported

haxney commented 2 years ago

I stumbled across this issue while asking the same question "can ESPHome support the ADS1015". The only request I'd have is to add an explicit mention to the documentation page that the ads1115 component works for the ADS1015 without any changes.