ATC arduino Linuxcnc 2.8

Hi.
I'm trying to build an atc for my mill.
I found this GitHub - mardini1974/ATCduino: Automatic tool changer for Linuxcnc with Arduino UNO
but it has only 8 stations.I will expand later to 20 stations if it works.
I install the atc on linuxcnc 2.8 on debian wheezy and i get only this:
Found ATC (Auto tool changer) and connecting on port
/tty/USB0.................................................................................................
...................................................................................................................................
.................................................................................................................................

and i waited 15 min and it goes forever.
I think it is missing something.
I did the instalation from the instructions on the github.
Anyone has any idea?

What does
$ dmesg |grep -i "usb"
from the command line say?
Also:
$ lsusb
?

cnc@cnc:~/linuxcnc/configs/frezz$ dmesg |grep -i "usb"
[ 1.771471] usbcore: registered new interface driver usbfs
[ 1.771531] usbcore: registered new interface driver hub
[ 1.777798] usbcore: registered new device driver usb
[ 1.778889] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.791718] ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
[ 1.800059] ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00
[ 1.800150] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.800159] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.800168] usb usb1: Product: EHCI Host Controller
[ 1.800174] usb usb1: Manufacturer: Linux 3.4-9-rtai-686-pae ehci_hcd
[ 1.800181] usb usb1: SerialNumber: 0000:00:10.4
[ 1.800510] hub 1-0:1.0: USB hub found
[ 1.810895] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.811085] uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
[ 1.811228] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.811236] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.811244] usb usb2: Product: UHCI Host Controller
[ 1.811250] usb usb2: Manufacturer: Linux 3.4-9-rtai-686-pae uhci_hcd
[ 1.811255] usb usb2: SerialNumber: 0000:00:10.0
[ 1.811563] hub 2-0:1.0: USB hub found
[ 1.811807] uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
[ 1.811924] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.811931] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.811939] usb usb3: Product: UHCI Host Controller
[ 1.811945] usb usb3: Manufacturer: Linux 3.4-9-rtai-686-pae uhci_hcd
[ 1.811951] usb usb3: SerialNumber: 0000:00:10.1
[ 1.812258] hub 3-0:1.0: USB hub found
[ 1.812483] uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
[ 1.812600] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.812609] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.812616] usb usb4: Product: UHCI Host Controller
[ 1.812622] usb usb4: Manufacturer: Linux 3.4-9-rtai-686-pae uhci_hcd
[ 1.812628] usb usb4: SerialNumber: 0000:00:10.2
[ 1.812863] hub 4-0:1.0: USB hub found
[ 1.813100] uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
[ 1.813194] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.813201] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.813207] usb usb5: Product: UHCI Host Controller
[ 1.813213] usb usb5: Manufacturer: Linux 3.4-9-rtai-686-pae uhci_hcd
[ 1.813219] usb usb5: SerialNumber: 0000:00:10.3
[ 1.813448] hub 5-0:1.0: USB hub found
[ 2.576028] usb 3-1: new full-speed USB device number 2 using uhci_hcd
[ 2.739925] usb 3-1: New USB device found, idVendor=1a86, idProduct=7523
[ 2.739934] usb 3-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 2.739943] usb 3-1: Product: USB2.0-Serial
[ 2.980026] usb 3-2: new low-speed USB device number 3 using uhci_hcd
[ 3.157924] usb 3-2: New USB device found, idVendor=04f2, idProduct=0833
[ 3.157933] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.157940] usb 3-2: Product: USB Keyboard
[ 3.157946] usb 3-2: Manufacturer: CHICONY
[ 3.182463] input: CHICONY USB Keyboard as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.0/input/input0
[ 3.182592] generic-usb 0003:04F2:0833.0001: input,hidraw0: USB HID v1.11 Keyboard [CHICONY USB Keyboard] on usb-0000:00:10.1-2/input0
[ 3.219089] input: CHICONY USB Keyboard as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.1/input/input1
[ 3.219314] generic-usb 0003:04F2:0833.0002: input,hiddev0,hidraw1: USB HID v1.11 Device [CHICONY USB Keyboard] on usb-0000:00:10.1-2/input1
[ 3.219637] usbcore: registered new interface driver usbhid
[ 3.219644] usbhid: USB HID core driver
[ 3.400031] usb 4-1: new full-speed USB device number 2 using uhci_hcd
[ 4.492592] usb 4-1: New USB device found, idVendor=16e3, idProduct=f9e9
[ 4.492601] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.492610] usb 4-1: Product: USB Touch Panel
[ 4.492616] usb 4-1: Manufacturer: ITM Inc
[ 4.816038] usb 4-2: new low-speed USB device number 3 using uhci_hcd
[ 4.984599] usb 4-2: New USB device found, idVendor=1bcf, idProduct=0005
[ 4.984608] usb 4-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 4.984616] usb 4-2: Product: USB Optical Mouse
[ 5.006096] input: USB Optical Mouse as /devices/pci0000:00/0000:00:10.2/usb4/4-2/4-2:1.0/input/input2
[ 5.006257] generic-usb 0003:1BCF:0005.0003: input,hidraw2: USB HID v1.10 Mouse [USB Optical Mouse] on usb-0000:00:10.2-2/input0
[ 10.654740] input: ITM Inc USB Touch Panel as /devices/pci0000:00/0000:00:10.2/usb4/4-1/4-1:1.0/input/input6
[ 10.654963] usbcore: registered new interface driver usbtouchscreen
[ 10.657851] usbcore: registered new interface driver usbserial
[ 10.657892] usbcore: registered new interface driver usbserial_generic
[ 10.657922] USB Serial support registered for generic
[ 10.657956] usbserial: USB Serial Driver core
[ 10.659345] usbcore: registered new interface driver ch341
[ 10.659380] USB Serial support registered for ch341-uart
[ 10.672182] usb 3-1: ch341-uart converter now attached to ttyUSB0
[ 973.320179] usb 3-1: USB disconnect, device number 2
[ 973.320544] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 973.560084] usb 3-1: new full-speed USB device number 4 using uhci_hcd
[ 973.723131] usb 3-1: New USB device found, idVendor=1a86, idProduct=7523
[ 973.723143] usb 3-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 973.723154] usb 3-1: Product: USB2.0-Serial
[ 973.738623] usb 3-1: ch341-uart converter now attached to ttyUSB0

Bus 003 Device 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 003 Device 003: ID 04f2:0833 Chicony Electronics Co., Ltd
Bus 004 Device 002: ID 16e3:f9e9
Bus 004 Device 003: ID 1bcf:0005 Sunplus Innovation Technology Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

i used the arduino serial terminal and it comunicate just fine.
The arduino is closed when i startup the linuxcnc.
Maybe something with the Python serial plugin?

Possibly, but I'm Python ignorant, sorry, good luck.

Ok.thanks for the replay.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.