Go Down

Topic: Arduino Mega 2560 pin13 LED wont light up (Read 920 times) previous topic - next topic

sheepie

I'm completely new to anything circuit-related. Got the arduino mega 2560, and tried using the blink example from the ide. It was uploaded successfully, but the pin13 LED just wont light up. Any help?

hammy

Are you taking about the on board led or one which you have connected to digital pin 13 ? 


sheepie

I'm talking about the onboard LED. The one connecting to pin13 works fine.

sterretje

So you added a led to pin 13? How? Did you use a series resistor?
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

sheepie

No... I thought pin 13 has an integrated resistor?

sterretje

Download the schematic and you will see.
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

sheepie


ieee488

#7
Feb 26, 2018, 11:05 pm Last Edit: Feb 26, 2018, 11:06 pm by ieee488
I'm talking about the onboard LED. The one connecting to pin13 works fine.
I am confused.

The yellow LED onboard LED on the Mega is connected to pin 13.

Are you saying that  the green LED indicating +5V isn't lighting.

sterretje

The pin has a resistor.
Pin 13 on the header does not have a resistor between pin and micro controller.

Show a schematic (photo/scan of a hand-drawn one is fine) and post the code that you use.

The yellow LED onboard LED on the Mega is connected to pin 13.
On an official Mega, it's indirectly connected; there is an opamp that buffers.
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

bzeebee

So look in device manager. Try another computer. If it doesn't appear in DM, you have a dead board.
digital marketing company in mumbai http://www.bzeebee.in/

ieee488

#10
Feb 27, 2018, 03:40 pm Last Edit: Feb 27, 2018, 03:42 pm by ieee488
Pin 13 on the header does not have a resistor between pin and micro controller.

Show a schematic (photo/scan of a hand-drawn one is fine) and post the code that you use.
On an official Mega, it's indirectly connected; there is an opamp that buffers.
I am looking at the schematic here https://www.arduino.cc/en/uploads/Main/arduino-mega2560-schematic.pdf?

I don't see the opamp. Am I looking at the wrong place in the circuit?
I am looking at PWMH connector on the schematic.





ieee488

Thanks.

The OP may be looking at the old one just as I was. Oops.


Go Up