1
0
Fork
You've already forked morsekeyboard
0
A simple adapter allowing to use a morse paddle with applications like Dahdidahdit.
  • Rust 94.2%
  • RPC 5.8%
2025年04月21日 23:49:48 +02:00
.cargo Add keyboard example from embassy 2025年04月10日 20:03:08 +02:00
docs Documentation 2025年04月10日 20:53:02 +02:00
src Send double key press event on squeeze 2025年04月21日 23:49:48 +02:00
.gitignore Initial commit 2025年04月10日 20:02:41 +02:00
build.rs Add keyboard example from embassy 2025年04月10日 20:03:08 +02:00
Cargo.lock Allow to squeeze 2025年04月15日 18:29:42 +02:00
Cargo.toml Allow to squeeze 2025年04月15日 18:29:42 +02:00
memory.x Add keyboard example from embassy 2025年04月10日 20:03:08 +02:00
README.md Documentation 2025年04月10日 20:53:02 +02:00

Morse keyboard

A simple adapter allowing to use a morse paddle with applications like Dahdidahdit.

The adapter registers as a USB-Keyboard. Dits are translated to the Character a and dahs to b.

The hardware

The adapter is just a rp2040 with a 3.5mm TRS socket soldered directly to some GPIO pins.

In my case, I used a rp2040-Plus by Waveshare which comes with a USB-C plug.

Wiring:

  • Tip: Pin 14
  • Ring: Pin 17
  • Sleeve: GND

The socket leads are soldered directly to the board. board with socket

Shrink-tubing is used to protect the board. covered_board.jpg

The tube is not yet shrunk, so I can still reach the boot button to update the firmware.

In use with Dahdidahdit on an Android phone. in_use.jpg

The software

I copied and adapted the keyboard example from the embassy project.

Some small changes later, the code sends the character a for dits and b for dahs.

To load the firmware, plugin your rp2040 with the boot button pressed. Then run:

cargo run --release

Or download the morsekeyboard.uf2 from the release page and copy it to the rp2040 drive.

Similar projects