# Explorer pHAT

**URL:** <https://forums.pimoroni.com/t/explorer-phat/2066>\
**Category:** Support\
**Created:** [March 14, 2016, 6:45pm UTC](https://forums.pimoroni.com/t/explorer-phat/2066 "2016-03-14T18:45:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbar](https://avatars.discourse-cdn.com/v4/letter/g/e8c25b/32.png) [@gbar](https://forums.pimoroni.com/u/gbar)\
**Post date:** [March 14, 2016, 6:45pm UTC](https://forums.pimoroni.com/t/explorer-phat/2066/1 "2016-03-14T18:45:17Z")

</div>

Hi,  
Having difficulties using the pHAT with my zero. Connecting up a 1-wire temperature probe directly to the Zero and i can figure out how to read it but when i try to plug it into the HAT it’s not working. I know this would suggest a soldering issue but i’m not sure. When i try to read the probes ‘number’ i get a line of zeros when i should get something like this - 10-000802824e58

I’m using the +5v (the tutorial i’m reading says you should use 3V3) , GND and 1 of the ‘Inputs’.

Am i right in using the ‘input’ as that from the probe or should i use one of the 5V Analog points? I find the labeling of terminals a bit confusing and not especially clear. I thought if i was just to refer to the GPIO pin i thought was connected to the probe it would work

Thanks  
gbar

---

<div class="post-metadata">

**Author:** ![thermalhound](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/thermalhound/32/904_2.png) [@thermalhound](https://forums.pimoroni.com/u/thermalhound)\
**Post date:** [March 16, 2016, 12:24am UTC](https://forums.pimoroni.com/t/explorer-phat/2066/2 "2016-03-16T00:24:35Z")

</div>

Which temperature sensor are you connecting to the phat?

There are many different ones available and will therefore connect to the phat in different ways.

A one-wire device (something like a DS18B20) is usually digital though so it would need to be connected to one of the “Input” lines on the phat rather than the analog inputs.

---

<div class="post-metadata">

**Author:** ![gbar](https://avatars.discourse-cdn.com/v4/letter/g/e8c25b/32.png) [@gbar](https://forums.pimoroni.com/u/gbar)\
**Post date:** [March 25, 2016, 2:48pm UTC](https://forums.pimoroni.com/t/explorer-phat/2066/3 "2016-03-25T14:48:20Z")

</div>

Hi thannks fir the reply,

having read

‘Explorer phat with DHT22: read values’

I guess it’s likeley to be a 1-wire issue?

gbar

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [March 29, 2016, 4:12pm UTC](https://forums.pimoroni.com/t/explorer-phat/2066/4 "2016-03-29T16:12:39Z")

</div>

yes, I haven’t really assessed whether the factor was timing or something else, but I can’t get a DHT22 reading from an Explorer §HAT.

As stated in that topic I recommend you fit a passthrough on an Explorer pHAT anyhow, first because it makes sense (think of it as the equivalent of the breakout available on the Explorer HAT pro), but also because it will allow you to work around issues such as this.

---

<div class="post-metadata">

**Author:** ![major\_tomm](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/major_tomm/32/9044_2.png) [@major\_tomm](https://forums.pimoroni.com/u/major_tomm)\
**Post date:** [March 29, 2016, 4:57pm UTC](https://forums.pimoroni.com/t/explorer-phat/2066/5 "2016-03-29T16:57:17Z")

</div>

Do you have a suggestion for a passthrough? One of [these](https://shop.pimoroni.com/products/2x20-pin-gpio-header-for-raspberry-pi-2-b-a) perhaps?

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [March 29, 2016, 5:01pm UTC](https://forums.pimoroni.com/t/explorer-phat/2066/6 "2016-03-29T17:01:12Z")

</div>

yes, exactly… I use the following myself, which I find easier to work with (the grip is a bit looser so for stacking add-ons/§HATs they are better suited):

> **[2x20 pin Female GPIO Header for Raspberry Pi 3/2/B+/A+ - Pimoroni](https://shop.pimoroni.com/products/2x20-pin-gpio-header-for-raspberry-pi-2-b-a)**
>
> Connect your project directly to your Pi with these 2x20 pin GPIO headers!

---

<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:** [April 4, 2018, 11:06pm UTC](https://forums.pimoroni.com/t/explorer-phat/2066/7 "2018-04-04T23:06:51Z")

</div>

[https://www.amazon.com/dp/B071FT161B/?coliid=I1PO5W1C6J2W2G&colid=MD6BYTMBEL6W&psc=0](https://www.amazon.com/dp/B071FT161B/?coliid=I1PO5W1C6J2W2G&colid=MD6BYTMBEL6W&psc=0)

Check this one. It has much longer pins and can be trimmed to length.
