Single teensy multiple com ports ?

Status
Not open for further replies.

djamu

Member
Hello all,

Can a teensy / host PC be forced to use multiple COM ports on a single usb connection ? ( windows )

The reason I'm asking is for use with Unity, I'm logging multiple streams onto a 3.6, for real time purposes I'd like to stream those onto separate COM ports which would make it easier to parse in Unity.
The port numbers themselves wouldn't matter that much.

> for example state of switches on COM3 / analog on COM4 etc ...

In Linux I probably could write a demultiplexer, that splits a real com port to any virtual, given I insert a target port ( for example 1st byte / line ) into the serial stream.
Another option would be to use a NIC, and multiple ports...
Unfortunately I'm stuck with Windows for this project ( don't ask .... :rolleyes: )

Anyone tried this ?
 
While this is theoretically possible by hacking the USB code, in practice that would be quite a lot of work!

If you can use MIDI for your other data streams, selecting Serial+MIDI in the Tools > USB Type menu would be the easy way. The latest version supports virtual MIDI cables too. :)
 
Thx Paul for your prompt reply,

Midi is indeed an option I overlooked, by hacking USB code, you mean on the teensy side or PC side ?
 
Last edited:
Status
Not open for further replies.
Back
Top