Hi all,
i am wanting to connect a small USB keyboard to a Teensy 3.2 which should only SEND data to the Teensy 3.2. No data needs to be sent to the keyboard. I can power the keyboard using my supply rails (+5V and Ground) but then the info needs to come from the keyboard to the Teensy and that is where i am getting into problems.
How is the data sent from the keyboard to the Teensy using USB? There are two data lines in the USB connector, D- and D+. Is the data sent down just one of the pins, the same as using the 5-pin DIN connector? If so, i can just wire up the USB in the same way as the 5-pin DIN then can't i? I am using the Nuts and Volts schematic for the 5-pin DIN connection to the Teensy 3.2.
https://www.notesandvolts.com/2015/02/midi-and-arduino-build-midi-input.html
Does the USB connection need to be made using BOTH the D- and D+ lines to the Teensy 3.2? If so, how does the code for that work?
I hope that for the uses i want it for, and because i am powering the keyboard using an external power supply, the Teensy doesn't need to be a USB host.
Any help would be appreciated
Cheers
NM
i am wanting to connect a small USB keyboard to a Teensy 3.2 which should only SEND data to the Teensy 3.2. No data needs to be sent to the keyboard. I can power the keyboard using my supply rails (+5V and Ground) but then the info needs to come from the keyboard to the Teensy and that is where i am getting into problems.
How is the data sent from the keyboard to the Teensy using USB? There are two data lines in the USB connector, D- and D+. Is the data sent down just one of the pins, the same as using the 5-pin DIN connector? If so, i can just wire up the USB in the same way as the 5-pin DIN then can't i? I am using the Nuts and Volts schematic for the 5-pin DIN connection to the Teensy 3.2.
https://www.notesandvolts.com/2015/02/midi-and-arduino-build-midi-input.html
Does the USB connection need to be made using BOTH the D- and D+ lines to the Teensy 3.2? If so, how does the code for that work?
I hope that for the uses i want it for, and because i am powering the keyboard using an external power supply, the Teensy doesn't need to be a USB host.
Any help would be appreciated
Cheers
NM