Sandwich
Member
Hey there!
I've been working on making a MIDI hub and things have been going really well so far. I've got the Teensy talking to PC through USB, and a bunch of incoming and outgoing DIN ports all talking to each other. My last task is to get the USB Host working so that I can plug a hub into it and plug MIDI controllers into the hub. However, this is where I'm getting stuck. My code wasn't working, so I decided to just go to example code and I can't get that working either. I'm using the Examples/Examples for teensy 4.0/USBHost_t36/serial/MIDI/InputExamples sketch to keep things easy while I troubleshoot.
My Teensy has the VIN/VUSB separated. I have a live 5v rail supplying voltage to the Teensy's VIN and also this new additional USB port. I soldered wires to the D- and D+ pads directly below the existing Teensy USB port (on the bottom side of the board). The 5v, D-, D+, GND are all wired into a female USB A port (in that order when looking at the rear of the port), and a midi instrument is plugged into it. When I run the sketch I get the "USB Host InputFunctions example" message in the serial monitor, but no messages from keyon, keyoff, etc...
I just had a thought and am wondering if I fried anything by supplying 5v, however I don't think usb will run without it so I imagine the D- and D+ are 5v tolerant... I hope. I've also tried supplying 3v with no luck. I really hope I can figure this out with some help, though, I'm so close to completing the project!
Thanks for any advice!
Edit: Also, I've selected Serial + MIDI as the USB Type
I've been working on making a MIDI hub and things have been going really well so far. I've got the Teensy talking to PC through USB, and a bunch of incoming and outgoing DIN ports all talking to each other. My last task is to get the USB Host working so that I can plug a hub into it and plug MIDI controllers into the hub. However, this is where I'm getting stuck. My code wasn't working, so I decided to just go to example code and I can't get that working either. I'm using the Examples/Examples for teensy 4.0/USBHost_t36/serial/MIDI/InputExamples sketch to keep things easy while I troubleshoot.
My Teensy has the VIN/VUSB separated. I have a live 5v rail supplying voltage to the Teensy's VIN and also this new additional USB port. I soldered wires to the D- and D+ pads directly below the existing Teensy USB port (on the bottom side of the board). The 5v, D-, D+, GND are all wired into a female USB A port (in that order when looking at the rear of the port), and a midi instrument is plugged into it. When I run the sketch I get the "USB Host InputFunctions example" message in the serial monitor, but no messages from keyon, keyoff, etc...
I just had a thought and am wondering if I fried anything by supplying 5v, however I don't think usb will run without it so I imagine the D- and D+ are 5v tolerant... I hope. I've also tried supplying 3v with no luck. I really hope I can figure this out with some help, though, I'm so close to completing the project!
Thanks for any advice!
Edit: Also, I've selected Serial + MIDI as the USB Type