foldynl / dds_sweeper

Antenna Analyzer based on DDS A9850 and Arduino Nano
0 stars 0 forks source link

How to Compile java_client/AntennaAnalyzer? #1

Open dl2ki opened 2 years ago

dl2ki commented 2 years ago

Hi Ladislav,

it's not an issue, but how can I compile the Java client 'AntennaAnalyzer' under Kubuntu 21.10? I have also rebuilt the analyzer from DK2JK some time ago and would like to try your software.

73, Wolfgang DL2KI

foldynl commented 2 years ago

thanks for the interest. But to be honest, it was just my test with Java. I'm not a Java specialist.

This project has two parts

1) It is the software itself for Arduino. I will not describe it to you, because it is very difficult to prepare it. I don't know how your analyzer behaves, but my analyzer is not linear in the whole range , so I had to mathematically adjust the measurement process and it's not very easy to prepare the image for Arduino.

2) The second part is a client (java). I have prepared a JAR file in the release section. Just install Java (something like this apt install default-jre) and run it java -jar Analyzer.jar

Be honest, I don't know if the client part will communicate with the original firmware.

I use it only occasionally and only for orientation measurements. Unfortunately at least in my case, exact measurement is not possible.

dl2ki commented 2 years ago

Hi Ladislav,

thank you very much for the JAR file. The client works very well with your firmware. Here is a picture measured on my ZS6BKW antenna.

sweep1

Here I use a 'miniVNA Pro' for these measurements. The Arduino analyzer I have built only as a tinkering project to try this once. I added a TFT display to the analyzer so that it can be used without a PC client. The Arduino sketch 'DDS_sweeper1_TFT (JA2GQP).ino' I have adapted a little bit for this.

antanalyser_07 antanalyser_08

Without TFT display I use the sketch from DK2JK, with some small changes. As client I modified a processing sketch from VK3YY/KN5UTE a little bit. The processing sketch could be improved even more, but I didn't work on it any further here. It would then also have to be adapted to your firmware. If you are interested I can send you the sketch by mail.

The 'Processing IDE' is very interesting, because you can create GUI's with little effort. The IDE is similar to the Adruino IDE. []https://processing.org/de/

The same scan looks like this here.

sweep2

And as an overlay. The blue graph is the scan with the Processing Sketch and the DK2JK firmware.

sweep3

Here now the scan with my 'miniVNA Pro' and a comparison table of the SWV minima.

VNA_220418_094633.pdf VNA_220418_094702.pdf

vergleich

Maybe I'll try your extension for calibrating in the Arduino sketch in my sketch for the TFT display.

73, Wolfgang DL2KI

foldynl commented 2 years ago

your measurements are very interesting for me. Especially the last table is interesting because, if I remember correctly, my implementation of DK2JK analyzer had the biggest error at the end of the range (approximately 18-30MHz). And your last table shows that the SWR is comparable with miniVNA in range 17 - 30MHz. From my real measurements, it returned me the most accurate SWR around 14MHz (in the middle of the range)

dl2ki commented 2 years ago

Hi,

if this is interesting for you, I have attached a measurement of my 'GAP-Titan DX'.

sweep_gap-titan_dx

VNA_220420_114255.pdf VNA_220420_114324.pdf VNA_220420_114349.pdf

vergleich2

There are a lot of Arduino sketches with different differences for this project. For me, this is always very confusing. Therefore, I have then decided for a variant with and without display, but without analyzing the many others.

For me, the effort was then too high, especially since the analyzer is not really used here. There are now some inexpensive VNA's on the market, which also provide better results.

The 'miniVNA Pro' has the advantage for me that it has a Bluetooth interface, so that I can pull up the analyzer for the measurements with the antenna. For this purpose, there is an app 'BlueVNA' for my tablet, with which one can then work very well also portable.