Hi,
I am planning to by my first Raspberry Pi. I read tutorials and there is one thing I don't understand.
I thought that the first thing we needed to implement was the USB-keyboard driver.
I was surprised to see that the tutorials use the UART to get the keyboard-input.
Do we need to buy extra hardware for the USB-to-UART conversion or the Raspberry Pi does that for us?
I know only a little about hardware ...
Regards,
rob
Raspberry PI Keyboard
Re: Raspberry PI Keyboard
Those tutorials are referring to serial input via a terminal application running on another computer. Depending upon the computer you need a serial to Pi serial cable or - more likely - a USB to Pi serial cable (e.g. https://uk.farnell.com/adafruit-industr ... gKMTPD_BwE ) These cables connect to the gpio pins on the Pi.
To get input from a USB keyboard you need to write (or find) a USB driver (e.g. https://github.com/rsta2/uspi ).
To get input from a USB keyboard you need to write (or find) a USB driver (e.g. https://github.com/rsta2/uspi ).
Re: Raspberry PI Keyboard
Thanks!
Re: Raspberry PI Keyboard
Note that the driver @iansjack linked is relevant for Rpi 1-3 (including 3b+), but not Rpi4 which uses an XHCI controller for the USB ports.