1 / 3
Keyboard emulator to use a morse key/paddle phone/tablet/computer — image 1
1 / 3

Keyboard emulator to use a morse key/paddle phone/tablet/computer

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

Diy keyboard emulator to use a morse key/paddle with phone/tablet/computer, tested with morse mania app, emulate A and S

Rating
0 / 5
Likes
0
Downloads
1
Makes
0
Views
36
Reviews
0

Updated at source:

Model information

Category
Electronics
License
Creative Commons — Public Domain

Diy keyboard emulator to use a morse key/paddle with phone/tablet/computer, tested with morse mania app, emulate A and S. 

Used an Arduino Pro Micro (with USB C) and a 3.5mm stereo audio plug, 4x m3 screws (10mm), and cut window made with a  1.5 ish mm acrylic glued for the window.

Arduino Sketch (copy and paste) (code made with AI tool):

#include <Keyboard.h>

const int DIT_PIN = 2; // Paddle dit -> S

const int DAH_PIN = 3; // Paddle dah -> A

void setup() {

pinMode(DIT_PIN, INPUT_PULLUP);

pinMode(DAH_PIN, INPUT_PULLUP);

Keyboard.begin();

delay(1000); // Give USB time to initialize

}

void loop() {

// Dit paddle -> S

if (digitalRead(DIT_PIN) == LOW) {

Keyboard.press('s');

} else {

Keyboard.release('s');

}

// Dah paddle -> A

if (digitalRead(DAH_PIN) == LOW) {

Keyboard.press('a');

} else {

Keyboard.release('a');

}

delay(5);

}

Tags