22-04-2017, 17:04
Cześć, kilka dni temu kupiłem sklepie internetowym Arduino R3 Starter Kit.
Po podłączeniu do komputera i zainstalowaniu sterowników wraz z Arduino IDE ver 1.8.2 i wybraniu odpowiedniej płytki i portu, postanowiłem uczyć się poprzez tutorial. W jednym z punktów było napisane żeby wybrac przykład Basics ->Blink,
W TUT było napisane że po uruchomieniu jej powinny migać diody RX i TX i L, w moim przypadku migały tylko RX i L.
Dioda ON i L świecą się na czerwono.
Ale po zakończeniu Blink wyskoczył bład :
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
Problem z wgrywaniem na płytkę. Sprawdź http://www.arduino.cc/en/Guide/Troubleshooting#upload w poszukiwaniu sugestii.
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x41
Oczywiście próbowałem szukać w google lecz nie było nigdzie tematu o braku reakcji diody TX, wszystkie czynności jakich się podjąłem nie doszły do skutku, jeszcze było coś o USBasp ale nie jestem w jego posiadaniu, a może problem można byłoby rozwiązać inaczej.
Próbowałem też zapalić diodę i udało mi się ustalić że jeśli podlącze kabelki do GND i pinu RX będzie się świecić jeśli do
GND i TX to świeci bardzo słabo, a po wpisaniu do kodu
i podłączeniu kabelków
w pin 9 oraz GND, dioda nie świeci się, co więcej po chwilii w arduino IDE wyskakuje tak jak w przypadku Blink'a:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
Problem z wgrywaniem na płytkę. Sprawdź http://www.arduino.cc/en/Guide/Troubleshooting#upload w poszukiwaniu sugestii.
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xa6
Jeszcze na koniec dodam że płytka na spodzie ma datę: 2011-3-02 więc może płytka jest za stara, ale nie wiem.
Być może po prostu wymiana płytki u sprzedawcy na nowszy model załatwiła by sprawę, a jak wy myślicie czy uda się coś tu zrobić ?
Po podłączeniu do komputera i zainstalowaniu sterowników wraz z Arduino IDE ver 1.8.2 i wybraniu odpowiedniej płytki i portu, postanowiłem uczyć się poprzez tutorial. W jednym z punktów było napisane żeby wybrac przykład Basics ->Blink,
W TUT było napisane że po uruchomieniu jej powinny migać diody RX i TX i L, w moim przypadku migały tylko RX i L.
Dioda ON i L świecą się na czerwono.
Ale po zakończeniu Blink wyskoczył bład :
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
Problem z wgrywaniem na płytkę. Sprawdź http://www.arduino.cc/en/Guide/Troubleshooting#upload w poszukiwaniu sugestii.
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x41
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x41
Oczywiście próbowałem szukać w google lecz nie było nigdzie tematu o braku reakcji diody TX, wszystkie czynności jakich się podjąłem nie doszły do skutku, jeszcze było coś o USBasp ale nie jestem w jego posiadaniu, a może problem można byłoby rozwiązać inaczej.
Próbowałem też zapalić diodę i udało mi się ustalić że jeśli podlącze kabelki do GND i pinu RX będzie się świecić jeśli do
GND i TX to świeci bardzo słabo, a po wpisaniu do kodu
Kod:
4
5
6
7
void setup() {
pinMode(8, OUTPUT);
digitalWrite(8, HIGH);
}
void loop() {
}
w pin 9 oraz GND, dioda nie świeci się, co więcej po chwilii w arduino IDE wyskakuje tak jak w przypadku Blink'a:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
Problem z wgrywaniem na płytkę. Sprawdź http://www.arduino.cc/en/Guide/Troubleshooting#upload w poszukiwaniu sugestii.
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xa6
Jeszcze na koniec dodam że płytka na spodzie ma datę: 2011-3-02 więc może płytka jest za stara, ale nie wiem.
Być może po prostu wymiana płytki u sprzedawcy na nowszy model załatwiła by sprawę, a jak wy myślicie czy uda się coś tu zrobić ?