gurke
Posts: 11
Joined: Thu Sep 03, 2015 7:49 pm

arduino uno connection trouble

Wed Nov 11, 2015 10:22 am

Hi there,
I'm in trouble connecting to my arduino uno from raspbian jessy via arduino.
Board: Arduino Uno (cheap chinese one)
USB: ttyusb0
programmer: tried different ones
---
when connecting the arduino the arduino software recognizes the board at dev/ttyusb0, but after that i can't send code to the board. I always get:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync()....

I read some posts that say sth like "press reset button, then upload" and so on, but that doesn't work.
What am I doing wrong?

Thanks for your help,
gurke

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: arduino uno connection trouble

Wed Nov 11, 2015 10:59 am

Are you sure it's not appearing as /dev/ttyUSB0 (device names in Linux are CaSe SeNsItIvE, /dev/ttyusb0 <> /dev/ttyUSB0)?
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

gurke
Posts: 11
Joined: Thu Sep 03, 2015 7:49 pm

Re: arduino uno connection trouble

Wed Nov 11, 2015 12:30 pm

Yes, you're right,
It's /dev/ttyUSB0

But it doesn't change anything at the moment. The arduino seems to be connected, but I can't send code to it. Why do I get this error message?

User avatar
RST8
Posts: 64
Joined: Tue Nov 25, 2014 1:57 pm

Re: arduino uno connection trouble

Wed Nov 11, 2015 2:12 pm

gurke wrote:Yes, you're right,
It's /dev/ttyUSB0

But it doesn't change anything at the moment. The arduino seems to be connected, but I can't send code to it. Why do I get this error message?
Do you have some different USB cables you can try ? In the past I had a problem with a nano clone which had the CH340 chip on it, which just wouldn't play, despite it powering up and the COM port showing up. I tried different machines, then some different USB cables, on the 3rd USB cable all was fine and I could send it code. The USB cables that didn't work didn't show any obvious damage with other devices seemed OK, but clearly something didn't sit well with the nano.

Joe

gurke
Posts: 11
Joined: Thu Sep 03, 2015 7:49 pm

Re: arduino uno connection trouble

Wed Nov 11, 2015 3:12 pm

:shock: Brilliant!

Thank you for the hint! It wasn't the cable at the end but the uno. Luckily I ordered 2, and the second one works fine. Strange because it shows up at the arduino program, the led's glow and blink - anyway, it's not working.
Thank you for your help!

Return to “Troubleshooting”