How to check if Arduino is working?

Good day everyone.

I am unable to upload my code onto Arduino Nano. The indicator LED is blinking and the power LED is glowing.

How do i check if the board is not working?

Thank you.

hi,
I'm not very experienced with Arduino, but I have 2 Unos and one of them does not work - just like yours (it blinked and showed up at the usb-port). It was the first one I owned and I was struggling to get code on it. After checking USB-cables and power I connected a different uno - and that one works.
So the easiest way to check is to connect a different nano to see if all the things around work.
Or you connect it to a different computer (in my case I use a Raspberry Pi) where you know that it works.

I hope that helps a little bit

Thank you for the reply.

I have tried it and the other Arduino works fine.

The previous one seems to be faulty. I want to know if there are ways to check faults of the board.

Good question!
I ordered my unos for little money in china so I didn't really care about the one not working.
But now it seems to become interesting to figure out WHY its not working.
I keep an eye on this discussion. Good luck.

Are both nano's the same? Or one real one clone?

What is the error?

Is anything else connected to the Nano?

How does it show up under Windows Device Manager?

Are both nano's the same? Or one real one clone?

Both Nano's are similar.

What is the error?

This is the error message:

Arduino: 1.6.6 (Windows 7), Board: "Arduino Nano, ATmega328"

Sketch uses 450 bytes (1%) of program storage space. Maximum is 30,720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.

avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x00
avrdude: stk500_cmd(): programmer is out of sync
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Invalid library found in E:\Program Files (x86)\Arduino\libraries\RF24-master: E:\Program Files (x86)\Arduino\libraries\RF24-master
Invalid library found in E:\Program Files (x86)\Arduino\libraries\RF24-master: E:\Program Files (x86)\Arduino\libraries\RF24-master

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

Is anything else connected to the Nano?

Nothing is connected to the Nano. I tried uploading a bare minimum
sketch and its not uploading the code.

How does it show up under Windows Device Manager?

It shows as " USB-SERIAL CH340(COM14)

Okay, driver is fine then. I would try to reburn the bootloader with the working Arduino. Just Google it. The chip/pinout is the same as a Uno.

But apart from the not working Arduino the IDE shows you an invalid library. You might want to remove/replace that :wink:

You don't have to worry about the invalid library warning. Libraries will work regardless. You can google the release notes on v1.6.7 and read how the IDE developers are changing the way libraries work. You can install v1.6.5 or earlier and that warning will not appear.

Okay, driver is fine then. I would try to reburn the bootloader with the working Arduino. Just Google it. The chip/pinout is the same as a Uno.

I will do that.

But apart from the not working Arduino the IDE shows you an invalid library. You might want to remove/replace that

I have done that. :slight_smile:

Thank you.

Before these problems began i had connected a TCS3200D colour sensor along with a couple of switches and LEDs. I had soldered them and confined them within an acrylic box. Then i wanted to change some part of the code and upload it to the board. Uploading failed.

I removed all the connections to the Nano board and tried dumping the code again but it failed.

Can this problem be due to overloading the board or the sensor might have spoilt it?