Uno's digital Pins are not working

Hello.I am a newbie. My arduino uno's any of digital pins are not working now. When I give simply blink example, the board's builtin led is blinking. Also I saw it when run the program with output pin as 13. But the led connected to 13 and ground doesn't work. However I have used correct resistors, correct way of led pins and correct code. I am sure 99.9% present that pins are dead. Can I fix them? Help me please.

Is there any possibility to voltage of those pins get low?
Because I notes that there some power flowing through the pins and ground pin is working.

The code I used. The 'Blink' code in example list of arduino.


void setup() {
 pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
 digitalWrite(LED_BUILTIN, HIGH);  
 delay(1000);                      //turn the LED on
 digitalWrite(LED_BUILTIN, LOW);   
 delay(1000);                     //turn the LED off 
}

Please consider that I have used the code by changing pins too.
And I found that board is not resetting (by reset button or connecting reset pin and ground) but when I change the code , there is a difference (I used the code above by changing the delay value and I can see the LED that builtin board blinking in different delay according to the code)

The sketch of the project.(Board = Arduino UNO ( Not UNO R3)) (resistor = 220Ω)( I give the 13 as OUTPUT pin of above code)
image

Thank You.... Madhushanga. :slightly_smiling_face:

Hi, @madhushanga_rodrigo
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".

Can you please post your code and a picture of your project so we can see your layout?

Can you please post a drawn copy of your circuit?

Do you have a DMM?

Thanks.. Tom.. :smiley: :+1: :coffee: :australia:

Do you have other LEDs you could try? And have you tried pins other than 13?

Hello,
post the sketch well formated and in code tags to see how we can help.

Assuming you are using an UNO r3, the circuit diagram of the microcontroller in connection to the built-in led is:


[Arduino Onboard Led • Bamboolean](Image from bamboolean)

The op-amp is used to make sure that the LED does not affect any high-speed SPI signals as digital pin 13 is the SCK line on the UNO. From the diagram, it can be seen that if the blink programme works, then the digital pin will definitely be ok.

Are you sure you have wired up the circuit correctly? did you check to see if your LED works using a battery before you tried to use a digital pin to power it?

Hello
Yes Sir. I have tried different LEDs and different pins to power them.

Hello,
do you know what you are doing?

Hi,

What code are you using?
Please post your code?

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

Hello Sir. I used this code . When use this code as below or 13 as output pin , LED on board is blinking.

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Hi,
Have you tried another pin as the output?

Tom... :smiley: :+1: :coffee: :australia:

Hi,
I tried other pins too. :frowning_face: same result. I think that the micro controller is not working. Can be it?

Thank you, Madhushanga

Hello
Post your sketch with "other pins" coded.

Hello sir . this is it,

void setup() {
  pinMode(11, OUTPUT);
}

void loop() {
  digitalWrite(11, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(11, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Just change the 'LED_BUILTIN' to a value of previous code.

Thanks,
Madhushanga.

Hi,

Does it work on your UNO?

Tom... :smiley: :+1: :coffee: :australia:

Hello
Did you connect a LED plus resistor to pin 11?

Hi,
No , it doesn't work.

However now I have to deal with a new error. :unamused:

when I upload the code ( code is same) , I get this new error massage.

Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"

Sketch uses 924 bytes (2%) of program storage space. Maximum is 32256 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x36

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x36

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x36

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x36

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x36

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x36

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x36

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x36

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x36

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x36

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Can someone what is it ? plz

Thank you,
Madhushanga

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.