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)
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 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
}
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.
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.