Running Magic Morse on an Atmel-based Arduino

Atmel | Bits & Pieces

Magic Morse is a mathematical algorithm originally written by Ray Burnette to simplify sending and receiving Morse Code signals.

First implemented in PIC, the algorithm has since been fully rewritten and updated to run as a training program on a number of Atmel-basedArduino boards, including the Uno (ATmega328), Nano (ATmega328) and Pro Mini (ATmega168).

“Essentially, the Magic Morse algorithm assigns a weight to dits and dahs as the stream is received,” Burnette explained in a recent blog post.

“When a word space or longer is encountered, the algorithm instantly has a calculated pointer into an array stored in EEPROM and the decoded character is returned.”

According to Burnette, the algorithm is designed to generate a number between 1 and 255 for every Morse Code combination decoded.

“For every DAH identified in the stream, a binary weight is applied based upon…

View original post 84 more words


Posted on January 21, 2014, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: