Wednesday, March 11, 2015

It's coming : Hamfest !!!

http://www.greencountryhamfest.org

We're on Facebook

https://www.facebook.com/kt5dig

Check it out .  

international Morse Code

From our friend Wikipedia , 
Some information on spacings in Morse Code. 

Zero is a long symbol. 
- - - - -
15 units of dash total
 4 units of silence between dashes total 
 And we'd wrap up with 3 units of silence until the next character . 

I wonder if a 10 ms dit sounds about right ? 


Fun with Interrupts

Something I avoided in college until my senior year was interrupts and interrupt service routines . 

They seemed a little scary.  Interrupts could happen at anything .  The service routines and to be fast and short .  

But they can make life easier and they're what makes multitasking possible .  

There are other ways , but I think a program that keeps checking a pin to see if a dit is still a dit , or if it's turned into a dash, or if some kind of space has happened , and if so , which one , would turn into a large state machine and a huge mess if not planned correctly.  

So , I sketched this out. Again, assuming a normal Arduino and an external audio source and the crude Schmitt trigger interface from a recent post.  

What I don't have worked out is the spacing values for what's a dit and what isn't . 

What's the best way to deal with a bad fist ?  

We shall see...  

A "Mic Check" for the Esplora

The Arduino website has some good sample code .  

I found this bit that looked like a microphone test .  

I haven't tried it yet , but I roughed in a squelch control ....  I think . 

Second Small Arduino Experiment

After getting that first experiment going where we are reading the speaker out line from the Baofeng into the Arduino, we'd move on to working with the Digital input and those Schmitt triggers ...

I don't have any code yet , just this rough but for the comments block . 

Thoughts on an Arduino / Baofeng Experiment

Thinking about how to detect a signal and how to distinguish it from static / noise .  

Luckily , we have A and D inputs on the Arduino. 

I'll have to keep my eyes open at Hamfest for some of these small parts . 

I'll try to write some rough code after Hamfest.  I've got a couple plain Arduinos and an Esplora with an on-board mic.