Page 1 of 1

Using second teensy instead of USB to TTL CP2102 converter

Posted: Wed Nov 12, 2014 8:05 pm
by yellow monkey
Hello guys,
I'm new here :D

While I wait for the delivery of the CP2102 converter I thought why not use a second teensy 2.0 as TTL to USB in the meantime. (I have 2x teensy 2.0)

Does it work?
This guy HERE did it with 2x Arduino2560.

1) Where can I find the firmware to use it as a TTL to USB converter? atmega32u4.
2) How do I do this: "disable the UART of both the atmega chips (configure both rx and tx pins as inputs)"?


Please help!

Re: Using second teensy instead of USB to TTL CP2102 convert

Posted: Sat Nov 15, 2014 9:39 am
by Matlo
Hi,
yellow monkey wrote: 1) Where can I find the firmware to use it as a TTL to USB converter? atmega32u4.
There's some source code on the pjrc website: https://www.pjrc.com/teensy/usb_serial.html
I compiled it for you: http://gimx.fr/download/9172c0cf255bc51 ... serial.hex
Keep in mind that it may have more latency than the CP2102 board. You should replace the teensy with the CP2102 board as soon as you receive it.
yellow monkey wrote:2) How do I do this: "disable the UART of both the atmega chips (configure both rx and tx pins as inputs)"?
You don't have to do this. The Arduino2560 has two on board chips. The atmega2560 has to be disabled so that the atmega8u2 can connect to the other atmega8u2.