Skip to content

Morse key to keyboard input Raspberry Pi pico program.

Notifications You must be signed in to change notification settings

Freddy13579/MorseRPIpico-PC

Repository files navigation

MorseRPIpico-PC

Note

This program was originally designed for the game Wolfpack and it works with it by default.

Introdution

MorseRPIz-PC is a program for Raspberry Pi pico / w for reading the output of a Morse Key and transfering it into key presses of a designated key. (Which you can change in the code.py file on the 12th line)

Note

The default key is RIGHT_CONTROL

Tip

The build in LED will visualise the morse signal recived.

Installation

  1. Pick the right version of the .UF2 file, depending on your Raspberry Pi pico version.

Your RPI pico will then reboot and show as CIRCUITPY.

  1. Copy code.py and lib folder into the root directory of the CIRCUITPY.

  2. Depending on your key:

    • If you have a standard morse key, then connect it to the 3.3v(OUT) and GP0 pin.
    • If you have a self powered key with output, then connect it to the GND and GP0 pin.
  3. Have fun.

Raspberry Pi pico layout :

Official Raspberry Pi pico layout

Raspberry Pi pico W layout :

Official Raspberry Pi pico layout

Tip

  1. GP0 - Sinal reciver, 3. GND - Common ground pin, 36. 3.3v(OUT) - 3.3v DC power source pin

Keycode list

Source code for adafruit_hid.keycode

How to reset your Raspberry Pi.

Follow these instructions if your Pico ends up in an odd state

  1. Download the reset firmware from flash_nuke.uf2
  2. While holding the BOOTSEL button on the Pico, plug in the USB cable to your computer.
  3. When the RPI-RP2 drive shows up on your computer, copy the flash_nuke.uf2 file to the Pico
  4. After the device reboots, follow the Install instructions here