USB **HID** Shield ?

Status
Not open for further replies.

b2020

Member
I'm in need of a USB HID Shield for Teensy 4.1 - not a Host Shield

Retail, or github.

Yes, I do have two separate USB Hosts that I need to connect to at the same time, from the same Teensy 4.1

I am assuming I cannot use the USB Host adapter (no OTG), plus the Host connector is already spoken for.

It looks like this was more common when Arduino boards were on-board serial, no USB?
Solutions based on AT90USB162?

Stuff like this?
http://code.rancidbacon.com/ProjectLogArduinoUSB

Is there anything else? Or is that not a thing at all these days?
 
I've been thinking about this problem too and decided to use a second Arduino board (Teensy LC?) and connect the two of them via a serial or i2c connection. Then it's a small matter of software.
 
You mean, you wanted to use 2nd USB on T4.1 (or 4.0, or even T3.6) as USB device?
yes, you can do that with purely SW.

I started with that in https://github.com/WMXZ-EU/USB2 (for T3.6) as I wanted on T3.6 480 MBit transfer speed
As 2nd USB on T3.6 is similar to 2nd port of T4.x, further porting to T4.x should be possible with little pain
obviously you must add all device SW
 
You mean, you wanted to use 2nd USB on T4.1 (or 4.0, or even T3.6) as USB device?

That's useful for part of my needs, thanks!

But it does not cover all uses cases :(

I always have to connect to two separate USB hosts using two physical connectors.
Plus, in one important use case, I *have* to attach another separate USB device to the Teensy 4.1 2nd USB acting as Host.

So I still need that 3rd USB plug, and my understanding is that will have to be a separate USB chip.
 
use a second Arduino board (Teensy LC?) and connect the two of them via a serial or i2c connection

You know, that is not a bad idea at all!

Can't find any explicit confirmation that LC has USB Raw HID and HID

https://forum.pjrc.com/threads/59565-USB-Raw-HID

but would assume so as bootloader uses it.

Have to think about bandwidth on the teensy-to-teensy I2C/serial - Teensy 4.1 not in the tables here yet

https://www.pjrc.com/teensy/td_uart.html
https://forum.pjrc.com/threads/29232-Fast-connections-between-RPi-and-Teensy-3-1

31250 baud MIDI - given common Teensy uses - might be a safe bet.
That'd give me about 30 bytes per HID refresh at 1kHz even if that's the best I get.
 
Can't find any explicit confirmation that LC has USB Raw HID and HID

In Arduino, click Tools > Boards and select Teensy LC.

Then click Tools > USB Type to see the USB device configurations which are supported on Teensy LC.

If you select other Teensy models, you can see which USB Type options they have. For example, you'll see the more powerful boards support USB Audio, but Teensy LC does not.
 
... and the IDE let's me do that even w/o a Teensy LC attached :)

Just ordered mine yesterday. Thanks!
 
Status
Not open for further replies.
Back
Top