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
แบบนี้แปลว่าติดต่อบอร์ดทางขา rx,tx ไม่ได้
ถ้าเกิดตอนอัพโหลดโค้ดลงบอร์ด อาจมาจากขาอุปกรณ์ตัวอื่นชนกับขาอัพโหลด ลองถอดอุปกรณ์ให้เหลือแต่บอร์ด แล้วอัพโหลดใหม่ครับ