There are very few parts needed besides the Raspberry Pi to build the solution. While the Arduino tolerates 3.3V logic input, 5V outputs from the Arduino can damage or destroy the Raspberry Pi and must not be connected directly to 3.3V GPIO pins directly.
The following should be wired from the Pi to either the level shifter or the Arduino. Unlike UART, SPI does not share pins with Bluetooth on the Raspberry Pi so the Bluetooth radio does not need to be disabled.īefore powering either device, double-check the connections. Using an SPI connection, an Arduino Micro (not Pro) or compatible can be flashed from the Pi and used as an HID keyboard and mouse. But you don't need to connect the Arduino VIN pin if you connected USB (Arduino will get power through it). Preparing the installation for SPI devices and programmingĮnable the SPI configuration and restart kvmdįixing the USB absolute mouse on Windows 98Ĭonnect VIN pin of Arduino to any Raspberry's 5v pin for PS/2 only device.