I try to connect a USB Keyboard to my Mega but failed yet.
Bevore I had sucsessfully read from a PS2 Keyboard with the PS2Keyboard Lib.
Now I try to make an adapter beetween USB an PS2. I connected the following PINS:
USB PS2 Meaning Mega
1 4 5 V 5 V
2 1 Data 3
3 5 CLK 4
4 3 GND GND
When I read the input using the PS2Keyboard Lib, I get with keyboard.read FF every second, even when I press no button.
I think I got at least the power pins right, because the lights at the keyboards flashed shortly.
So I varied the remaining pins, but no combination yields the expected result.
Do you have any recommendations?
Or is there a better way than using the PS2- Interface?
And I tried a bought Adapter witch didnt work either.