Author Topic: TTL Serial connection  (Read 375 times)

Offline BulldogLowell

  • Hero Member
  • *****
  • Posts: 1536
  • Karma: +189/-83
TTL Serial connection
« on: August 12, 2017, 09:03:25 am »
I have a USB TTL device that connects to my mac with this address:

Code: [Select]
/dev/cu.usbmodem1421
I am trying to connect to it using the Develop Apps -> Serial Port Configuration but it is not identified by my Vera... I suppose it is looking for FTDI Serial devices, or may I connect TTL devices?

how may i accomplish this or will I need a FTDI to TTL converter?

Offline Z-Waver

  • Master Member
  • *******
  • Posts: 4428
  • Karma: +245/-120
Re: TTL Serial connection
« Reply #1 on: August 13, 2017, 12:32:10 pm »
SSH into Vera and run dmesg. Note the last couple of lines.

Plug the device into Vera and then run dmesg again. Find the previously noted last couple of lines. Anything after those lines is related to the newly plugged device, including its path /dev/...

Offline BulldogLowell

  • Hero Member
  • *****
  • Posts: 1536
  • Karma: +189/-83
Re: TTL Serial connection
« Reply #2 on: August 14, 2017, 09:02:27 am »
OK, progress... Thanks!!

without USB device:
Code: [Select]
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
eth0: link down
eth0: link up (100Mbps/Full duplex)
ramips-wdt: timeout value 60 must be 0 < timeout < 25
eth0: link down
eth0: link up (100Mbps/Full duplex)
eth0: link down
eth0: link up (100Mbps/Full duplex)

and with USB device attached:
Code: [Select]
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
eth0: link down
eth0: link up (100Mbps/Full duplex)
ramips-wdt: timeout value 60 must be 0 < timeout < 25
eth0: link down
eth0: link up (100Mbps/Full duplex)
eth0: link down
eth0: link up (100Mbps/Full duplex)
usb 2-1: new full speed USB device using rt3883-ohci and address 2
cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a modem.
cdc_acm 2-1:1.0: ttyACM0: USB ACM device

What to do next?

Offline Z-Waver

  • Master Member
  • *******
  • Posts: 4428
  • Karma: +245/-120
Re: TTL Serial connection
« Reply #3 on: August 15, 2017, 07:46:08 am »
/dev/ttyACM0 its your device.

Offline BulldogLowell

  • Hero Member
  • *****
  • Posts: 1536
  • Karma: +189/-83
Re: TTL Serial connection
« Reply #4 on: August 15, 2017, 08:43:01 am »
/dev/ttyACM0 its your device.

so, i can disregard this message:
Code: [Select]
cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a modem.
?

Offline Z-Waver

  • Master Member
  • *******
  • Posts: 4428
  • Karma: +245/-120
Re: TTL Serial connection
« Reply #5 on: August 16, 2017, 08:32:11 am »
I don't know.

All I can tell you is that when plugged into Vera, the device exists at /dev/ttyACM0