Communication between Teensy2.0++ and Arduino Uno

Status
Not open for further replies.

Nicolasto

New member
Hello everybody!

I was wondering if it was possibile to connect a teensy 2.0++ to an arduino with a serial comunication by using the usb(on the teensy) and a FTDI breakout board.

Thank you
 
The best way would be directly connecting Arduino Uno's RX & TX pins (pin 0 and 1) to Teensy++ 2.0's RX & TX (pin 2 & 3).

In other words, connect Uno pin 0 to Teensy++ pin 3. Connect Uno pin 1 to Teensy++ pin 2. Of course, also connect their grounds together.

On Uno, use Serial, and on Teensy++, use Serial1.

For the sake of development, you might want to connect the 2 signal wires through a double-pole switch (or 2 single-pole switches), so you can disconnect the Teensy++ when you upload new code to the Uno board.

On Teensy++, the USB is completely separate from pins 2 and 3, so you can upload new code to Teensy++ even when Uno is still connected.
 
Here's the USB spec. It's a huge document, but chapter 4 is short and explains the key details of USB, like host vs device roles.

http://www.pjrc.com/teensy/beta/usb20.pdf

Please read chapter 4. Teensy currently only supports device mode. That FTDI chip is also only a device. Chapter 4 should make the reason why this can't work much clearer.
 
Last edited:
Status
Not open for further replies.
Back
Top