/ps2x2pico

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

Primary LanguageCMIT LicenseMIT

ps2x2pico

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

hw1 hw2 hw3 hw4

Keyboard only variant: https://github.com/No0ne/ps2pico

Usage

                   _________________
                  |                 |
Pico GPIO11 ______| LV1         HV1 |______ PS/2 keyboard clock
Pico GPIO12 ______| LV2         HV2 |______ PS/2 keyboard data
Pico GPIO13 ______| LV          HV  |______ PS/2 5V + Pico VBUS
Pico    GND ______| GND         GND |______ PS/2 GND
Pico GPIO14 ______| LV3         HV3 |______ PS/2 mouse clock
Pico GPIO15 ______| LV4         HV4 |______ PS/2 mouse data
                  |_________________|

Build

make sure Pico SDK is on develop branch

export PICO_SDK_PATH=/path/to/pico-sdk
mkdir build
cd build
cmake ..
make

Resources