Why does it keep doing this?

ricky101:
Not sure why you are getting that message if you have the board connected - others might know …?

What happens if you run the Blink program from the Examples / Basics folder - does it download ok ?

Also assume you have the shield mounted on the Uno, have you tried it without the shield to see if it loads ok ?

Not sure about the blink program, but i’ll try without the motor shield on.

Make sure you can load the Blink example from the Arduino IDE with nothing attached to your Uno other than the USB cable.

...R

Nothing worked

randomnoob2:
Not sure about the blink program, but i’ll try without the motor shield on.

Would seems you are totally new to the Arduino, so better say how you run the blink program, just in case.

Open the IDE, from the File menu, select Examples, then 01 Basics, and finally double click on Blink.

That opens a new screen with the blink program, compile and load it, and you should see the orange led next to pin 13 flashing about once a second.

If it can do that its working ok; Blink is typically pre programmed into the Uno so you can prove its working as soon as you unpack and plug it in to the usb port.

randomnoob2: Nothing worked

Brief replies like that may work when you talk face-to-face with someone and can get an instant response. They are little use on a Forum where there is a long time lag.

At the very least you need to tell us in great detail how you went about trying to upload the Blink program and what error messages you got.

...R

The orange led is blinking already, but uploading the blink errors. Just verifying it works fine, for the main code, and the blink. I've tried unplugging the USB to my computer, and putting it back in, but it doesn't do anything.

It sounds like the blink program it shipped with is running, but you are not communicating with the board.

In post #5 I showed the picture of the Tools menu, does your IDE look the same, it may show a different port to Com 3 , but does it actually say Uno , like my picture ?

Try a different USB cable, a shorter one better, and also a different USB port; does it load the Blink program ?

Did you download the Arduino IDE from the Arduino site ? https://www.arduino.cc/en/Main/Software

Which version did you install, the Windows Installer or the Windows .Zip ?

If you ran the W.Zip, then delete that and use the Windows Installer and see if things work then.

Thank you so much. It works now.

Arduino: 1.6.11 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 3,736 bytes (11%) of program storage space. Maximum is 32,256 bytes. Global variables use 84 bytes (4%) of dynamic memory, leaving 1,964 bytes for local variables. Maximum is 2,048 bytes. avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x20 An error occurred while uploading the sketch

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

So what did you change in those 9 minutes between "working" and "error message"?

MorganS:
So what did you change in those 9 minutes between “working” and “error message”?

Plus what happened between last night and today when it started working - just a full power off ? or something else ?

I did what ricky told me to do last, then I uploaded it and it worked, then I realized a pin on my motor shield was bent, so I had to fix it, and there was a red light on my motor shield whenever I attached it to the arduino, the I turned on my robot and nothing happened so then I tried re-uploading.

Which pin! It might be important.

There are no numbers next to it. The closest thing is a0-5

Then you aren't using an Uno. All the pins are clearly labelled on the Uno. The analog pins each have an identifier next to them like "A4", for example. Digital pins have just a number and other pins are labelled with an abbreviation of their function.

What is it that you have?

MorganS: Then you aren't using an Uno. All the pins are clearly labelled on the Uno. The analog pins each have an identifier next to them like "A4", for example. Digital pins have just a number and other pins are labelled with an abbreviation of their function.

What is it that you have?

No, the OP was saying it was a pin on his motor shield.

randomnoob2 you are just not giving enough info for us to be able to help you.

You have not mentioned if you got the blink program working or what it was that started to make things load up, the cable or the software ?

A link and pictures of the motor board and shield etc would also be helpful, save us all having to search the web.

Comments like "I turned on my robot and nothing happened so then I tried re-uploading." without any supporting details, really are impossible to answer.

ricky101: randomnoob2 you are just not giving enough info for us to be able to help you.

I already told him that in Reply #13. Hopefully he will take notice of you.

...R

Hopefully he will take notice of you.

But he didn't and asked again here:- http://forum.arduino.cc/index.php?topic=427091.new#new

Have you chosen the correct arduino model and comms port?

in the IDE, select the 'tools' menu ,and check both these..........

regards

Allan.