pin 13 doesn't seem to have any power?

I am just starting to test my Uno and installed the OS X software, plugged in via USB cable, and uploaded the "flash LED" test program.

The on board LED blinks. I changed the delay, etc. and it works.

However, pin 13 output does not seem to output anything.

The LED plugged into GND and pin 13 does not blink.

I tried the same connection via breadboard (thinking maybe I need deeper connections so I used jumper wire into the Uno pins, etc.). Nothing.

I then checked the voltage out using my DMM to the pin 13 and it does not seem to show.

I even changed the code to Pin 12 to see, but still nothing.

Is this a broken Uno? I just bought it new, via Amazon, shipped from SMART PROJECTS SRL in Italy.

Uno Rev 3.

If the on-board LED works, then the board is unlikely to be broken.

You do know that LEDs are polarized devices, don't you? Examine the case - one side will be flattened off. Examine the legs - one will be longer than the other.

The leg that is on the flattened side (the shorter leg) has to go to ground for it to work.

yes i swapped polarity and nothing.

like I said, I detected no voltage via the DMM.

So, i am not sure how else I can test pin 13 or the entire digital pin array.

if I put the pinMode to be output and HIGH it should produce voltage right? For any pin number?

Silly question... but is it a good LED?

Have you tried with a different one?

ok, thanks for asking me the basic "is it plugged in" questions :slight_smile:

but yes, it's a good LED, I tested with AA batteries (4.5v) and used a couple of different LEDs also. they all work.

so, I got 2 questions:

  1. anyone have any code or other method for me to check the pin hardware?
  2. if not, then is this pin defect a common or not unusual thing for the Uno?

I just don't want to have to waste time going to exchange this for a new Uno and would rather spend the time experimenting and studying more. It is a real killjoy that right off the bat my Arduino learning has hit such a snag, as you can imagine.

I'm a newb myself so take this at face value but I would say its more likely you have a bad earth pin rather then Two bad digital out pins.

Work out which side of the on-board LED is earth and test the LED from digital pin 13 to the earth side of the on-board LED.

Unless someone comes along and says that is a monumentally bad idea ... Which I may be.

actually it appears that everything has a common ground .. so try any ground you like.

you mean ground? GND?
sorry i don't follow; how would it test it?
just saw your message on common ground. So I can try plugging it into the OTHER GNDs on the other side (next to the analog pins)?
there are two additional GND there.

i will wait a few more hours to see if anyone says this is a good / bad idea (but thanks for the train of thought).

http://www.makerbench.com/makerbench/wp-content/uploads/2011/02/ArduinoUNO_Front.jpg

(just a quick photo if anyone doesn't have their Uno handy).

I just read your post again ... try a higher voltage power source as well ... the arduino needs more then 4.5 v. 6-20v (7-12 recomended)

and yes I do mean the GRD.

i got a 8 x AA pack but am a bit wary of sticking in 12v, maybe a 9v better? I need to rig that up though as I don't have the male jack into the female power on the Uno. you really think it's power source? because the tutorials all talk about this as the Hello World of the arduino and I can't see that the USB connector won't work with it, for a newbie blink tutorial.

It should work if powered through the USB (well mine did) try unplugging your power source and letting only the USB cable supply power as I think the board automatically switches . if you haven't tried that already.

Your arduino will be fine with 12v OR 9v.

To be honest I don't have any idea what it might be ... I'm just suggesting things which I would be trying. I've only owned an arduino for a month myself so I'm far from an expert .... but I do understand how frustrating these things can be.

thanks; your troubleshooting thoughts appreciated.
maybe someone with more experience can shed light to whether this is a common issue or maybe a "new" Uno needs to be somehow reset to allow voltage through the pins.

on another note i wonder what it would take to "repair" this kind of thing if I had to.

the CPU seems to work; i tested using some string code printing to the serial port. and the SMT stuff seems to work (at least the surface on-board LEDs, etc.).

There is an Arduino Test Suite: Google Code Archive - Long-term storage for Google Code Project Hosting.

You jumper pairs of pins together and it tests pins against each other (sets one to INPUT and one to OUTPUT and checks for proper communication). The jumpers are in dark red on the diagrams and not easy to see. Just connect 2 to 3, 4 to 5, etc. Skip 0 and 1 or serial I/O won't work!

thanks; that would be great.

by the way, when you say the serial won't work, do you mean that IF I connected those pins then it would be DAMAGED?

alohaduino:
thanks; that would be great.

by the way, when you say the serial won't work, do you mean that IF I connected those pins then it would be DAMAGED?

No, since one is an input and one is an output. If you connected to output pins, one driven HIGH and one driven LOW, you'd likely break something.

Actually, connecting the two serial pins together is a fine way to test the serial code. Just do a serial.write('a'); and then serial.read(); and hope you get 'a' back (but it's hard to see since you can't send anything to your computer!)

ok thanks; let me see how this test code works.

(I have been busy checking my DMM also using basic resistors and batteries).

alohaduino:
The on board LED blinks. I changed the delay, etc. and it works.

However, pin 13 output does not seem to output anything.

The LED plugged into GND and pin 13 does not blink.

What LED? Can you show a photo of what you are doing? Not just a stock photo.

If the onboard LED blinks, clearly the processor is working. So you don't have a dud. Conceivably there is a bad solder joint on one of the pins at the edge, but it is hard to imagine they are all bad. Have you tried, for example, pin 7?

I can't see that the USB connector won't work with it, for a newbie blink tutorial.

It works fine.

alohaduino:
ok, thanks for asking me the basic "is it plugged in" questions :slight_smile:
...
but yes, it's a good LED, I tested with AA batteries (4.5v) and used a couple of different LEDs also. they all work.

Can you describe this test in more detail? What value resistor did you use?

(CAN'T UPLOAD even small file sizes: "The upload folder is full. Please try a smaller file and/or contact an administrator.")

Attached are some photos:

The basic code.
The LED attached to 4.5V battery pack. Lights up.
The Uno with LED (external LED not up, on-board lit up).
The Uno with the pin 13 and GND connected.
(I tried both polarities by the way, in case the photo is the wrong way).