Main page
Recent changes
Local CW keyer for remote keying
B
I
U
S
link
image
code
list
Show page
Syntax
[https://remoteqth.com/img/wiki-cw-key4remote-blok.png] [Video|https://youtu.be/_9SBgmPi6yc] [https://remoteqth.com/img/wiki-cw-key4remote-9.jpg|noborder] {TOC}'''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 ['''←''' Back to web page|https://remoteqth.com/index.php] !Configure Arduino firmware !!Master key * Enable paddle echo in serial CLI with '''\*''' * Or default in [firmware|https://sourceforge.net/p/k3ngarduinocwke/code/ci/master/tree/]. Find this line{{byte cli_paddle_echo = 0;}} and set from 0 to 1 {{byte cli_paddle_echo = 1;}} !!Slave key * Disable sidetone '''\o''' * Disable CW send echo in serial CLI with '''\:''' ** Or default in [firmware|https://sourceforge.net/p/k3ngarduinocwke/code/ci/master/tree/]. Find line{{byte cw_send_echo_inhibit = 0;}} and set from 0 to 1 {{byte cw_send_echo_inhibit = 1;}} * Disable send '''?''' after error char - disable (abt line 4655){{//default: send_the_dits_and_dahs("..--..");break;}} and add new line between define other char (abt line 4617){{case '?': send_the_dits_and_dahs("..--..");break;}} [Example firmware settings|https://remoteqth.com/sw/_2_1_unstable.zip] !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 !Server side Your need server ([Raspberry PI|RemoteQTH-server]) with [CW]daemon, or next hardware arduino cw keyer connected via [Ser2Net] proxy. !Assembly !!Circuit diagram *[.SVG|https://remoteqth.com/hw/cw-key4remote_11.svg] *[.PDF|https://remoteqth.com/hw/cw-key4remote_11.pdf] *[KiCAD source|https://remoteqth.com/download-count.php?Down=hw/remote-cw.zip] [https://remoteqth.com/img/wiki-cw-key4remote-brd.png] * 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 [https://remoteqth.com/img/wiki-cw-key4remote-1.jpg] ✔ Components [https://remoteqth.com/img/wiki-cw-key4remote-2.jpg] ❏ Solder J2, D1, D2 [https://remoteqth.com/img/wiki-cw-key4remote-3.jpg] ❏ All parts of backside (C1 sign wrong polarity on PCB) [https://remoteqth.com/img/wiki-cw-key4remote-4.jpg] ❏ J1, four TACT switch [https://remoteqth.com/img/wiki-cw-key4remote-5.jpg] ❏ LCD [https://remoteqth.com/img/wiki-cw-key4remote-6.jpg] ❏ Insert Arduino Nano [https://remoteqth.com/img/wiki-cw-key4remote-7.jpg] [https://remoteqth.com/img/wiki-cw-key4remote-8.jpg] ---- ['''←''' Back to web page|https://remoteqth.com/index.php]