No description
  • C 83.2%
  • CMake 16.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-09-27 20:33:48 +02:00
doc NuXTv2 mod 2023-09-27 20:33:48 +02:00
src XT pio ready for testing 2023-09-27 20:06:44 +02:00
.gitignore feature complete 2022-08-21 18:57:48 +02:00
CMakeLists.txt XT pio working 2023-09-24 21:00:18 +02:00
LICENSE Initial commit 2022-07-16 19:40:28 +02:00
pico_sdk_import.cmake feature complete 2022-08-21 18:57:48 +02:00
README.md NuXTv2 mod 2023-09-27 20:33:48 +02:00

ps2pico

USB keyboard to PS/2+AT or XT interface converter using a Raspberry Pi Pico

hw1 hw2 hw3 hw4

Keyboard + Mouse variant: https://github.com/No0ne/ps2x2pico

Usage

  • Download ps2pico.uf2 or ps2pico-XT.uf2 from https://github.com/No0ne/ps2pico/releases
  • Copy ps2pico.uf2 or ps2pico-XT.uf2 to your Pi Pico by pressing BOOTSEL before pluggging in.
  • Afterwards connect a USB keyboard using an OTG-adapter and PS/2+AT or XT 5V to Pico VBUS.
  • Also works with wireless keyboards with a dedicated USB receiver.
  • 3.3V/5V conversion is done with two NPN transistors, two zener diodes and four resistors as shown below:
                 PS/2+AT / XT CLOCK
                       |           ____
                       |__________|10k |___________ GPIO 14
            ____       |          |____|     |
GPIO 15 ___|2k2 |____|/  BC547             __|__
           |____|    |\e                    / \  3V6
                       |                     |
                   ____|__GND________________|___


                 PS/2+AT / XT DATA
                       |          ____
                       |_________|10k |____________ GPIO 17
            ____       |         |____|      |
GPIO 16 ___|2k2 |____|/  BC547             __|__
           |____|    |\e                    / \  3V6
                       |                     |
                   ____|__GND________________|___

NuXTv2

If you have a NuXTv2 you can build an internal version of the ps2pico-XT! Replace U10 with the pico, remove RN13 and add two 4k7 pull-up resistors as shown below:

hw5 hw6 hw7

Build

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

Resources