안녕하세요. 에듀이노 개발팀입니다.
보드 업로드시 에러가 발생하였을 때 포트가 연결이 일시적으로 끊겼을 수도 있으니 [장치관리자 – 포트 ] 나노 보드 연결 된 포트 번호가 있는지 확인 부탁드립니다.
[아두이노 – 툴 – 프로세서]에서 328P 또는 328P(old Bootloader) 중 선택하실 때 잘 못 선택이 되면 오류가 발생할 수 있습니다.
두 개 번갈아가면서 선택을 하셔서 확인 부탁드립니다.
MG995R은 5V 이상의 외부 전원이 인가되어야 구동이 됩니다.
나노보드는 저전력 보드로 USB 전원으로 연결하여 사용하면 MG995R 모터를 구동하기에는 전원이 부족합니다.
외부전원을 공급하셔서 MG996R 모터를 사용하시려면 모터 드라이버 모듈을 사용하시는 것을 참고 부탁드립니다.
아래 링크를 참고 부탁드립니다.
16채널 12비트 PWM 서보모터 드라이버 모듈 (PCA9685) :
http://www.eduino.kr/product/detail.html?product_no=164&cate_no=55&display_group=1
감사합니다.
[ Original Message ]
MG995 모터를 제어하는데.. 데모 코드를 실행하면 모터만 틱틱거리는 소리가 나기만 합니다. 어떻게 해야 하나요?
그리고 아두이노 나노를 셋팅하고(드라이버 설치및 아두이노에서 보드설정및 포트 설정) 업로드하면
스케치는 프로그램 저장 공간 1504 바이트(4%)를 사용. 최대 30720 바이트.
전역 변수는 동적 메모리 184바이트(8%)를 사용, 1864바이트의 지역변수가 남음. 최대는 2048 바이트.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x1a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x1a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x1a
avrdude: stk500_recv(): programmer is not responding
보드에 업로딩중에 문제 발생. 다음을 참고하세요. http://www.arduino.cc/en/Guide/Troubleshooting#upload
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x1a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x1a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x1a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x1a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x1a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x1a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x1a
에러 나옵니다. 문제가 뭔가요?