Digital Pin Problem

My Arduino Uno have a problem , all digital pin doesn’t work (no signal can read and write) but :

  1. Analog Signal work fine.
  2. can upload script to Arduino board.
  3. bluetooth works fine and can uplaod / download data with android.
  4. only digital pin 9 and 10 have 3.? V out, all others are no signal

Please help ? is it bootloader error ? is it burned ? replace atmega328 or the borad only ?

Please help :-/

Can you post a sketch that shows how you are trying to read or write to a digital pin that doesn't work. I'm sure you are just missing some basic steps. Does the Arduino IDE example sketch 'Blink' make the on board led blink on and off continously?

Lefty

Test 1 : The following script output is the LED is ON when HIGH, but dim not totoally blank when LOW.

int pin = 13;

void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(pin, OUTPUT);

}

void loop() {

digitalWrite(pin, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(pin, LOW); // set the LED off
delay(1000); // wait for a second

}


TEst 2 : the following result is pin D6-D10 LED is OFF !

void setup() {
for (int i=0;i<13;i++) {
pinMode(i, OUTPUT);
}
}

void loop() {
for (int i=0;i<13;i++) {
digitalWrite(i, HIGH);
}
}


The problem is atmega or the board ?
Thanks

I forget to said that ! the LED "L" besides TX/RX LED is always on and in red too ! is that a problem ?

There is no LOW command in your sketch.

void setup() {                
 for (int i=0;i<13;i++) {
   pinMode(i, OUTPUT);
 }
}

void loop() {
 for (int i=0;i<13;i++) {
   digitalWrite(i, HIGH);
 }

[glow]for (int i=0;i<13;i++) {
   digitalWrite(i, LOW);
 }[/glow]}

Yes, No LOW Command, because i want to make it all HIGH and put a LED to test is it ON or not ! So i tested result is D6-D10 is OFF when set all pins HIGH !

Are you using a series current limiting resistor with the LED?

No ! Direct Connect !

No ! Direct Connect !

Very bad as that will result in damage to the output pin and/or led as there is nothing to limit the current. Search around this forum and you will see many many warnings about directly wiring leds to output pins. You need to wire a series external resistor (300-1000 ohms) to protect the output pin.

Lefty

How are LEDs wired?

+5 to anode, cathode to Arduino? If you wrote them low without current limit resisters, that would fry the output pins. (arduino 'sinks' current)

If you have arduino to Anode, cathode to ground and you wrote them high without current limit resisters, that would fry the output pins. (arduino 'sources' current).

Get a new chip, use 330 ohm series LEDs next time to limit current to around 10mA. Will be plenty bright to see.

It means that i should buy a new atmage328 to replace it right ! no the board problem right ?

Yes - with the arduino power off, you can use a multimeter and confirm there are still connections between the header pins and the atmega pins per the UNO schematic. Would be very hard to damage the traces with the power available - but very easy to damage the transistors in the atmega. Does the atmega chip get hot to the touch when powered on? That's usually a good indicator that it is damaged.

Yes, it's really HOT ! So i got it ! buy a new one atmega328 with bootloader and replace it ! Thanks !!!!