Comments - Remote CW Keying over the internet of an Elecraft K3S - QRQ CW test - 80 wpm - QRQcw2024-03-29T08:21:14Zhttp://qrqcwnet.ning.com/profiles/comment/feed?attachedTo=1993813%3ABlogPost%3A31124&xn_auth=noHere is a simpler setup for R…tag:qrqcwnet.ning.com,2018-02-27:1993813:Comment:339502018-02-27T11:24:47.310ZChuck aa0hwhttp://qrqcwnet.ning.com/profile/chase
<p>Here is a simpler setup for REMOTE CONTROL OVER IP of an ELECRAFT K3S using a RASPBERRY Pi and the free software APPS - "FLRIG" & "GSTREAMER" - Gstreamer provides full duplex, high fidelity, low latency audio streaming using the OPUS CODEC between the rig/PI and the laptop/remote. FLRig provides the software interface to control many of the K3S knobs(using REALvnc to see and operate the pi appps on the pi desktop)...all you need really is a RASPBERRY PI and a USB CABLE connected from…</p>
<p>Here is a simpler setup for REMOTE CONTROL OVER IP of an ELECRAFT K3S using a RASPBERRY Pi and the free software APPS - "FLRIG" & "GSTREAMER" - Gstreamer provides full duplex, high fidelity, low latency audio streaming using the OPUS CODEC between the rig/PI and the laptop/remote. FLRig provides the software interface to control many of the K3S knobs(using REALvnc to see and operate the pi appps on the pi desktop)...all you need really is a RASPBERRY PI and a USB CABLE connected from the back plate USB PORT of the K3S over to one of the USB PORTS on the RASPBERRY PI.</p>
<p><iframe width="560" height="315" src="https://www.youtube.com/embed/rFO9dKqdirg?wmode=opaque" frameborder="0" allowfullscreen=""></iframe>
</p>
<p>brief demo of using the AUDIO OVER IP software called "Gstreamer" <a href="https://gstreamer.freedesktop.org/" target="_blank">https://gstreamer.freedesktop.org/</a><br/> - on an ELECRAFT K3S raspberry PI computer interface in communication over ip with a remote laptop....Gstreamer provides the AUDIO OVER IP full duplex pipeline between the remote station and the HOME BASE.(pi uses ALSA only and the K3S USB sound card...all you need is a USB CABLE to connect the RIG to the PI)</p>
<p>the K3S own USB SOUND CARD is utilized...its USB connection to the PI also allows for serial control of many of the K3S KNOBS using software like FLrig - <a href="http://www.w1hkj.com/flrig-help/" target="_blank">http://www.w1hkj.com/flrig-help/</a></p>
<p>almost all of the "work" is done at the REMOTE LAPTOP(i7 quad core) to free up the PI's CPU to concentrate just on providing 2 way full duplex Gstreamer audio ...and the ELECRAFT K3S usb serial function for using FLrig to adjust the RIG's controls OVER ip...</p>
<p>NOTE: the audio you are hearing is coming directly from the K3S input audio monitor circuits OVER IP using Gstreamer IN FULL DUPLEX AUDIO STREAMING from the RIG/pi to the LAPTOP/remote...Gstreamer does a GREAT JOB of preserving intact the original audio to be transmitted in high fidelity and low latency using the OPUS CODEC at 128k bit rate 48k sample rate...1 channel audio stream from the RIG/pi to the LAPTOP/remote and another 1 channel audio stream from the laptop/REMOTE to the rig/PI</p>
<p>REALvnc is used to visualize the PI's desktop and adjust FLRig and enter the Gstreamer commands in Terminal</p>
<p>NOTE: since only ALSA is used on the PI, for Gstreamer...no complicated setups with pulseaudio or JACK AUDIO CONNECTION:JACKROUTER are needed for this method...NOTE: the only ALSA sound card on this PI is the ELECRAFT K3S usb sound card, once a USB CABLE connects between the back panel of the K3S and one of the USB PORTS on the PI(the pi's own analogue sound card is blacklisted to prevent interference in choosing the default ALSA DEVICE when using Gstreamer on the PI for TRANSMIT and RECEIVE audio - OPUS CODEC)</p>
<p>RASPBERRY PI command line to TRANSMIT to LAPTOP REMOTE: <br/>gst-launch-1.0 alsasrc provide-clock=true do-timestamp=true buffer-time=30000 ! audio/x-raw,channels=1 ! audiorate ! audioconvert ! opusenc bitrate=128000 frame-size=40 ! rtpopuspay max-ptime=10000000 ! udpsink host=192.168.1.101 port=5001</p>
<p>LAPTOP command line to TRANSMIT to RASBERRY PI<br/>gst-launch-1.0 jackaudiosrc provide-clock=true do-timestamp=true buffer-time=30000 ! audio/x-raw,channels=1 ! audiorate ! audioconvert ! opusenc bitrate=128000 frame-size=40 ! rtpopuspay max-ptime=10000000 ! udpsink host=192.168.1.130 port=5002</p>
<p>RECEIVE COMMAND line for RASPBERRY PI:<br/>gst-launch-1.0 -v udpsrc port=5002 caps="application/x-rtp" ! queue ! rtpopusdepay ! opusdec ! audioconvert ! alsasink buffer-time=60000</p>
<p>RECEIVE COMMAND line for LAPTOP REMOTE:<br/>gst-launch-1.0 -v udpsrc port=5001 caps="application/x-rtp" ! queue ! rtpopusdepay ! opusdec ! audioconvert ! jackaudiosink buffer-time=60000</p>
<p>NOTE: the subtone shown in the video is for triggering the RIG's VOICE VOX activation circuit ahead of the arriving "TRANSMIT AUDIO"...The SUB TONE turns on the RIG's PTT CIRCUIT and allows any audio the K3S TRANSMIT input audio circuit "hears" on its USB SOUND CARD LINE INPUT to be transmitted fully - no chopping off of the first bits of VOICE or CW AUDIO TONEs(afcw mode)</p>
<p>NOTE: the LINEAR DELAY LINE...due to some delay over ip...and also the inherit delay in most every rig using VOICE VOX technique...is used to prevent the first part of a word or CW NOTE from being chopped off......first the 33 hertz SUBTONE goes out at -21 db volume to trigger the rigs VOICE VOX CIRCUIT...TURN ON PTT etc(NOTE: 33 hertz is too low in freq and power to actually get transmitted...it is rejected/filtered OUT - by the RIG's transmit circuits...and this 33 hertz then..is only used to activate the PTT circuit ahead of the arriving voice or cw that will be transmitted</p> Here is another REMOTE RIG se…tag:qrqcwnet.ning.com,2018-02-22:1993813:Comment:337472018-02-22T22:07:16.785ZChuck aa0hwhttp://qrqcwnet.ning.com/profile/chase
<p>Here is another REMOTE RIG setup using the FREE UltraGrid AUDIO OVER IP software</p>
<p><iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/dupGNkiYclQ?wmode=opaque" width="560"></iframe>
</p>
<p>Brief demo of using UltraGrid for RIG's transmit and receive audio - <br></br>both VOICE and CW(afcw mode) can be used with this setup -<br></br>for a REMOTE HAM RADIO OPERATOR using a laptop OVER IP to the HOME RIG(NOTE: FLRig is also used to control many knobs on the…</p>
<p>Here is another REMOTE RIG setup using the FREE UltraGrid AUDIO OVER IP software</p>
<p><iframe width="560" height="315" src="https://www.youtube.com/embed/dupGNkiYclQ?wmode=opaque" frameborder="0" allowfullscreen=""></iframe>
</p>
<p>Brief demo of using UltraGrid for RIG's transmit and receive audio - <br/>both VOICE and CW(afcw mode) can be used with this setup -<br/>for a REMOTE HAM RADIO OPERATOR using a laptop OVER IP to the HOME RIG(NOTE: FLRig is also used to control many knobs on the RIG over ip...previously demo'D on other vidZ in this channel)</p>
<p>NOTE: since the K3S has its own USB SOUND card, this makes it very useful for a remote rig setup like this, since you can choose that soundcard inside JACKROUTER as its audio device...a USB CABLE from the back of the K3S to the rig's computer USB PORT is all that is needed...in addition, you also have the use of FLRig too..through the K3S USB PORT's serial function...so you can get both AUDIO and CONTROL many of the K3S KNOBS via FLrig</p>
<p>ULTRAGRID:<br/><a href="http://www.ultragrid.cz/" target="_blank">http://www.ultragrid.cz/</a></p>
<p>UltraGrid has versions for MAC, LINUX and WINDOWS</p>
<p>this video is using LINUX - Lubuntu 16.04 and the Jack Audio Connection Kit audio engine via KXstudio's JACK APPs<br/><a href="http://kxstudio.linuxaudio.org/" target="_blank">http://kxstudio.linuxaudio.org/</a></p>
<p>UltraGrid commands used for RIG's Linux desktop computer:<br/>uv --audio-capture-format channels=2 --param low-latency-audio --audio-codec OPUS:samplerate=48000:bitrate=64000 -r portaudio -s portaudio [ip address of remote Client]</p>
<p>UltraGrid commands used for remote Linux Laptop computer:<br/>uv --audio-capture-format channels=2 --param low-latency-audio --audio-codec OPUS:samplerate=48000:bitrate=64000 -r portaudio -s portaudio [ip address of rig's computer]</p> Here is another video demo of…tag:qrqcwnet.ning.com,2017-11-04:1993813:Comment:324242017-11-04T16:58:58.780ZChuck aa0hwhttp://qrqcwnet.ning.com/profile/chase
<p>Here is another video demo of a FREE REMOTE RIG setup using a RASPBERRY PI & some free software. This setup allows for remote operations using morse code, voice, rig control and Log book:</p>
<p><iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/8cor-e1VDqs?wmode=opaque" width="560"></iframe>
</p>
<p>- this video demo's a Raspberry PI 2b, setup for remote rig operations - controlled from a remote LINUX LAPTOP -</p>
<p>A Raspberry PI connects…</p>
<p>Here is another video demo of a FREE REMOTE RIG setup using a RASPBERRY PI & some free software. This setup allows for remote operations using morse code, voice, rig control and Log book:</p>
<p><iframe width="560" height="315" src="https://www.youtube.com/embed/8cor-e1VDqs?wmode=opaque" frameborder="0" allowfullscreen=""></iframe>
</p>
<p>- this video demo's a Raspberry PI 2b, setup for remote rig operations - controlled from a remote LINUX LAPTOP -</p>
<p>A Raspberry PI connects software and hardware to the RIG<br/>3 audio derived RIG CW KEYING circuits are used:<br/><a href="http://qrqcwnet.ning.com/forum/topics/what-circuit-for-computer" target="_blank">http://qrqcwnet.ning.com/forum/topics/what-circuit-for-computer</a><br/>- one to key the CW JACK, one to key the PTT jack and another one to key the CW JACK(for remote's paddles/st key)</p>
<p><br/>software used:<br/>1. FLdigi<br/>2. FLrig<br/>3. FLlog<br/>4. TRX</p>
<p>TRX is an OPUS codec Linux audio streaming CLI app using ALSA <br/><a href="http://www.pogo.org.uk/~mark/trx/" target="_blank">http://www.pogo.org.uk/~mark/trx/</a><br/><a href="http://www.pogo.org.uk/~mark/trx/tx.txt" target="_blank">http://www.pogo.org.uk/~mark/trx/tx.txt</a><br/><a href="http://www.pogo.org.uk/~mark/trx/rx.txt" target="_blank">http://www.pogo.org.uk/~mark/trx/rx.txt</a><br/><a href="https://github.com/eugenehp/trx/wiki/trx:-Realtime-audio-over-IP" target="_blank">https://github.com/eugenehp/trx/wiki/trx:-Realtime-audio-over-IP</a><br/><a href="https://github.com/schlowmo/trx" target="_blank">https://github.com/schlowmo/trx</a></p>
<p>FLdigi, FLrig<br/><a href="http://www.w1hkj.com/flrig-help/" target="_blank">http://www.w1hkj.com/flrig-help/</a><br/><a href="https://sourceforge.net/projects/fldigi/" target="_blank">https://sourceforge.net/projects/fldigi/</a></p>
<p>here is a list of the TRX audio streams made by TRX for this setup:<br/>ONTHE RASPBERRY PI:<br/>1. using the K3S's USB SOUND CARD (playback) TRX is setup to stream the RIG's receiver audio and RIG's sidetone(optional) to the remote HAM RADIO OP's computer's soundcard<br/>2. one TRX RX audio stream is setup to receive the VOICE AUDIO from the remote HAM RADIO OP's MICrophone<br/>3. another TRX RX audio stream(using a different port number) is setup to receive the morse code audio tones from the remote HAM RADIO OP's paddles and straight key</p>
<p>ON THE REMOTE HAM RADIO OP's COMPUTER:<br/>1. TRX is setup to receive the audio stream from the PI, which is forwarding the rig's receiver audio including sidetone(optional)<br/>2. TRX is setup to stream the audio from the paddles and straight key and transit it to the PI(uses the different port number 1351)<br/>3. TRX is setup to stream the audio from the MIC to the PI</p>
<p>NOTE: on the receive streams, you have to experiment with the JITTER BUFFER -j to find the best setting for a stable audio stream...</p>
<p>NOTE: on the transmit streams, if you have a good internet connection, you may be able to lower the latency by lowering the value of the buffer using the -m command(default=16ms)</p> Here is a LIVE recording of a…tag:qrqcwnet.ning.com,2017-08-19:1993813:Comment:314272017-08-19T15:21:50.629ZChuck aa0hwhttp://qrqcwnet.ning.com/profile/chase
<p>Here is a LIVE recording of an HF 40 METER QSO as an example of using the REMOTE SETUP:</p>
<p><iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/bG5sWvpKUY4?wmode=opaque" width="560"></iframe>
</p>
<p>This video demo's a remote laptop station CW keying an Elecraft K3S using paddles, straight key, and a cw keyboard(FLdigi)<br></br>- as an example of how it works, a LIVE CW HF QSO on 40 meters has been recorded...</p>
<p>An audio derived cw keying circuit…</p>
<p>Here is a LIVE recording of an HF 40 METER QSO as an example of using the REMOTE SETUP:</p>
<p><iframe width="560" height="315" src="https://www.youtube.com/embed/bG5sWvpKUY4?wmode=opaque" frameborder="0" allowfullscreen=""></iframe>
</p>
<p>This video demo's a remote laptop station CW keying an Elecraft K3S using paddles, straight key, and a cw keyboard(FLdigi)<br/>- as an example of how it works, a LIVE CW HF QSO on 40 meters has been recorded...</p>
<p>An audio derived cw keying circuit is used to key the K3S remotely:<br/><a href="http://qrqcwnet.ning.com/forum/topics/what-circuit-for-computer" target="_blank">http://qrqcwnet.ning.com/forum/topics/what-circuit-for-computer</a></p>
<p>BASIC SETUP FORMAT:</p>
<p>the K3S has its own LINUX computer and uses MUMBLE VOICE CHAT to receive cw audio tones from the remote laptop...<br/>on the K3S LINUX computer, the Mumble Client sends the receive from laptop's audio to the VLeveL AGC app first, then from the output of VLeveL AGC app, the audio goes to a USB SOUND CARD(with included audio amp) that has an audio cable connecting its audio output to the hardware transformer input of the audio derived cw keying circuit. The circuit rectifies the cw audio tones from the Rig's COMPUTER mumble output, and turns on a transistor that grounds the hot lead of the K3S CW KEYING JACK and thus keys the RIG like normal... the K3S at the same time, in full duplex audio, is sending the HF RECEIVE audio back to the laptop remote station over MUMBLE, using another usb sound card that only uses its LINE INPUT(so there are 2 sounds cards used, one just for transmitting and the other just for receiving...)</p>
<p><a href="http://vlevel.sourceforge.net/about/" target="_blank">http://vlevel.sourceforge.net/about/</a><br/><a href="http://groundstation.sourceforge.net/grig/" target="_blank">http://groundstation.sourceforge.net/grig/</a><br/><a href="https://www.realvnc.com/en/" target="_blank">https://www.realvnc.com/en/</a></p>
<p>NOTE: THE VLeveL Linux app is essential for this method to work well, it functions as an automatic volume(gain) controller so that no matter how much volume of cw audio from the laptop is going to the rig's cw keying circuit, the VLeveL app will keep the audio exactly the same, just like an AGC CIRCUIT, then you can "dial in " how much audio you want going to the circuit, which will allow you to adjust how light or heavy you want your cw keying to sound like...by adjusting the sound card's own volume control...</p>
<p>RealVNC , and GRIG, are used on the remote rig's computer..so you can control the frequency of the RIG and a few other of the rig's controls...</p>
<p>NOTE: to key CW using paddles, and st key on the remote laptop station, here is the method used on LINUX:<br/><a href="http://i.imgur.com/1E8ncU5.png" target="_blank">http://i.imgur.com/1E8ncU5.png</a><br/>(a cw keyer keys a 555 chip, with a square wave audio output, that connects to the laptop's mic jack input, from there it is regenerated using TRIGGER MIDI MONO and midiCW): <br/><a href="http://qrqcwnet.ning.com/profiles/blogs/using-the-linux-lv2-plugin-trigger-midi-mono-as-a-morse-code-prac" target="_blank">http://qrqcwnet.ning.com/profiles/blogs/using-the-linux-lv2-plugin-trigger-midi-mono-as-a-morse-code-prac</a></p>