# Multiple "remote" enviro pHATs on a single Raspberry Pi

**URL:** <https://forums.pimoroni.com/t/multiple-remote-enviro-phats-on-a-single-raspberry-pi/5925>\
**Category:** Support\
**Created:** [September 11, 2017, 3:57am UTC](https://forums.pimoroni.com/t/multiple-remote-enviro-phats-on-a-single-raspberry-pi/5925 "2017-09-11T03:57:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rreboto](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/rreboto/32/3153_2.png) [@rreboto](https://forums.pimoroni.com/u/rreboto)\
**Post date:** [September 11, 2017, 3:57am UTC](https://forums.pimoroni.com/t/multiple-remote-enviro-phats-on-a-single-raspberry-pi/5925/1 "2017-09-11T03:57:50Z")

</div>

Hello,

I am looking to collect environmental information in a greehouse, and would like to connect 4 enviro pHATs to the same Raspberry Pi. Is this possible:

- run wire (e.g. CAT5 ethernet) from the Raspberry Pi to an Enviro pHAT ~20ft away
- run wire to 4 different locations
- connect all 4 Enviro pHATs to the single RPi.

Thank you!

---

<div class="post-metadata">

**Author:** ![sandyjmacdonald](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/sandyjmacdonald/32/393_2.png) [@sandyjmacdonald](https://forums.pimoroni.com/u/sandyjmacdonald)\
**Post date:** [September 11, 2017, 8:39am UTC](https://forums.pimoroni.com/t/multiple-remote-enviro-phats-on-a-single-raspberry-pi/5925/2 "2017-09-11T08:39:02Z")

</div>

Because Enviro pHAT uses fixed addresses for the I2C, you’d have clashes between the different Enviro pHATs. A better Enviro pHAT-based approach might be to use a single Enviro pHAT and connect 4 analog sensors up to its analog inputs?

---

<div class="post-metadata">

**Author:** ![rreboto](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/rreboto/32/3153_2.png) [@rreboto](https://forums.pimoroni.com/u/rreboto)\
**Post date:** [September 11, 2017, 2:37pm UTC](https://forums.pimoroni.com/t/multiple-remote-enviro-phats-on-a-single-raspberry-pi/5925/3 "2017-09-11T14:37:18Z")

</div>

Ah, that’s what the analog inputs are for! I suppose the python library makes it easy to grab those values as well?

---

<div class="post-metadata">

**Author:** ![sandyjmacdonald](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/sandyjmacdonald/32/393_2.png) [@sandyjmacdonald](https://forums.pimoroni.com/u/sandyjmacdonald)\
**Post date:** [September 11, 2017, 2:45pm UTC](https://forums.pimoroni.com/t/multiple-remote-enviro-phats-on-a-single-raspberry-pi/5925/4 "2017-09-11T14:45:14Z")

</div>

It does indeed!

```auto
from envirophat import analog

analog_values = analog.read_all()
print(analog_values)

```

BOOM!
