microenthusiast
Member
Hello,
I am new to microcontroller programming/design and I am looking for a solution that will allow me to receive a usb keyboard's key input into a microcontroller which can also be setup to communicate with an esp32. \
So basically, the keyboard has wires that connect the controller board to the usb connector which goes into the computer. I want to cut the wires and solder them onto a microcontroller's pads to intercept the keyboard input. I guess it needs to be a microcontroller that has be a usb host and and device? And needs to have a usb library. I think the newer teensy controllers are able to do this? I need to confirm, and also understand where you would solder the wires coming out of the keyboard.
Again, I don't want to plug the keyboard's usb a cable into the microcontroller, I want to solder the wires onto the microcontroller, and then after I am done doing all the data processing on the teensy and esp32, I want to solder either of those microcontrollers to the remains of the keyboard wiring so that the original wire can still plug into the computer.
The important checkboxes are:
-microcontrollers are housed inside the keyboard case
-microcontroller(s) receive and interpret keyboard keystrokes
-original keyboard cable is wired back (after the microcontroller) and still plugs into pc.
So keyboard controller board >>> microcontrollers >>> keyboard wires >>>usb A plugs into PC tower.
Any direction is greatly appreciated.
I am new to microcontroller programming/design and I am looking for a solution that will allow me to receive a usb keyboard's key input into a microcontroller which can also be setup to communicate with an esp32. \
So basically, the keyboard has wires that connect the controller board to the usb connector which goes into the computer. I want to cut the wires and solder them onto a microcontroller's pads to intercept the keyboard input. I guess it needs to be a microcontroller that has be a usb host and and device? And needs to have a usb library. I think the newer teensy controllers are able to do this? I need to confirm, and also understand where you would solder the wires coming out of the keyboard.
Again, I don't want to plug the keyboard's usb a cable into the microcontroller, I want to solder the wires onto the microcontroller, and then after I am done doing all the data processing on the teensy and esp32, I want to solder either of those microcontrollers to the remains of the keyboard wiring so that the original wire can still plug into the computer.
The important checkboxes are:
-microcontrollers are housed inside the keyboard case
-microcontroller(s) receive and interpret keyboard keystrokes
-original keyboard cable is wired back (after the microcontroller) and still plugs into pc.
So keyboard controller board >>> microcontrollers >>> keyboard wires >>>usb A plugs into PC tower.
Any direction is greatly appreciated.