จากบทความนี้ http://www.arduinoall.com/article/%E0%B8%AA%E0%B8%AD%E0%B8%99-%E0%B8%A7%E0%B8%B4%E0%B8%98%E0%B8%B5-%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99-arduino-wi-fi-module-esp8266-%E0%B8%97%E0%B8%B3%E0%B8%AA%E0%B8%A7%E0%B8%B4%E0%B8%95%E0%B8%8A%E0%B9%8C-wifi-%E0%B9%83%E0%B8%99-3-%E0%B8%99%E0%B8%B2%E0%B8%97%E0%B8%B5
พอ อัพโหลดโค้ดไปแล้ว มันขึ้นยังงี้ครับ
Sketch uses 11,078 bytes (34%) of program storage space. Maximum is 32,256 bytes.
Global variables use 828 bytes (40%) of dynamic memory, leaving 1,220 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xaf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xaf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xaf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xaf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xaf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xaf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xaf
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 8 of 10: not in sync: resp=0xaf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xaf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xaf
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
avrdude: stk500_recv(): programmer is not responding
แปลว่าอัพโหลดไม่ได้ สาเหตุอาจมาจากขา rx,tx ของบอร์ด Arduino Uno ชนกับขา rx,tx ของ esp8266 ให้ถอดสายของบอร์ด esp8266 ออกก่อน แล้วอัพโหลดใหม่ครับ
มันขึ้นยังงี้อะครับ
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x41
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x54
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x2b
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x52
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x53
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x54
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x0d
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x0a
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x41
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x54
เหมือนมีปัญหากับช่อง RX TX
ไม่ได้เลยครับ ขึ้นเหมือนเดิมเลือกถูกต้องหมดนะ
เฉพาะบอร์ด ก็อัพโหลดไม่เข้าเหรอครับ
แบบนี้ให้เช็คที่ bootloader ครับ
เฉพาะบอร์ด UNO อัพโหลดเข้าครับ แต่พอต่อขา RX TX ขึ้น Error เลย
อย่างที่แนะนำตอนแรกครับ
avrdude: stk500_recv(): programmer is not responding
แปลว่าอัพโหลดไม่ได้ สาเหตุอาจมาจากขา rx,tx ของบอร์ด Arduino Uno ชนกับขา rx,tx ของ esp8266 ให้ถอดสายของบอร์ด esp8266 ออกก่อน แล้วอัพโหลดใหม่ครับ
ขา rx,tx ของ arduino เอาไว้ส่งข้อมูลเวลาโปรแกรม แต่เอาไปต่อพ่วงกับขา rx,tx ของ esp8266 จึงไม่สามารถอัพโหลดได้
มันขึ้นยังงี้นะสิ avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x41
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x54
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x2b
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x52
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x53
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x54
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x0d
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x0a
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x41
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x54
อย่างที่แนะนำตอนแรกครับ
avrdude: stk500_recv(): programmer is not responding
แปลว่าอัพโหลดไม่ได้ สาเหตุอาจมาจากขา rx,tx ของบอร์ด Arduino Uno ชนกับขา rx,tx ของ esp8266
ให้ถอดสายของบอร์ด esp8266 ออกก่อน แล้วอัพโหลดใหม่ครับ
ขา rx,tx ของ arduino เอาไว้ส่งข้อมูลเวลาโปรแกรม แต่เอาไปต่อพ่วงกับขา rx,tx ของ esp8266 จึงไม่สามารถอัพโหลดได้
ไม่ได้นะครับ ผมถอดออกหมดและ แล้วลองอัพใหม่ Error เหมือนเดิม
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x04
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xfc
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x04
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x44
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x04
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xfc
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x04
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x44
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x04
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x44