I have been successfully using a Slice of Pi/o for a while now, in fact I have made quite a useful device with it: http://www.thehomebrewforum.co.uk/showt ... hp?t=42374. However, I am having problems with a difference Slice of Pi/o and Pi, which I was hoping someone might be able to help me fault find.
I am trying to get another Slice of Pi/o to work for a friend's kid, who I am teaching some simple programming. However, I don't seem to be able to get the damn thing to work.
Basically, I am using a fairly early Model B Pi, which a recently bought Slice of Pi/o V1.2.
When I power up, I can use "i2cdetect -y 0", and the Slice of Pi/o is detected on port 20 (as below).
Code: Select all
[email protected] ~ $ i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: 20 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Then, when I run any code to use the Slice of Pi/o, and then retype "i2cdetect -y 0" it seems to detect on all the ports like this (note: this occurs even if the Slice of Pi/o is connected with nothing connected to the i/o header on the Slice of Pi/o):
Code: Select all
[email protected] ~ $ i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
70: 70 71 72 73 74 75 76 77
Also, when I tried the new Slice of Pi/o on my old Pi which is in the boiler controller, it showed up on bus 0 rather than on bus 1, so it seems that the Slice of Pi/o is changing the bus some how, which seems impossible to me.
I even tried swapping the chip from one Slice of Pi/o to the other, and there was still no change.
Do you have any idea what the problem might be? Could it be that the Slice of Pi/o is broken in some way, or might I be unlucky enough to have a combination of broken Pi-s and broken Slice of Pi/o-s which are causing me all this confusion.
Is there an easy way that I can check the health of my GPIOs on the Pi for any errors so that I can rule out the Pi as being part of the problem?
Thanks
Robbo100