use 2 teensys instead of uart and teensy?

Talk about anything concerning the source code.
Post Reply
User avatar
Goddard
Posts: 13
Joined: Wed Mar 09, 2016 12:18 am

use 2 teensys instead of uart and teensy?

Post by Goddard » Fri Mar 11, 2016 4:23 am

I have two teensys and no uart device. I am not much of a hardware guy, but I thought a teensy can act as a uart device as well.

Just curious if anyone has done this already? Can anyone show me or point me in the right direction for this?

Thanks
Kubuntu 16.04 - Razer Blade 14 2015 :D

User avatar
Matlo
Posts: 4239
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: use 2 teensys instead of uart and teensy?

Post by Matlo » Fri Mar 11, 2016 11:16 am

Paul Stoffregen (creator of the Teensy devices) has done it already:
http://www.pjrc.com/teensy/usb_serial.html
There's also an example in the LUFA project by Dean Camera:
https://github.com/abcminiuser/lufa/tre ... tualSerial

I think using a Teensy as a USB to UART adapter may result in a higher latency.
Donate Shop

User avatar
Goddard
Posts: 13
Joined: Wed Mar 09, 2016 12:18 am

Re: use 2 teensys instead of uart and teensy?

Post by Goddard » Thu Mar 17, 2016 4:48 am

Thanks for the links. I will give it a shot. I have one coming but it is slow as a snail to get here. I hate ordering things from China. At least when they send it on the cheap. I would pay 5 bucks to have it shipped normally if they offered that, but no one does.
Kubuntu 16.04 - Razer Blade 14 2015 :D

Post Reply