Zero W and Enviro pHat - problems?


#1

Hi,

Just bough Zero W and Enviro pHat from The Pihut.

For some reason Zero W is unable to see pHat and i2cdetect shows empty matrix.
Is there any known problems with new hw Zero W and Enviro pHat?

BR,

Mika

root@zerow:/home/p# i2cdetect -F 1
Functionalities implemented by /dev/i2c-1:
I2C yes
SMBus Quick Command yes
SMBus Send Byte yes
SMBus Receive Byte yes
SMBus Write Byte yes
SMBus Read Byte yes
SMBus Write Word yes
SMBus Read Word yes
SMBus Process Call yes
SMBus Block Write yes
SMBus Block Read no
SMBus Block Process Call no
SMBus PEC yes
I2C Block Write yes
I2C Block Read yes

root@zerow:/home/pi# i2cdetect -y -a 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: – -- – -- – -- – -- – -- – -- – -- – --


#2

How did you install the envirophat software?


#3

I was following instructions form https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-enviro-phat

And I forgot to mention that I used GPIO Hammer Header and didn’t solder anything (yet).


#4

when you say you didn’t solder anything, what do you mean? are you using a male and a female hammer-on header, one for the Pi and one for the pHAT?


#5

Yes. I have female on Pi and male through pHat.


#6

can you please post a photo of your setup


#7

Here is the picture.


#8

You should have hammered the male header into the pi zero and if the female header isn’t a hammer header you need to solder it to the phat.


#9

Thanks.

I did the “right” thing and now pHat seems to be working.

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

Thanks again.