--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/6e155b2e-7bae-4668-9eab-a44545896d12n%40googlegroups.com.
Hi Kurt and Other New HL2 Owners,
We created a novel CW keyer to specifically address CW sidetone latency but still allow for remote location of the HL2. In my opinon, this is a more interesting "software-defined" solution for a software-defined radio. I chose not to productize this as I did not want to take on the anticipated support and time commitments, but it is entirely open software and hardware if someone would like to take on the project.
73,Stevekf7o

I have built this on just a Teensy 4.0 using MIDI for all control, integrated into one of my PiHPSDR controllers to act as an audio sound card feeding headphones and amplifier as well as a keyer and PTT buffering, no external hardware controls. Every once in a while it hangs, but generally is pretty reliable, I have made no further changes to it I some time.
I have leveraged the 48KHz changes from the keyer project in my own Teensy SDR project OpenAudio_Library (F32) + Teensy Audio library (I16) with success for full USB RX/TX audio at 48KHz. I created a procedure to help modify the Teensy library with the necessary changes including creating a custom USB Type (Dual Serial+Audio) and making it show up correctly in Windows USB device properties. This version I left out the clock correction code as that was another level of effort I was not ready to tackle.
The above procedure was necessary because each version of TeensyDuino installs a new audio library requiring you apply the same changes each upgrade. As the audio library changes each time, someone has to manually update a version and distribute it or a patch procedure/script. To see longevity for this product in the hands of everyday users, a small team would have to update the library periodically to keep up with Arduino/TeensyDuino changes over time. It is possible to compile with an old version but again, that requires more detailed user skills/instructions to manage multiple versions, especially multiple versions of TeensyDuino on the same computer. AS far as I can tell, the uptake among my SDR code users has been very small, I think it is intimidating to all but experienced coders.
Paul and team were working with Arduino authors to better enable dynamic USB type detection for Teensy. I Have not looked at the most recent TeensyDuino/Arduino combo. The USB types were hard coded into the Teensy discovery tools. I manually updated the Arduino IDE boards.txt files to force my new USB type into the Tools USB Type menu, but it will not show up in the more easily seen pulldown menu listing the USB resources found. Given the frequent updates to TeensyDuino and Arduino, I often skip the USB manual updates due to the amount of work it takes each time.
All of this to issue a warning. The hardware part is easy to get right and produce. You will face a more difficult task maintaining the software side as it requires specialized knowledge to commit to periodic updates over a long period of time to be considered proper support. Supporting those changes in the wild could be time consuming also, TBD. I suspect each of the keyer software authors know how to do this but will they want to commit to the long term effort surely to be required?
From: herme...@googlegroups.com <herme...@googlegroups.com>
On Behalf Of KP4RX - Ramon
Sent: Monday, August 7, 2023 9:57 AM
To: Hermes-Lite <herme...@googlegroups.com>
Subject: Re: Companion board questions
Hi Steve, while I'm not CW proficient, my coding skills are pretty raw, and also my pcb design skills are raw too, I would like to help moving forward with the project. I'm not a developer or electrical engineer (In fact I'm a Network Architect) but I do know how to manage software code and electronic circuits. I would just need a few pointers to the different firmwares and previous testing notes (If any). If you can send one of the keyers I can cover the shipping cost so the project's funds can be invested somewhere else. If we can find 9 or 10 testers willing to support it I can coordinate with makerfabs to build another small batch with the current design or including those updates you mentioned and work as a team to polish the Keyer for GA. Please let me know if you want to move forward on this.
73 de KP4RX
Max
On Friday, 4 August 2023 at 22:42:17 UTC+1 radi...@mail.com wrote:
Just to clarify, the idea of this interface is not just a keyer. If you simply wish to work CW with the HL2 local to your operating position you can use regular keyer with (if software does not cater) local sidetone.
CW with SDRs sounds very simple but it's anything but. The simplest mode for most conventional analogue transceivers becomes the most tricky when it comes to SDRs! Yes, a few ms (granted quite a lot more than 2 or 3 ms can be tolerated) can be very off-putting especially when keying at higher speeds (25 wpm +). Anyway, there is latency inherent in any SDR, so it's impractical to do what many would do with an analogue rig and simply open up the RX front end slightly to listen to the actual (attenuated) TX signal. Instead you must rely on sidetone, either locally generated or in the software. Your mention of guitar via amp simulator is akin to the software providing the sidetone. SDR Console does this with latency adequate for up to perhaps about 30wpm. SparkSDR also provides sidetone. I do not know what the speed limitation is (if any). By far the easiest way around all of this is a keyer generated sidetone but then you slightly miss the luxury of perfectly netting the TX tone frequency on to the received station as you can with SDR Console for example. But that's no real issue I guess. In my experience of CW operators syncing tone frequency, relatively few people manage it!
Anyway, all of this is missing the point somewhat with ref to Steve's remote keyer. The whole point of HL2 is it is a networked radio. So all operations should be achievable over the network, be it your local LAN or a far away remote location. So idea of Steve's "Teensy Keyer" project is to be able to key the HL2 when it's located remotely at some distance away, while not worrying about latency of sidetone etc., so keys the TX over network, not via the front panel key jack that we might normally use for local operation. Not only that, but also serves as a standalone audio interface to which you can attach mic and speakers/headphones, so it makes the HL2 a complete "remote package" so to speak with no use of the PC soundcard.
All details here:
Hope that helps to clarify what this interface does and achieves over and above a regular keyer like Winkeyer etc.
73
Max
On Friday, 4 August 2023 at 20:50:01 UTC+1 ron.le...@gmail.com wrote:
I have electric guitar that I plug into USB audio interface and use Guitarix to simulate tubes, effects and Impulse Response cabinet emulation. It does all this with no perceivable latency. I'm not sure why CW can't be done in software SDR with at least that low of latency. Does a couple ms latency really throw one off on CW?
On Friday, August 4, 2023 at 8:40:46 AM UTC-6 ya...@yarda.eu wrote:
It would be great if somebody experienced with Makerfabs and the
logistic stuff could organize group buy (without additional support). In
such case I would be interested in at least one keyer
73! Jaroslav, OK2JRQ
--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
hermes-lite...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/hermes-lite/e4caac19-0de3-44cf-8ff6-01df4a4d0d05n%40googlegroups.com.
I should add, the below described library challenge would be moot if and when TeensyDuino picks up support for 48KHz or user selectable rates, something many folks have been looking for. Maybe the default 44.1KHz can work instead of 48KHz (leveraging PC side resampling or SDR app config options). There are also some changes addressing latency that may never make it into the main audio library.
Hate to be a killjoy, as a current user I find this keyer design perfect for me, but one has to consider the software challenges ahead in parallel to the hardware side. One thought I had was to use a dedicated low-cost USB audio chip fixed at 48KHz and do the rest in Arduino, removing the most troublesome portion of the project. Not as elegant but the software can focus on user features.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/MW4PR10MB5728FE929D50DE51D10D1548F60CA%40MW4PR10MB5728.namprd10.prod.outlook.com.
Changed the title to specify the keyer, not the companion board that was the original subject.
I did a quick look around and one of the first examples I came across of a USB Audio bridge is the CP2615 from Silicon Labs. Has I2S interface and requires no drivers, minimal software interface. 16bit at 48KHz.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/MW4PR10MB57284F4A764B92A5FF13F961F60CA%40MW4PR10MB5728.namprd10.prod.outlook.com.
The CP2615 and related family chips appear to be destined for the obsolete pile. I was not able to find any replacement function USB/I2S chips that were going to be around for a while. Some options did not support 48K or even 44.1K. Maybe a SPDIF to USB interface. So much for the easy(ier) hardware answer…. I was reading a 2020-2021 thread that suggest professional audio products are or have moved to ethernet. Perhaps the low cost audio products are now using codecs with integrated USB.
You can use TeensyLoader (or TyCommander, my favorite) to upload hex files. We do this for some novice SDR builders.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/e6cc1c2c-d85c-453a-8b99-bd6d850e899fn%40googlegroups.com.
Great info Steve.
I think that needed to be mentioned so users (esp some of use new ones) can make an informed buying decision! Before spending extras on possibly unneeded hardware that in situations may or may not really be required.
Rick