Welcome to the N1IR Electronics Website. Totally off the cuff, one take, unrehearsed video projects for anyone interested in amateur radio, electronic design, makers, hardware hackers and science.

Get off your duff and build something!
Training the hand and mind since 1982.

Tuesday, December 16, 2014

Semi Automatic Paddle Practice Oscillator

This circuit is a Semi Automatic Paddle Practice Oscillator, I built to practice Morse code. It' similar to the paddle key for the ICOM IC-718. Here is the video

This is different than a standard practice straight key, like my home made paddle? 

It is Arduino compatible, I like to use a 6 pin header and a FTDI cable. It a lot easier to breadboard circuits.


PCB Board Design

Coming Soon!

Here is the Code ******************************************

int outPin = 9;
unsigned int frequency = 400;
unsigned long dotDuration = 60;
unsigned long dashDuration = dotDuration * 3;
int dotPin = 7;
int dashPin = 8;

void setup() {
pinMode(dotPin, INPUT);
pinMode(dashPin, INPUT);

void loop() {
int dotVal=HIGH;
int dashVal=HIGH;

dotVal = digitalRead(dotPin);
dashVal = digitalRead(dashPin);
if (dotVal==LOW)
tone(outPin, frequency, dotDuration);
delay (200);
if (dashVal==LOW)
tone(outPin, frequency, dashDuration);
delay (400);