The idea is quite simple: connect 2 buttons (or double paddle telegraph key) to the Arduino board, connect Arduino board to your computer and use it as a keyboard. If dots and dashes sequence is recognized, it will be decoded to an ASCII char and sent to the computer, and it will be just the same as if you typed it on your keyboard. This can be useful as a trainer for those, who want to learn morse code, or you can just have fun with it.
Project is based on Nano ESP32 board, list of parts you will need:
- Arduino board (refer to docs to select one that that supports HID)
- 2 push buttons (or double paddle key, which is actually just 2 buttons, I used this one)
- piezo capsule (it greatly helps to train proper morse code timing, I used PKM22EPP-40)
- USB cable to connect Arduino to your computer
copy morse_iambic_keyboard
folder to your Arduino sketchbook folder, open it in Arduino IDE, then upload it to your board.