Uno Pins not working

Hey guys,

I don't know if my new arduino uno board is defective. I have tried to use the Fade Sketch to test every digital pins, and the Led only lights up when it is connected to either 7 or 8.

Is it normal or I have a faulty board?

The "Fade" example uses PWM (analogWrite()) so it will only work properly on PWM pins: 3, 5, 6, 9, 10, and 11.

On other output pins analogWrite() it will turn the LED full on (values of 128 and higher) or full off (values below 128).

But my point is, it's only working on Pin 7 and Pin8...

kowloonjew:
But my point is, it's only working on Pin 7 and Pin8...

How are you modifying the fade code to change pins?

Are you using a resistor in series with your LED?

Are you remembering to connect the negative side of the LED to ground (GND)?

now I am simply trying the Blink sketch with a 200ohm resistor, and only pin 7 and 8 are making the light blink...

I have also tried this sketch: Sensor tutorials - IR remote receiver/decoder tutorial

and it worked only on Pin 7...

That is all strange, but as John pointed out, fade shouldn't work on pins 7 or 8 in the first place since they're not PWM.

Perhaps you should post some code and schematics- and maybe photos of the wiring?

JIm

kowloonjew:
But my point is, it's only working on Pin 7 and Pin8...

In that case you have a VERY faulty board.

kowloonjew:
I don't know if my new arduino uno board is defective. I have tried to use the Fade Sketch to test every digital pins, and the Led only lights up when it is connected to either 7 or 8.

Lights up? Fades?

Pins 7 and 8 won't fade as they are not PWM outputs.

What did you do before doing this test? Did you try anything else? Are you aware that LEDs have to be connected the right way around? That is, they are polarised.

Where did you get the Uno board from exactly?