Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"
Sketch uses 7450 bytes (23%) of program storage space. Maximum is 32256 bytes.
Global variables use 414 bytes (20%) of dynamic memory, leaving 1634 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=0xeb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xeb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xeb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xeb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xeb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xeb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xeb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xeb
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xeb
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xeb
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
แปลว่าติดต่อบอร์ด Arduino Uno ไม่ได้ ครับ
สาเหตุและวิธีแก้ เช็ค 4 อย่างนี้ครับ
1. เช็คว่าไม่ได้ต่ออุปกรณ์ชนกับขา rx,tx หรือถอดอุปกรณ์ออกเหลือบอร์ด Arduino Uno อย่างเดียว แล้วอัพโหลดใหม่
2. อาจมาจาก bootloader หาย ลงโปรแกรม bootloader ใหม่
3. IC Atmega328P อาจมีปัญหา เปลี่ยน IC ใหม่
4. วงจรบอร์ด Arduino Uno มีปัญหา