If you don't have a 20x4 (they're really only a few bucks more) you might want to leave out the word wrap and scrolling. Sometimes long words or missed spaces will result in only two words left on your display. Frankly, I don't think scrolling makes sense with only two lines. If you are planning on using a 16x2 you will want to make some changes. This version makes use of the 4 digit parallel method of driving the display. When the bottom line is filled, all lines will scroll up one row and new text will continue to appear at the bottom. If a word extends beyond the 20 column line, it will drop down to the next line. The sketch includes funtions for word wrap and scrolling. This project is built around the 20x4 LCD display. However, if you reset and then send 'CALL ME WOODY' it will match your speed quite quickly. After a reset, the following text is very difficult to lock in on: 'SHE IS HIS SISTER' because there are only two dahs in the whole phrase and they come near the end. The more dahs you send at the beginning the sooner it locks into solid copy. The software tracks the speed of the sender's dahs to make its adjustments. If the tone decoder is not centered on the frequency of the incomming signal, you may have to fine tune the module as you lower the volume. Lowering the volume of the incoming CW can also help. If you are not seeing solid copy, press the restart button on your Arduino. The first few characters may come out wrong while it homes in on the speed. This module allows you to tune to the frequency of a specific tone while ignoring noice and other tones of different frequencies The program will automatically adjust to the speed of code that is being sent. Details of this module will eventually be posted on line. 1.5 (c) 2014, Budd Churchward - WB7FHC This is an Open Source Project Search YouTube for 'WB7FHC' to see several videos of this project as it was developed. If you've read this far, you may be interested in the older version of this tool which does not attempt to adapt to the sound and also includes more diagnostic information./*********************************************************************** WB7FHC's Morse Code Decoder v. The volume threshold is the value (0-255) which the measured volume in the analysed frequency must exceed to be counted as a dit or dah. ![]() The volume filter (which uses dB) discards very quiet (very negative) or very loud (close to zero) sounds and scales the size of the remaining data. There are three parameters which are not automatic: the minimum and maximum volume filter settings and the volume threshold setting. ![]() The frequency can only be certain values and the closest allowed value will be chosen. If you want to fix the frequency or speed then click on the "Manual" checkboxes and type in your chosen values. In fully automatic mode, the decoder selects the loudest frequency and adjusts the Morse code speed to fit the data. From these timings it determines if something is a dit, dah, or a sort of space and then converts it into a letter shown in the message box. If the volume in the chosen frequency is louder than the "Volume threshold" then it is treated as being part of a dit or dah, and otherwise it records a gap (this is shown in the lower graph that looks like a barcode). The spectrogram of the sound is shown in the main graph along with a pink region showing the frequency being analysed. The decoder will analyse sound coming from the microphone or from an audio file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |