Go Down

Topic: Buggy pin 10 (Read 1 time) previous topic - next topic

mellis

You should be able to, yes.

fauria

Hi,

I've been doing further tests, and i have noticed that the led does not blink even if connected directly from GND to the microcontroller leg. If i plug a led to GND and the first leg of the atmega (start couinting from bottom right: PB1), it blinks as if where plugged into digital IO 9. Same with every leg except the second one, that is, PB2 or pin 10.

I have tried this on two ATmega168 and one ATmega8 with same results.

May be there is something like a short in the board?

Thanks

Daniel

#7
Mar 30, 2007, 06:04 pm Last Edit: Mar 30, 2007, 06:05 pm by Daniel Reason: 1
hi

you really do need a resistor on an LED connected to the Atmega... it might look like it works, but you will eventualy damage the port of the ATmega, as you seem to have done.
D

fauria

Quote
hi

you really do need a resistor on an LED connected to the Atmega... it might look like it works, but you will eventualy damage the port of the ATmega, as you seem to have done.
D


Hi,

I use 220 Ohm. resistors on every led i plug on arduino, i even have spare leds with resistors soldered on them. I think its no matter of using resistors, is something that is not working properly on the board, a short or something like that.

I have tried with 3 atmega's and pin 10 does not work on any, everything else is fine.

Thanks

Daniel

#9
Mar 30, 2007, 11:31 pm Last Edit: Mar 30, 2007, 11:48 pm by Daniel Reason: 1
hey

I understand what you are saying.. what I meant is that <not> using resistors can damage your Atmega.

To test if it is the board or the chip, remove the chip, bend pin 10  up so that it isn't touching the socket, and repeat your tests...

D

Go Up