Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Raspberry Pi and Teensy 2.0 USB Serial communication

  1. #1

    Raspberry Pi and Teensy 2.0 USB Serial communication

    I need to communicate with a teensy 2.0, just as an arduino Leonardo connects to the raspberry pi,
    I tried the same code that is using and it Works with the Leonardo,
    but it doesn't with the teensy, why is that?
    how can I install a serial driver for the teensy in the raspberry pi?

    It Works with the Leonardo and the teensy on Windows.

    Thanks a lot in advance,
    Rodrigo Herrera

  2. #2
    My Raspi and my Teensy 2 work just fine together.

    Do you see a /dev/ttyACM0 (or ACM1 or whatever) device on the Raspi?

    What is added to dmesg when you plug in your Teensy?
    What does "lsusb" say on the Raspi?
    Did you set the USB type to serial on Teensy?

  3. #3
    I see a /dev/ttyACM0 on the Raspi, I have set the teensy to serial and the onlything that happens when I "ser.readline()" is it keeps waiting and never shows anything

    this is what is added to dmesg

    [ 177.013019] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
    [ 177.116199] usb 1-1.3: New USB device found, idVendor=16c0, idProduct=0483
    [ 177.116229] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 177.116246] usb 1-1.3: Product: USB Serial
    [ 177.116258] usb 1-1.3: Manufacturer: Teensyduino
    [ 177.116270] usb 1-1.3: SerialNumber: 12345
    [ 177.197091] cdc_acm 1-1.3:1.0: This device cannot do calls on its own. It is not a modem.
    [ 177.197381] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
    [ 177.200509] usbcore: registered new interface driver cdc_acm
    [ 177.200540] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    and the last of these is added in lsusb>

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
    Bus 001 Device 004: ID 16c0:0483 VOTI Teensyduino Serial
    Last edited by rodrigoherrera; 12-24-2012 at 02:59 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts