¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Adding a Software Keyer


 

Hi Chuck:

No need to "hide" Glen's work. Indeed, I met him two years ago at the Four Days in May conference that takes place each year in Dayton just before the hamfest. He's an interesting guy. BTW, I've attended that conference for the last two years and have had a blast there and will go again next year. It's sponsored by?QRP Amateur Radio Club International, publishers pf QRP Quarterly magazine. Anyone who enjoys QRP should look at the magazine and consider the conference, especially if you're going to Dayton anyway.

As to the keyer, there should be plenty of code space for a keyer. The Arduino Projects for Amateur Radio that Dennis and I wrote has two keyers in it. Rather than a relay, we use an optoisolator (4N26) to isolate the keyed line. Potato...potaato...

Anyone else who has added anything please share it with the rest of us. It's fun to see what's being done.

73,
Jack, W8TEE



From: "chuckhobin@... [SoftwareControlledHamRadio]"
To: SoftwareControlledHamRadio@...
Sent: Sunday, August 21, 2016 2:00 PM
Subject: [SoftwareControlledHamRadio] Adding a Software Keyer

?
After I built this fun project, I thought it would be interesting to add a software keyer. I looked around, and found some simple iambic?keyer code in that other Arduino for Ham Radio book (published by an un-named national amateur radio association). ?Chapter 17 describes?an Arduino Uno-based keyer with an LCD display, speed control pot, sidetone speaker, and reed relay for output. ?I was able to re-use?parts of that code in the software for this project.

I omitted the code for the display and sidetone speaker, and just added the keyer logic itself. I hooked up the keyer paddles, speed control pot,?and reed relay to the Nano as follows:

D5, D6 - keyer paddles
A0 ? ? - speed control pot wiper
A1 ? ? - output to reed relay

(The keyer code assumes a digital output for the reed relay, but there were none left on the Nano, so an analog output was used in digital mode.)

The reed relay that I used is a 5v SPST in a DIP package. ?The speed pot is 1K.

The declarations, setup() and loop() code from the keyer was cut-and-pasted into the corresponding sections of the software for this project.?The keyer logic is all done in the loop() - it is not interrupt-driven. ?Since the loop() for this project is not doing all that much, I figured?it was safe to add the keyer code there. ?I have not seen any conflicts - normally you won't be adjusting the frequency and hitting the paddles?at the same time, anyway.

I wanted the keyer speed displayed on the LCD, so I added a little code to write "xx WPM" instead of "General"/"Extra". ?

There have been posts in the past inquiring about a software keyer, so I just wanted to share how easy it is to do.

Thanks to Jack, Farrukh, and Dennis for bringing this project to the ham radio masses!

73s,

Chuck WB6GPO



Join [email protected] to automatically receive all group messages.