Keyboard emulator to use a morse key/paddle phone/tablet/computer
Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.
Zapisane na tym urządzeniu.
Diy keyboard emulator to use a morse key/paddle with phone/tablet/computer, tested with morse mania app, emulate A and S
- Ocena
- 0 / 5
- Polubienia
- 0
- Pobrania
- 1
- Wydruki
- 0
- Wyświetlenia
- 36
- Oceny
- 0
Aktualizacja u źródła:
Informacje o modelu
- Źródło
- Printables
- Kategoria
- Electronics
- Licencja
- 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);
}