-
Notifications
You must be signed in to change notification settings - Fork 22
Features and how to change them
To make changes for your specific project, you may simply copy the code to your own PC and take it forward from there, or fork the repository as a number of makers have done, thereby utilising the many features of github to keep your code in the cloud! If you make a local copy, you are on your own, and you'll lose track of fixes or features added to the VK3HN repository. You'll also have to do your own backups!
The circuit diagram for Summit Prowler 6 shows how to wire up the push buttons for VFO up/down, CW Keyer memory push buttons and the CW keyer paddle.
https://vk3hn.files.wordpress.com/2019/05/sp6-dk7ih-page2.pdf
There are various ways to analogue multiplexing, all work by mapping the integer value (0..1023) returned by function analogRead() from one of the Arduino analog inputs connected to a voltage divider with push buttons to short out series resistors. Even if you use identical resistor values to that shown on my circuit diagram you will probably find that not all buttons work as expected, as the value returned is dependent on actual resistor values and the voltage (nominally 5 volts) at the top of the divider. I have had problems when changing from a 240v desk power supply to batteries due to minor variations in the 5v reference, notwithstading the use of 7805 regulators.
To ensure your push button works reliably, un-comment the Serial.Println() statement that prints the analogRead() return value and adjust the hard coded bounds in the if() statements. Test the results on the power supply you intend to use.
Jason NT7S's library includes a calibration script. Go to the library folder, then examples, then open the calibrate script. Open a serial window and make sure the baud rate matches that in the script.
Connect a frequency counter to the si5351's CLK0 output. Run the script. You should see a square ave running at close to 10MHz. Using single character keys, increment or decrement the clock to get it spot on 10MHz, as measured on your counter. Hit the space bar and the script displays the offset constant. Copy this and pass this integer constant into the initialise (constructor) function.
Refer to lines ##
Refer to lines ##