youlooki.blogg.se

Wb7fhc morse decoder
Wb7fhc morse decoder









wb7fhc morse decoder
  1. WB7FHC MORSE DECODER SOFTWARE
  2. WB7FHC MORSE DECODER CODE

*********************************************************************/ ////////////////////////////////////////////////// #include int addr = 0 #include #define HISCALL "WB7FHC" //Callsign of kit builder #define VDATE "2016.03.07" //Sketch Version Date //#define DEBUG 1 // remove '//' to turn monitor debugging on #define LCDCOLS 20 //Our LCD is 20x4 #define LCDROWS 4 #define VERSIONDELAY 1500 // Pause before erasing version date #define MAXSWEEP 240 // tone decoder chip cycles around if we go too high with the digital pot #define SWEEPCOUNTBUMP 10 // how much more we will delay checking for tone match after each sweep #define SCOPEPIN 5 // Scope Channel 2 D5 #define RIGHT_BUTTON 6 // Switch 2 #define LEFT_BUTTON 7 // Switch 1 #define SIGNALPIN 8 // Key UP/DOWN is read here from both tone decoder chip and telegraph key // Hook the key up between D8 and GND // Also Scope Channel 1 D8 // hook osciliscope up to pins D5 and D8 to see tone decoder at work int signalPinState = 1 // will store the value we read on this pin #define SPEAKERPIN 9 // Used to drive a simple speaker if you want to hear your own code #define SLAVESELECTPIN 10 // connected to Pin 1 CS (Chip Select) of digital potentiometer 41010 int myMax = 0 // used to capture highest value that decodes tone int myMin = 255 // used to capture lowest value that decodes tone int ToneSet = EEPROM. D8 will show the raw input to the ATMega and D5 will show the processed signal which is the one that will be decoded. If you want to see how your noise filter is working you can hook one oscilloscope probe to D5 and another to D8. Send -.- to change the pitch of the tone. Hook up your LCD panel to the Arduino using these pins: LCD pin 1 to GND LCD pin 2 to +5V LCD pin 4 to A5 LCD pin 6 to A4 LCD pin 11 to A3 LCD pin 12 to A2 LCD pin 13 to A1 LCD pin 14 to A0 LCD pin 15 to +5V LCD pin 16 to GND If you hook a speaker between D9 and GND and a telegraph key between D8 and ground you can hear yourself practice Morse Code. 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.

wb7fhc morse decoder

The more dahs you send at the beginning the sooner it locks into solid copy.

WB7FHC MORSE DECODER SOFTWARE

The software tracks the speed of the sender's dahs to make its adjustments. 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. 2.0 (c) 2015, Budd Churchward - WB7FHC This is an Open Source Project Search YouTube for 'WB7FHC' to see several videos of this project as it was developed.











Wb7fhc morse decoder