Sketch uses 5386 bytes (16%) of program storage space. Maximum is 32256 bytes.
Global variables use 347 bytes (16%) of dynamic memory, leaving 1701 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\darrylhii\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\darrylhii\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM3" -b115200 -D "-Uflash:w:C:\Users\darrylhii\AppData\Local\Temp\arduino\sketches\6D4B23D18773E20B28FA2F31F98565C1/sketch_sep3b.ino.hex:i"
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\darrylhii\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM3
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
Guys please help me with this problem, i facing this problem while trying to developing my IoT project.
This error might be caused by having the wrong port selected from the Tools > Port menu in Arduino IDE.
Please perform this experiment to verify that the port you have selected is your Arduino board:
With some boards, the port will be labeled with the board name in the menu (e.g., "COM42 (Arduino Uno)"). In this case, you can be fairly confident that you have identified the port. But for other boards the port will not be labeled. You can positively identify the port using this procedure:
Disconnect the USB cable of the Arduino board from your computer.
Select Tools > Port from the Arduino IDE menus.
Take note of the ports, if any, listed in the menu.
Close the Tools menu. The ports list is only updated when the Tools menu is re-opened, so this step is essential.
Connect the Arduino board to your computer with a USB cable.
Select Tools > Port from the Arduino IDE menus. - If a new port is listed in the menu, that is the port of your Arduino board.
Select that port from the menu and try uploading again.
If the upload still fails, or if no new port appeared after you plugged the Arduino board into your computer, add a reply here to let us know and we'll investigate the problem further.
Did it ever work? Or is this your first experience with the Uno?
If it worked in the past, what was all connected to the board when it started failing?
Is anything connected to pins 0 and 1?
I am a computer science student, current working on my FYP which is i want to develop a IoT project which Arduino and my System. Yes it work in the beginning but after i try connect with multiple RFID reader with arduino UNO board using breedboard without properly setting up (i think so) then this is when the error started coming out after i trying to upload my code program.
yes it still didn't work, when i disconnected my USB cable of arduino uno from my laptop the PORT from Tools no listed any port and only COM3 port showing after i connect back my cable and reopen again.
Can you upload if nothing is connected to the Arduino board? Should have asked that in the previous post, sorry.
Can you provide a schematic / wiring diagram? It should show every connection including all power and GND. Photo of hand-drawn diagram is fine.
Please disable "verbose output during compilation" and enable "verbose output during upload" in file → preferences, perform an upload and post the results here.
Which version of the IDE are you using?
What is the TTL-to-USB converter on the board; it's the chipc closest to the USB connector. For original Unos and faithfull clones it will be a 16U2, for other clones it's usually a CH340.
I tried loopback testing im not sure the result it is ok or not, when i try data into it the serial monitor juz output back my data ?
below is i will put some picture that how the result
The two big square blocks are the microcontrollers, at the left the 16U2 that handles the conversion from USB to serial and at the right the 328P that runs your sketch; between them are two lines (with 1k resistors).
I can't tell you why your get the sync timeouts and hence can't really help you further.