How to Connect a USB Keyboard With an Arduino? (re-upload see community tab)

86 Просмотры
How can we connect a USB Keyboard to an Arduino? Let´s find out. Of course you can also connect a legacy PS/2 keyboard by the way shown in this video.
Unfortunately there seem to be some newer USB keyboards around that no more support the PS/2 protocol.
Sources and schematic: https://create.arduino.cc/projecthub/michalin70/connect-a-usb-keyboard-with-an-arduino-50c077

Camera: https://amzn.to/3kDp1BJ
USB Oscilloscope: https://amzn.to/3CMC7Tu

Consider to support this channel on Patreon and get updates about ongoing projects and preview videos!
Buy me a coffee: https://www.buymeacoffee.com/docvolt
Paypal: https://www.paypal.com/paypalme/docvolt

0:00 Introduction
0:40 Description of the PS/2 protocol
1:41 Writing a simple keyboard routine for an Arduino Nano
2:40 PS/2 scancodes
3:50 Example: Typing on a LCD display
Комментариев нет.