# ADC input on Enviro+

**URL:** https://forums.pimoroni.com/t/adc-input-on-enviro/25201
**Category:** Support
**Created:** [August 1, 2024, 9:22pm UTC](https://forums.pimoroni.com/t/adc-input-on-enviro/25201 "2024-08-01T21:22:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![shemminger](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@shemminger](https://forums.pimoroni.com/u/shemminger)
#### Post date: [August 1, 2024, 9:22pm UTC](https://forums.pimoroni.com/t/adc-input-on-enviro/25201/1 "2024-08-01T21:22:40Z")

</div>

I have an Envrio+ HAT and wonder if the ADC pad on the top could be used for measuring an external voltage? The schematic shows a multiplex for 4 inputs and 3 are used by the gas sensor.

I am making a monitor for a small trailer, and would like to monitor the 12V battery charge.  
The plan was to connect a voltage divider to 3.3v (with over voltage protection).  
And measure that with ADC input. Not sure how to get at through the adc in the library.

---

<div class="post-metadata">

### Author: ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)
#### Post date: [August 1, 2024, 11:00pm UTC](https://forums.pimoroni.com/t/adc-input-on-enviro/25201/2 "2024-08-01T23:00:16Z")

</div>

This may help,  
[ADS1015 +/-24V ADC breakout (pimoroni.com)](https://shop.pimoroni.com/products/ads1015-adc-breakout?variant=27859155026003)

[pimoroni/ads1015-python: Python library for the Pimoroni ADS1015 breakout (github.com)](https://github.com/pimoroni/ads1015-python)

And looking here I see  
[Enviro Plus at Raspberry Pi GPIO Pinout](https://pinout.xyz/pinout/enviro_plus)

- 0x49: ADS1015  
The breakout uses 0x48 for its i2c address so you will need to edit the code to use 0x49, to use the one on the Enviro+
