Uploaded March 2026 | Updated December 2026, 1 day ago
brief demo of a new c++ program running on an ancient pi2b, that keys perfect QRQ CW (test at 65 wpm) on my elecraft k3s using AFCW MODE(a2 mode) To do this you have to activate the PTT first, then when the CW audio notes arrive, into the RIG's TX LINE INPUT(LSB) they do not get chopped off by the RIG's TX VOX circuit... the pi GPIO pin 17 is used to key the rig's PTT jack, through a FET optoisolator chip, to activate the RIG into TX mode on LSB for AFCW(A2 MODE) CW keying...
the CW KEYBOARD has many cw timing adjustments, including the PTT LEAD TIME and PTT HANG TIME... you want the PTT to start immediately, but most rigs have a delay before the PTT is fully activated, it takes my k3s about 18ms to fully turn on the PTT internal TX switch... the CW Keyboard is also using audiophile level KAISER MATH FUNCTIONS to shape the edges, the rise/fall times... and it also goes through a final polish by its KAISER AUDIO BANDPASS FILTER, that removes as much edge noise from the percussive effect of the CW starting / falling edges.. at QRQ this edge noise, even with 5 to 8 ms of rise/.fall time can get noisy the higher in speed you go... you can dial in the filter TAPs to increase hardness or softness of your edges to your preferences...
if you would like to take a look at the C++ CODE please find the whole main.cpp and its cmake file in this one file here:
https://u.pcloud.link/publink/show?code=XZcdTd5ZJkENyntDN9hVIIl1brDtuQQN0HiX
here is a user manual written by the code AI that produced the cw keyboard
with assistance by human...
https://u.pcloud.link/publink/show?code=XZkqTd5ZBGc28j98UVfynXjim0OGbL4UsOxV
UPDATE: 3-3-26
here is a new .sh launch script with some comments describing the reasons and advantages for using this launch script to activate the CW KEYBOARD and its GPIO keying PTT system:
https://u.pcloud.link/publink/show?code=XZE7wd5ZGbu693K08q5xMkuaW7XuIVVLaMMV
brief demo of a new c++ program running on an ancient pi2b, that keys perfect QRQ CW (test at 65 wpm) on my elecraft k3s using AFCW MODE(a2 mode) To do this you have to activate the PTT first, then when the CW audio notes arrive, into the RIG's TX LINE INPUT(LSB) they do not get chopped off by the RIG's TX VOX circuit... the pi GPIO pin 17 is used to key the rig's PTT jack, through a FET optoisolator chip, to activate the RIG into TX mode on LSB for AFCW(A2 MODE) CW keying...
the CW KEYBOARD has many cw timing adjustments, including the PTT LEAD TIME and PTT HANG TIME... you want the PTT to start immediately, but most rigs have a delay before the PTT is fully activated, it takes my k3s about 18ms to fully turn on the PTT internal TX switch... the CW Keyboard is also using audiophile level KAISER MATH FUNCTIONS to shape the edges, the rise/fall times... and it also goes through a final polish by its KAISER AUDIO BANDPASS FILTER, that removes as much edge noise from the percussive effect of the CW starting / falling edges.. at QRQ this edge noise, even with 5 to 8 ms of rise/.fall time can get noisy the higher in speed you go... you can dial in the filter TAPs to increase hardness or softness of your edges to your preferences...
if you would like to take a look at the C++ CODE please find the whole main.cpp and its cmake file in this one file here:
https://u.pcloud.link/publink/show?code=XZcdTd5ZJkENyntDN9hVIIl1brDtuQQN0HiX
here is a user manual written by the code AI that produced the cw keyboard
with assistance by human...
https://u.pcloud.link/publink/show?code=XZkqTd5ZBGc28j98UVfynXjim0OGbL4UsOxV
UPDATE: 3-3-26
here is a new .sh launch script with some comments describing the reasons and advantages for using this launch script to activate the CW KEYBOARD and its GPIO keying PTT system:
https://u.pcloud.link/publink/show?code=XZE7wd5ZGbu693K08q5xMkuaW7XuIVVLaMMV










