Home        Store        Docs        Blog

Companion problem

(francesco) #1

Hello, I tried to connect multiple sensors to the Pi, after extensive troubleshooting, I runned a GPIO test and got the following error:
The main 8 GPIO pins 0: 7:

–> Pin 0 failure. Expected 1, got 0

–> Pin 1 failure. Expected 1, got 0

–> Pin 2 failure. Expected 1, got 0

–> Pin 3 failure. Expected 1, got 0

–> Pin 4 failure. Expected 1, got 0

–> Pin 5 failure. Expected 1, got 0

–> Pin 6 failure. Expected 1, got 0

–> Pin 7 failure. Expected 1, got 0

8 faults detected

The 5 SPI pins 10:14:

–> Pin 10 failure. Expected 1, got 0

–> Pin 11 failure. Expected 1, got 0

–> Pin 12 failure. Expected 1, got 0

–> Pin 13 failure. Expected 1, got 0

–> Pin 14 failure. Expected 1, got 0

5 faults detected

The serial pins 15:16:

–> Pin 15 failure. Expected 1, got 0

–> Pin 16 failure. Expected 1, got 0

2 faults detected

The I2C pins 8: 9: Pin 8 failure - expected 1, got 0

Pin 9 failure - expected 1, got 0

2 faults detected

I installed the BCM library and wiring gpio do you have any input? I connected the Pi with the pixhawx by the 5v and gnd pin, the software is running fine except I am not able to make the GPIO works. any help is greatly appreciated.

Regards,
Francesco

0 Likes

(Jacob) #2

Hello, I recommend you review the installation instructions for the library that you are using and post in the wiring pi library forum or support channel. I don’t know anything about this test program, so I don’t have any advice.

0 Likes