# Explorer HAT warning message

**URL:** <https://forums.pimoroni.com/t/explorer-hat-warning-message/2611>\
**Category:** Support\
**Created:** [July 4, 2016, 7:37pm UTC](https://forums.pimoroni.com/t/explorer-hat-warning-message/2611 "2016-07-04T19:37:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rvreugde](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@rvreugde](https://forums.pimoroni.com/u/rvreugde)\
**Post date:** [July 4, 2016, 7:37pm UTC](https://forums.pimoroni.com/t/explorer-hat-warning-message/2611/1 "2016-07-04T19:37:45Z")

</div>

Hello,

I just bught an Explorer Hat for my Raspberry Pi Zero. When I connect the Explorer Hat, boot my Raspberry Pi Zero.  
I noticed the the blue led is flashing while booting and stays on afterwards.  
Then I start Python3 and enter the following commands:

> root@raspberrypi:~# python3  
> Python 3.4.2 (default, Oct 19 2014, 13:31:11)  
> [GCC 4.9.1] on linux  
> Type “help”, “copyright”, “credits” or “license” for more information.
> 
> > > > import explorerhat  
> > > > **Warning, could not find Analog or Touch…**  
> > > > **Please check your i2c settings!**  
> > > > explorerhat.input  
> > > > one, two, three, four  
> > > > explorerhat.output  
> > > > one, two, three, four  
> > > > explorerhat.touch

> > > > explorerhat.light  
> > > > green, red, blue, yellow

Also, enabling the red light gives an error:  
\>\>\> explorerhat.light.red.on()  
Traceback (most recent call last):  
File “”, line 1, in   
NameError: name ‘explorerhat’ is not defined

My I2C is enabled via raspi-config.

I also have an Explorer pHat, and this works fine:

Can somebody help?

---

<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:** [July 4, 2016, 8:36pm UTC](https://forums.pimoroni.com/t/explorer-hat-warning-message/2611/2 "2016-07-04T20:36:57Z")

</div>

Is this an Explorer HAT pro, or the version without ADC and H-bridges?

Either way, try:

```
i2cdetect -y 1

```

does it return any addresses or just a matrix of disapointment?

---

<div class="post-metadata">

**Author:** ![rvreugde](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@rvreugde](https://forums.pimoroni.com/u/rvreugde)\
**Post date:** [July 5, 2016, 12:50pm UTC](https://forums.pimoroni.com/t/explorer-hat-warning-message/2611/3 "2016-07-05T12:50:47Z")

</div>

HI RogueM,

Is is the Explorer HAT Pro (PIM082).

The result of the command with my **Explorer HAT Pro** is:

root@raspberrypi:~# i2cdetect -y 1  
0 1 2 3 4 5 6 7 8 9 a b c d e f  
00: – -- – -- – -- – -- – -- – -- –  
10: – -- – -- – -- – -- – -- – -- – -- – --  
20: – -- – -- – -- – -- – -- – -- – -- – --  
30: – -- – -- – -- – -- – -- – -- – -- – --  
40: – -- – -- – -- – -- – -- – -- – -- – --  
50: – -- – -- – -- – -- – -- – -- – -- – --  
60: – -- – -- – -- – -- – -- – -- – -- – --  
70: – -- – -- – -- – --

Am I doing something wrong? I am working with a Pi Zero.

BTW, when I use the command with my **Explorer pHAT** , it returns:  
root@raspberrypi:~# i2cdetect -y 1

```
 0 1 2 3 4 5 6 7 8 9 a b c d e f

```

00: – -- – -- – -- – -- – -- – -- –  
10: – -- – -- – -- – -- – -- – -- – -- – --  
20: – -- – -- – -- – -- – -- – -- – -- – --  
30: – -- – -- – -- – -- – -- – -- – -- – --  
40: – -- – -- – -- – -- 48 – -- – -- – -- –  
50: – -- – -- – -- – -- – -- – -- – -- – --  
60: – -- – -- – -- – -- – -- – -- – -- – --  
70: – -- – -- – -- – --

---

<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:** [July 5, 2016, 1:05pm UTC](https://forums.pimoroni.com/t/explorer-hat-warning-message/2611/4 "2016-07-05T13:05:47Z")

</div>

yes, that’s correct for the pHAT, 0x48 is the address of the ADC chip. The HAT pro version should display the same address as well as 0x28 for the Cap Touch.

Since you’ve got LED lighting up it seems you’ve got power to the board. You could check the header joints for any problems, such as pins hanging up in the air but it’s not always easy to tell with SMT headers.

If you can’t see anything unusual, then I’m afraid you likely will have to contact [support@pimoroni.com](mailto:support@pimoroni.com) and get it swapped :(

---

<div class="post-metadata">

**Author:** ![rvreugde](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@rvreugde](https://forums.pimoroni.com/u/rvreugde)\
**Post date:** [July 5, 2016, 1:06pm UTC](https://forums.pimoroni.com/t/explorer-hat-warning-message/2611/5 "2016-07-05T13:06:00Z")

</div>

Hi RogueM,

I powered mmy Pi from a Power Bank. Now I have powered it directly from an adapter, and now it seems to be working:

root@raspberrypi:~# i2cdetect -y 1  
0 1 2 3 4 5 6 7 8 9 a b c d e f  
00: – – – – – – – – – – – – –  
10: – – – – – – – – – – – – – – – –  
20: – – – – – – – – 28 – – – – – – –  
30: – – – – – – – – – – – – – – – –  
40: – – – – – – – – 48 – – – – – – –  
50: – – – – – – – – – – – – – – – –  
60: – – – – – – – – – – – – – – – –  
70: – – – – – – – –

And via Python3:  
root@raspberrypi:~# python3  
Python 3.4.2 (default, Oct 19 2014, 13:31:11)  
[GCC 4.9.1] on linux  
Type “help”, “copyright”, “credits” or “license” for more information.

> > > import explorerhat  
> > > Explorer HAT Pro detected…  
> > > explorerhat.input  
> > > two, three, one, four  
> > > explorerhat.output  
> > > two, three, one, four  
> > > explorerhat.touch  
> > > four, one, five, six, two, three, eight, seven  
> > > explorerhat.light  
> > > green, red, yellow, blue

Seems to beworking now.

Anyway, thank you for your help!

---

<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:** [July 5, 2016, 1:07pm UTC](https://forums.pimoroni.com/t/explorer-hat-warning-message/2611/6 "2016-07-05T13:07:23Z")

</div>

oh, right. I’m surprised the HAT is drawing that much more than the pHAT. Good work and happy to hear you found the cause.
