Antenna Analyzer Code
Robert Holder (N2RN) asked where my code was for my revisions to the Ham Radio Workbench Antenna Analyzer project to include functionality for the Mode switch. I have been using it successfully for some time now. If you are interested, I have attached it to this post.
After the analyzer starts, and you see the message "1-30 MHz," press "Mode."
You will see
FSTART=0
BAND +1, MODE nxt
The format of the frequency is "nn.nnnnnn" in MHz. To set the starting frequency, use the BAND switch to increment the current digit of the starting frequency by 1. When the current digit is what you want, press MODE and you can then increment the next digit of the starting frequency. Continue until you have set all 8 digits of the starting frequency.
You will then see "FSTOP=0" Set the stopping frequency as you did the starting frequency. Continue until you have set all 8 digits of the stopping, or ending, frequency.
You will then see "NSTEPS=0" Set the number of steps you want to use to scan from the starting frequency to the ending frequency. The format is "nnnn" When you have the 4th digit, scanning from the starting frequency to the stopping frequency will commence.
If you want to change the functioning of the antenna analyzer, press BAND and the incrementing of the Band selection will continue. You can either use the Band options or press MODE to go to the mode where you can select the starting and stopping frequencies and steps.
It's not elegant but it is functional at least for me. There are still some kinks in how it works but you can get through them.
After the analyzer starts, and you see the message "1-30 MHz," press "Mode."
You will see
FSTART=0
BAND +1, MODE nxt
The format of the frequency is "nn.nnnnnn" in MHz. To set the starting frequency, use the BAND switch to increment the current digit of the starting frequency by 1. When the current digit is what you want, press MODE and you can then increment the next digit of the starting frequency. Continue until you have set all 8 digits of the starting frequency.
You will then see "FSTOP=0" Set the stopping frequency as you did the starting frequency. Continue until you have set all 8 digits of the stopping, or ending, frequency.
You will then see "NSTEPS=0" Set the number of steps you want to use to scan from the starting frequency to the ending frequency. The format is "nnnn" When you have the 4th digit, scanning from the starting frequency to the stopping frequency will commence.
If you want to change the functioning of the antenna analyzer, press BAND and the incrementing of the Band selection will continue. You can either use the Band options or press MODE to go to the mode where you can select the starting and stopping frequencies and steps.
It's not elegant but it is functional at least for me. There are still some kinks in how it works but you can get through them.

antenna_analyzer_v1_km6byd.ino |