I have a usb keyboard, want to connect to arduino
I want know usb data Data- / Data+ can direct use the serial protocols ?????
just like Attach image
Or some better way??
thank everyone
please teach me
I have a usb keyboard, want to connect to arduino
I want know usb data Data- / Data+ can direct use the serial protocols ?????
just like Attach image
Or some better way??
thank everyone
please teach me
NO.
If you want to connect a keyboard to an Arduino you need a USB Host shield.
But do make sure that the USB Host shield can work with your keyboard before spending money. I have no personal experience with the USB Host shield.
...R
Hi,
not an answer to the original question, but in case you have an old PS2 keyboard, that can be connected easily.
I used a 1$ PS2 connector module, but there are soldering instructions in PS2Keyboard lib.
In this posting you can find a simple editor based on PS2Keyboard and DueVGA libraries, and a youtube video:
https://forum.arduino.cc/index.php?topic=393453.msg2708741#msg2708741
Hermann.
You can connect USB Keyboard to Arduino with USBtoPS/2 adapter, PS/2 Arduino module and PS2Keyboard library,
Just found this little thing:
http://www.aliexpress.com/item/1PCS-USB-Female-to-PS2-PS-2-Male-Converter-Adapter-keyboard-Mouse-Mice/32635919488.html
0,34$ with free shipping, I could not resist and ordered two.
[Sending snail main inside Germany does cost 0.70€(0.80$) at minimum ...]
Hermann.
The adapter works with every usb keyboard?