noduino icon indicating copy to clipboard operation
noduino copied to clipboard

Cannot connect to arduino

Open shashankmehta opened this issue 11 years ago • 4 comments

Set up: Ubuntu 12.04, node v0.8.1, arduino uno It tries to connect to /dev/usbmon0 where as uno is on /dev/ttyACM0

shashankmehta avatar Nov 02 '12 09:11 shashankmehta

I'm on the same setup -- maybe that's why I have failed to connect so far.

acarlton avatar Nov 02 '12 19:11 acarlton

Quick & Dirty fix:

duino loops through all usb devices, searching for an arduino using ls /dev | grep usb.

To fix this, edit board.js vim duino/lib/board.js

On line 80, change 'ls /dev | grep usb' to 'ls /dev | grep ACM'.

Note: Not recommended but works for now. Hope @ecto fixes https://github.com/ecto/duino/issues/2 soon!

creatorrr avatar Dec 14 '12 20:12 creatorrr

A better way to do this without loosing results is:

'ls /dev | grep -e usb -e USB -ACM'

josx avatar Feb 07 '13 20:02 josx

thans very much, work

armacali avatar Jul 11 '13 03:07 armacali