No0ne / ps2x2pico

USB keyboard/mouse to PS/2 interface converter using a Raspberry Pi Pico

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ps2x2pico

USB keyboard/mouse to PS/2 interface converter using a Raspberry Pi Pico

hw1 hw2 hw3 hw4

Keyboard only (incl. PC-XT) variant: https://github.com/No0ne/ps2pico

PicoMiteVGA variant: https://github.com/No0ne/hid2cdc

PiKVM integration:

Usage

⚠️ Please note that some older motherboards have non-resettable fuses rated under 300mA.

Check the power consumption of your keyboard/mouse/hub first before plugging in!

Level Shifter wiring diagram

PS/2 Pinout diagram

⚠️ Do not assume wire colors will match cables depicted in photos. Double-check your pinout with a multimeter.

Troubleshooting

You can hook up a USB serial adapter to GPIO0 for additional debugging output. The serial settings are 115200 baud, 8 data bits and no parity. You can also use another Pico running the pico-uart-bridge for this.

⚠️ If you have a YD-RP2040 (see silkscreen on back of board if unsure) and are not using a USB hub with its own power supply, you need to bridge two pads of the diode pair near the USB-C port as seen here:

Fix for YD-RP2040

Build

(update to the latest TinyUSB release first)

export PICO_SDK_PATH=/path/to/pico-sdk
cd $PICO_SDK_PATH/lib/tinyusb
git checkout 0.16.0

cd /path/to/ps2x2pico
mkdir build
cd build
cmake ..
make

Resources

About

USB keyboard/mouse to PS/2 interface converter using a Raspberry Pi Pico

License:MIT License


Languages

Language:C 92.0%Language:CMake 8.0%