niqt
Posts: 4
Joined: Sat Feb 18, 2012 7:45 pm
Contact: Website

broken gpio? (Solved)

Sun May 12, 2013 8:50 am

I have RaspberryPI Revision 0003 (Model: B (ECN0001); PCB Revision: 1.0; Memory: 256MB; Notes: Fuses mod and D14 removed). I used last raspbian and installed wiring pi and i have:
sudo ./gpio readall
+———-+——+——–+——+——-+
| wiringPi | GPIO | Name | Mode | Value |
+———-+——+——–+——+——-+
| 0 | 17 | GPIO 0 | IN | Low |
| 1 | 18 | GPIO 1 | IN | Low |
| 2 | 21 | GPIO 2 | IN | Low |
| 3 | 22 | GPIO 3 | IN | Low |
| 4 | 23 | GPIO 4 | IN | Low |
| 5 | 24 | GPIO 5 | IN | Low |
| 6 | 25 | GPIO 6 | IN | Low |
| 7 | 4 | GPIO 7 | IN | Low |
| 8 | 0 | SDA | IN | High |
| 9 | 1 | SCL | IN | High |
| 10 | 8 | CE0 | IN | Low |
| 11 | 7 | CE1 | IN | Low |
| 12 | 10 | MOSI | IN | Low |
| 13 | 9 | MISO | IN | Low |
| 14 | 11 | SCLK | IN | Low |
| 15 | 14 | TxD | ALT0 | High |
| 16 | 15 | RxD | ALT0 | High |
+———-+——+——–+——+——-+

I connected led to resitor and 3V and ground but the led is always turn off (with arduino it turn on). The raspberry gpio is broken? But the leds on-board are ok.
What’s happen? I’m desperate

User avatar
joan
Posts: 14935
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: broken gpio?

Sun May 12, 2013 8:53 am

Why do you think something is wrong?

To which pins/gpios are you connecting the LED ?

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: broken gpio?

Sun May 12, 2013 8:56 am

What value resistor?

Do you have the LED short-leg/flat-on-the-case towards GND?

niqt
Posts: 4
Joined: Sat Feb 18, 2012 7:45 pm
Contact: Website

Re: broken gpio?

Sun May 12, 2013 5:24 pm

i'm following https://projects.drogon.net/raspberry-p ... ingle-led/ and i don't understand because does not work :(

niqt
Posts: 4
Joined: Sat Feb 18, 2012 7:45 pm
Contact: Website

Re: broken gpio? [solved]

Mon May 13, 2013 7:31 am

Solved. The plug on gpio was broken

Return to “Troubleshooting”