28/05/2023

Simple PIC CW keyer

 


I was inspired by a report on building a Rockmite QRP rig by Colin, M1BUU.
This report appeared on the SOTA Reflector, you can read more here.

Now I didn't need a Rockmite, but I did have a few empty PIC chips that are used in the Rockmite (12C508) to provide a very basic iambic keyer. My good friend Gil, ONl12523, helped me program those chips (you may remember him from the OST Morse Box and the Forty Niner PLL projects ...).
My chips were not the "A" variety, but the programming was succesful anyway.OK, now I had a few of those keyer chips ... what to do next ?

First I mounted one on a piece of veroboard, and checked that the circuit worked.
This is the circuit that I made.


To make the keyer a bit more useful in one of my projects (like the 49'er PLL), it had to be put in a suitable box. I have a bunch of old cassette tape boxes, so I decided to give that a try (see top picture).

Not so difficult, drilling a few holes for two 3.5 mm jacks, and a small ON/OFF switch was all it took. An old cellphone battery (Li-Ion/1400 mAh) is powering the circuit. I can charge the battery by connecting it to my lab power supply (set at 4.2V with some current limiting).

I left the pushbutton switch inside the box, it's only needed to set the keying speed.
Press the button for 1 second and a letter 'S' will sound. Pressing the DIT paddle will increase the speed, press DASH to decrease. After a 2 seconds idle time, a short beep signals that you're back in keying mode. That's all there is to it.
Pin 3 of the PIC was used in the Rockmite to obtain a shift of the oscillator, in my circuit this is not used, but the pin is changing state if you have a need for it.

The keyer has no memories or other fancy stuff, it's just adds basic iambic keying to a simple transmitter like a Pixie etc.


12/05/2023

Very Simple Code Practice Oscillator


The other day I was throwing out some junk, one of the items was a Philips Memory Phone.
In case you're curious, it was a model D-9039.

I couldn't resist to have a look inside before dumping it, and look what I found ...
Like most electronic phones, it contained a "ringer" integrated circuit. The IC I found was a L3240, in an 8-pin DIP package. If you find another type of IC (e.g. BA8206, MC34012, HK621, etc), just look up the datasheet on Google.

These IC's are meant to work on the 'ringing voltage' that is on the line if someone calls you. This ringing voltage is a rather high level AC, so the IC contains a bridge rectifier and some zener diodes to provide the supply for the ringer circuit. I didn't use that part.

Only one resistor and one capacitor would be needed to make the circuit work. But then, the circuit makes a warbling ringtone (quick switching between 2 fixed tones).

What I made is even simpler, I built this code practice oscillator (CPO), with just 4 parts, and most came out of that telephone !

Here is the simple circuit:



For the resistor, I first used a 100k trimmer, and found out that 68k would give me a nice 600 Hz tone. So I then replaced it with a fixed resistor. Even that resistor can probably be found in the phone, or make one up with several values in series. So total cost would be ... NOTHING !

Here is the test circuit on my desk, which took me less than 10 minutes to make.
The top picture shows it when mounted on a piece of wood.
The key is the "on hook" switch, and also the buzzer was found in the telephone. 



Note : adding a 100 nF capacitor from pin 3 to ground, will get you that warbling tone, which would make a good "alarm" tone in some other project.

The circuit needs 12V DC or higher to work reliably, and the supply can be as high as 26 V.
For portable use, four Li-Ion cells in series from an old laptop battery will get you a long way ... 

If you want to use an AC source of some kind, the datasheet specifies an input of MAX 120V between pins 1 and 8, but for our USA friends ... I wouldn't connect this circuit to AC mains !
But an AC output wallwart would probably work, in that case you need to add a 100µF electrolytic from pin 7 to ground. That capacitor can of course be found in the telephone ... for free!

Happy tinkering !