Local CW keyer for remote keying
This revision is from 2014/04/20 17:24. You can Restore it.
This project was terminated, because its functionality will be inserted in the new OpenInterface
Principle - arduino keyer identifies the played characters (enabled echo feature in K3NG code) and sending to server for playing with other hardware of the cw keyer or cw daemon (contains RemoteQTH server for Raspberry PI). This configuration is resistant to change internet latency during transmission, because not transmitted separately each dit/dash, but the entire ASCII character that perfectly transmiting the server side.Main functions:
- CW keying
- Detect keying characters and show on the LCD
- Send keying characters to USB serial (echo mode)
- CW sidetone during the PTT is ON, otherwise play audio from RX
- Sidetone volume
- Four SET/MEM switch
Configure Arduino firmware
Enable serial CLI echo as default in K3NG firmware.
Find this line
byte cli_paddle_echo = 0;
and set from 0 to 1
byte cli_paddle_echo = 1;
Plug&play connecting in Linux
Udev rules
After connect Arduino nano show IDs with type dmesg in terminal, and edit udev rules
vim /etc/udev/rules.d/99-remoteqth.rules
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A702R984", SYMLINK+="ttyCW0", RUN+="/etc/cw.sh"
Connection script /etc/cw.sh
#!/bin/bash SERVER=192.168.1.1 # IP YOUR SERVER CWDPORT=6789 killall socat sleep 3 socat UDP:$SERVER:$CWDPORT /dev/ttyCW0,raw,echo=0 & exit 0
Connecting in Windows
Assembly
Circuit diagram
- Jumper JP1 choose output between headphone and external out on P1
- K1 prepared for connection CW speed potentiometer
- RV1 set CW sidetone volume
- RV2 preset LCD contrast
✔ Components
❏ Solder J2, D1, D2
❏ All parts of backside (C1 sign wrong polarity on PCB)
❏ J1, four TACT switch
❏ LCD
❏ Insert Arduino Nano