Running Magic Morse on an Atmel-based Arduino
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