hi, i'm trying connect pi 2 arduino's (using usb cables) , communicate using java , rxtx library.
java program works , can find 1 of 2 arduino's. i'm having issues second arduino'.
first tried figure out ports of arduino's. found out /dev/ttyusb0 works 1 of arduino's. there doesn't seem /dev/ttyusb1 or other port other arduino. tried /dev/ttyacm0 doesn't work.
here output dmesg after plugging in non working arduino:
clues?
thanks
java program works , can find 1 of 2 arduino's. i'm having issues second arduino'.
first tried figure out ports of arduino's. found out /dev/ttyusb0 works 1 of arduino's. there doesn't seem /dev/ttyusb1 or other port other arduino. tried /dev/ttyacm0 doesn't work.
here output dmesg after plugging in non working arduino:
here output of lsusb:[ 795.793920] usb 1-1.4: usb disconnect, device number 6
[ 802.688258] usb 1-1.5: new full-speed usb device number 7 using dwc_otg
[ 802.802140] usb 1-1.5: new usb device found, idvendor=2341, idproduct=0043
[ 802.802159] usb 1-1.5: new usb device strings: mfr=1, product=2, serialnumber=220
[ 802.802173] usb 1-1.5: manufacturer: arduino (www.arduino.cc)
[ 802.802185] usb 1-1.5: serialnumber: 95335343036351a001b0
[ 802.803473] cdc_acm 1-1.5:1.0: ttyacm0: usb acm device
same setup works fine on regular laptop btw. know both arduino's fine.bus 001 device 007: id 2341:0043 arduino sa uno r3 (cdc acm)
bus 001 device 005: id 1a86:7523 qinheng electronics hl-340 usb-serial adapter
bus 001 device 004: id 8888:6666
bus 001 device 003: id 0424:ec00 standard microsystems corp. smsc9512/9514 fast ethernet adapter
bus 001 device 002: id 0424:9514 standard microsystems corp.
bus 001 device 001: id 1d6b:0002 linux foundation 2.0 root hub
clues?
thanks
the serial port (two pins on gpio) should work second connection - post has info (around nanpy , arduino , serial ports) (but careful of voltage differences)
viewtopic.php?f=44&t=46881&p=839460&hilit=nanpy#p839460
viewtopic.php?f=44&t=46881&p=839460&hilit=nanpy#p839460
raspberrypi
Comments
Post a Comment