# Automation pHAT input 2 & 3 read same

**URL:** <https://forums.pimoroni.com/t/automation-phat-input-2-3-read-same/12927>\
**Category:** Support\
**Created:** [February 1, 2020, 11:32pm UTC](https://forums.pimoroni.com/t/automation-phat-input-2-3-read-same/12927 "2020-02-01T23:32:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rollcrip](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@rollcrip](https://forums.pimoroni.com/u/rollcrip)\
**Post date:** [February 1, 2020, 11:32pm UTC](https://forums.pimoroni.com/t/automation-phat-input-2-3-read-same/12927/1 "2020-02-01T23:32:01Z")

</div>

i have two automation pHAT’s and both have an ADC issue, solved that with error handling  
but input #2 & #3 read the same i canT get seperate inputs is there a known defect?(both pHAT) i have one automation hat that works perfect! love it, need help plz with pHAT TnKS

---

<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:** [February 2, 2020, 11:21am UTC](https://forums.pimoroni.com/t/automation-phat-input-2-3-read-same/12927/2 "2020-02-02T11:21:54Z")

</div>

Are those two pHats each connected to two different Pi’s?  
The pinout is here if that helps

> **[Automation pHAT at Raspberry Pi GPIO Pinout](https://pinout.xyz/pinout/automation_phat#)**
>
> An all-in-one home automation and control board

---

<div class="post-metadata">

**Author:** ![rollcrip](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@rollcrip](https://forums.pimoroni.com/u/rollcrip)\
**Post date:** [February 3, 2020, 3:31am UTC](https://forums.pimoroni.com/t/automation-phat-input-2-3-read-same/12927/3 "2020-02-03T03:31:17Z")

</div>

same pi zero W, i’m using the analogs as a work around. ADC check also fails but error handling solved that .

---

<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:** [February 3, 2020, 10:33am UTC](https://forums.pimoroni.com/t/automation-phat-input-2-3-read-same/12927/4 "2020-02-03T10:33:28Z")

</div>

Maybe its the Pi? Or a soldering issue? If its not to much trouble a good picture of the soldering might help.

---

<div class="post-metadata">

**Author:** ![Crowbot](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/crowbot/32/5888_2.png) [@Crowbot](https://forums.pimoroni.com/u/Crowbot)\
**Post date:** [February 3, 2020, 10:38pm UTC](https://forums.pimoroni.com/t/automation-phat-input-2-3-read-same/12927/5 "2020-02-03T22:38:56Z")

</div>

I found this but haven’t tried it.

[http://wiringpi.com/the-gpio-utility/pin-test/](http://wiringpi.com/the-gpio-utility/pin-test/)

---

<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:** [February 4, 2020, 9:32am UTC](https://forums.pimoroni.com/t/automation-phat-input-2-3-read-same/12927/6 "2020-02-04T09:32:11Z")

</div>

Nice find @Crowbot. I’ve seen that mentioned on the Pi Foundation forum, forgot all about it until I saw your post.

---

<div class="post-metadata">

**Author:** ![rollcrip](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@rollcrip](https://forums.pimoroni.com/u/rollcrip)\
**Post date:** [February 6, 2020, 4:03pm UTC](https://forums.pimoroni.com/t/automation-phat-input-2-3-read-same/12927/7 "2020-02-06T16:03:43Z")

</div>

thanks for the great info, soldering is fine, header i crooked on the first one both work the same i will incld pics if i get time, i will definitely try another pi to check.
