How to get started - can not upload anything?

Hey!

I bought an Arduino UNO WIFI R2
I downloaded the Arduino IDE 1.8.13

I am trying to just figure out how to upload some sample code. For example this:

/*
Blink

Turns an LED on for one second, then off for one second, repeatedly.

Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
the correct LED pin independent of which board is used.
If you want to know what pin the on-board LED is connected to on your Arduino
model, check the Technical Specs of your board at:
https://www.arduino.cc/en/Main/Products

modified 8 May 2014
by Scott Fitzgerald
modified 2 Sep 2016
by Arturo Guadalupi
modified 8 Sep 2016
by Colby Newman

This example code is in the public domain.

http://www.arduino.cc/en/Tutorial/Blink
*/

// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
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
}

But i just get errors.
I dont know if i need to setup something before.
I just plugged in the Arduino with a USB cable to my computer. Installed the software and just tried to upload above code.

But i get this error message:

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=0x96
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x96
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x96
Problem vid uppladdning till brädan. Se http://www.arduino.cc/en/Guide/Troubleshooting#upload för förslag.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x96
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x96
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x96
avrdude: stk500_recv(): programmer is not responding

I have tried ot change from com port 1 to port 3
But same.

From what i can see there is nothing wrong... but i dont know how to connect my Arduino to wifi?

Welcome to the forum

Try this :
Unplug the Arduino from the PC
Open Device Manager or the Linux equivalent
What COM ports do you see ?
With the Device Manager open plug in the Arduino
Does a new COM port appear ?
If so, then note its number
If not then you have a driver problem and the board is not being recognised
In Device Manager choose "Show hidden devices"
Are there any COM ports with an exclamation mark next to them indicating a problem ?
Assuming that you have the COM port of the Arduino from the step above then select it in Tools in the IDE
Also in the IDE make sure that you have the correct Arduino board selected
Try the upload again

  1. I unplugged arduino
  2. i use windows 10, i open device manager: http://prntscr.com/110uiqf
  3. I see one com port. i then plug in the arduino and see one new port : Screenshot by Lightshot
  4. i note down comport 3 :slight_smile:
  5. in device manager i chose to show hidden devices
  6. no ports with exclamation marks: Screenshot by Lightshot
  7. I check so that i have the correct port selected in the IDE software: Screenshot by Lightshot
  8. I check so i have the correct board selected in the IDE software: Screenshot by Lightshot
  9. I try to upload again: Screenshot by Lightshot
  10. Same error: Screenshot by Lightshot

Update:
I did a change from this: Screenshot by Lightshot
to this: Screenshot by Lightshot

and got this error: Screenshot by Lightshot

EDIT:
I learned that this error does not mean a problem really... (i think).
But loading the example code with called Blink (above).
The board does nothing, does not start to blink....

Thanks for the feedback but I cannot think of anything else to suggest other than removing and reinstalling the driver

Can I add "post error messages, not links to pictures of error messages" ?

Okey. Ill add error messages in text and not pictures.

Sketch uses 1540 bytes (3%) of program storage space. Maximum is 48640 bytes.
Global variables use 22 bytes (0%) of dynamic memory, leaving 6122 bytes for local variables. Maximum is 6144 bytes.
Ett fel inträffade under uppladdning av sketchen
avrdude: WARNING: invalid value for unused bits in fuse "fuse5", should be set to 1 according to datasheet
This behaviour is deprecated and will result in an error in future version
You probably want to use 0xcd instead of 0xc9 (double check with your datasheet first).

If this is just a Warning, and the code is uploaded... then why is not the led blinking...
Any other simple codes i can try for the wifi rev2 board?

Tried multiple codes but nothing give of anything that i understand....

Aha, i figured it out... it never did not work :smiley:

I was looking at the wrong LED

I thought it was the RGB led that would blink.... but it was not

So everything is fine.

But how do i control the RGB led?

Which RGB LED?

So everything is fine.

At which point did you stop getting these error messages >

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=0x96
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x96
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x96
Problem vid uppladdning till brädan. Se http://www.arduino.cc/en/Guide/Troubleshooting#upload för förslag.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x96
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x96
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x96
avrdude: stk500_recv(): programmer is not responding

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