¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: NanoVNA software developers wanted #hacking

 

Actually, I was thinking a little more on what uses a serial to BT bridge: every one of those really cheap OBD2 BT car diagnostic readers has one built-in.
Those readers cost $5 and up so the BT boards they use should be $1-2.?

So - now let's look at how to make re-use? of the STLink pins to drive it.....
...Larry

On Tuesday, November 5, 2019, 1:20:17 p.m. GMT-5, Larry Rothman <nlroth@...> wrote:

Oristo,
All Vaclav needs to do is use one of the unused serial ports on the chip and use a BT to serial module.
I was looking at the F072 specs and it appears the serial pin I was thinking if using is also used as an SPI line (are there SPI to BT modules?)
Can one of the STLink lines at the edge of the PCB be reprogrammed for serial?
...Larry

? ? On Tuesday, November 5, 2019, 1:08:41 p.m. GMT-5, Oristo <ormpoa@...> wrote:?

Hi Vaclav -

I am planning to add Bluetooth USB dongle ( hardware) to MY NanoVNA, including
necessary software.
Unless you find a Bluetooth dongle that supports USB OTG, I think that this is doomed.
I found no 64-pin STM32 chip, as in nanoVNAs, that does USB OTG,
/g/nanovna-users/message/5373

...resulting in a classic "failure to communicate".


Re: NanoVNA software developers wanted #hacking

 

Oristo,
All Vaclav needs to do is use one of the unused serial ports on the chip and use a BT to serial module.
I was looking at the F072 specs and it appears the serial pin I was thinking if using is also used as an SPI line (are there SPI to BT modules?)
Can one of the STLink lines at the edge of the PCB be reprogrammed for serial?
...Larry

On Tuesday, November 5, 2019, 1:08:41 p.m. GMT-5, Oristo <ormpoa@...> wrote:

Hi Vaclav -

I am planning to add Bluetooth USB dongle ( hardware) to MY NanoVNA, including
necessary software.
Unless you find a Bluetooth dongle that supports USB OTG, I think that this is doomed.
I found no 64-pin STM32 chip, as in nanoVNAs, that does USB OTG,
/g/nanovna-users/message/5373

...resulting in a classic "failure to communicate".


Re: NanoVNA software developers wanted #hacking

 

Hi Vaclav -

I am planning to add Bluetooth USB dongle ( hardware) to MY NanoVNA, including
necessary software.
Unless you find a Bluetooth dongle that supports USB OTG, I think that this is doomed.
I found no 64-pin STM32 chip, as in nanoVNAs, that does USB OTG,
/g/nanovna-users/message/5373

...resulting in a classic "failure to communicate".


Re: Now What

Andrew Baer, M.D.
 

Herb, thanks very much. I assume the two devices are different enough that the manual for the smaller one will not be of help. I almost purchased the smaller one but thought why not get the larger one....easier to see and work with. So far, all I have done is charged it.....hopefully....I think lol


Re: T-Check for my nanoVNA - Results look excellent below 150 MHz and acceptable up to 300 MHz

 

Attached spreadsheet contains the formula and you can paste your s2p file on the input tab

--
Erik, PD0EK


NanoVNA software developers wanted #hacking

vaclav_sal
 

This is sort of "bump" / dupe.
Or more direct approach.
Take your pick.

This is NOT post for / to users of NanoVNA,
This post is about NanoVNA operating / embedded software hacking.



I am planning to add Bluetooth USB dongle ( hardware) to MY NanoVNA, including necessary software.

I have dissected current NanoVNA Open source software and used git clone to add it to my local repository.
I am using Eclipse with EGit plug-in and have it somewhat under control - with one exception - I do not know to to "build" / test verify the software using local repository BEFORE flashing it in NanoVNA .


In short - I could use some help from anybody trying same - develop / modify etc. original software.

At this point I do not need git tutorials, I am past that point and feel comfortable with git.
I also do not want to do CLI. I already got that pretty much working - using source "makefile".


In fancy words - I need to integrate Eclipse GUI with NanoVNA "stuff"

Sorry for taking bandwidth here.

73 Vaclav AA7EJ


Re: NanoVNA-Saver 0.1.5

 

A quick note, for those running from the Python source: "scipy" is required
for the TDR impedance measurement display, and you therefore need to
install this, for example by re-running the "pip install ." command to
fetch it from pip. :-)

--
Rune / 5Q5R

On Tue, 5 Nov 2019 at 10:12, Rune Broberg <mihtjel@...> wrote:

I just released NanoVNA-Saver 0.1.5:



Release notes:
This release, after a short break in the release schedule, offers a few
new features and improvements:

Configurable Markers
There are a number of new configuration options for markers:

The size of the markers can be changed under Display Setup,
Marker numbers can be displayed in the charts,
Marker data box headings can be coloured or not, depending on user
preference,
The data displayed for markers is now configurable
Impedance Analysis
The Time Domain Reflectometry window now has a display of an impedance
transform, showing the calculated impedance of the transmission line the
NanoVNA is looking at from the calibration plane onwards.

New analyses - and automatic running
The Analysis window has two new analysis options, peak search and VSWR
analysis. It also adds the option to run the analysis automatically
whenever new data is acquired, for example for adjusting filters.

Frequency display changed
DG5DBH kindly sent me updated functions to display frequencies on GitHub.
You can still enter frequencies in the manner you are used to, as Hz, kHz
or MHz, but now calculated or read frequencies should more consistently be
displayed in a nicely formatted way.


As ever, dear mailing list users, I very much look forward to your
comments, feedback, suggestion and bug reports. I already have a number of
things I want to try to get done for next week - so it shouldn't be a
2-week gap this time around! :-)

Thank you to all the testers who helped me fix the bugs in the first two
alpha releases of this!

--
Rune / 5Q5R


Re: T-Check for my nanoVNA - Results look excellent below 150 MHz and acceptable up to 300 MHz

 

On Sat, Oct 5, 2019 at 06:39 PM, <bryburns@...> wrote:

I then used the T-Check equation found on page 12 of the file
"Reeve_S-ParamTestSet.pdf" found at



to compute the T-test result as a function of frequency which is plotted in
the attached ".jpg" file.
Hello Bryan,
I am trying to calculate the T-Check value from the NanoVNA-Saver .S2P file with LibreOffice Calc,
but I did not got the T-Check formular adopted.
I then copied S11 to S22 and S21 to S12
This is already done in the attached file T-CheckR31.S2P
I attached also a screen shot from NanoVNA-Saver T-Ceck measurement.
The 49.85 Ohm resistor was soldered in a SMA Female-Female Adapter,
see attached photo T-Check_SMA-F-F_49.85Ohm_DSC08169.jpg

Could you please explain in detail how you applied the formular?

73, Rudi DL5FA


Re: Chasing ghosts??? #internals #calibration

 

Its in Octave (Matlab equivalent) for now till I know what algorithms to use
I have a S11 model for the cable (includes estimating the frequency dependent loss and the Complex static impedance (did not find any relevant frequency dependent higher order parameters)). Model parameter search using least squares based on the VNA measured data. It sounds so simple now I know what to do.......
--
Erik, PD0EK


Re: Chasing ghosts??? #internals #calibration

 

Hi Erik -

I'm trying to create a VNA error model
to compensate for errors in the bridge and the Z0 reference
Do you plan a GitHub repository?

The model corrects for the long cable impedance mismatch for the 3GHz VNA
What approach for solving model parameters?


Re: VNWA software #calibration

 

Hi Oristo
Here is the Screen control for the FA-VA5 I have received from AE5CZ Larry Goga and have permission to distribute as I like
Kind regards
Kurt

-----Oprindelig meddelelse-----
Fra: [email protected] <[email protected]> P? vegne af Oristo
Sendt: 5. november 2019 15:55
Til: [email protected]
Emne: Re: [nanovna-users] VNWA software #calibration

I still discover something new right click now and then ?
Sadly, I lack the playful approach.

it expanded gradually over the years to the fantastic complex level
Yes, I researched FA-VA5 before nanoVNA, but avoided the software until your prompting because of allergy to controls hidden in graphic user interfaces.
That is why "unhides" nanoVNA screen controls.

A new Wiki page may help others use VNWA software for nanoVNA calibrations:
/g/nanovna-users/wiki/VNWA-software-for-calibration


Re: VNWA software #calibration

 

Hi Oristo
The Yahoo VNWA group is in the process to move to a io group which is a better platform for a Wiki which I am sure will come. I have large number of document I will "flood" the Wiki with in an orderly way
Kind regards
Kurt

-----Oprindelig meddelelse-----
Fra: [email protected] <[email protected]> P? vegne af Oristo
Sendt: 5. november 2019 15:55
Til: [email protected]
Emne: Re: [nanovna-users] VNWA software #calibration

I still discover something new right click now and then ?
Sadly, I lack the playful approach.

it expanded gradually over the years to the fantastic complex level
Yes, I researched FA-VA5 before nanoVNA, but avoided the software until your prompting because of allergy to controls hidden in graphic user interfaces.
That is why "unhides" nanoVNA screen controls.

A new Wiki page may help others use VNWA software for nanoVNA calibrations:
/g/nanovna-users/wiki/VNWA-software-for-calibration


Re: Chasing ghosts??? #internals #calibration

 

And here is the nanoVNA data with the impedance correction for the long cable ( -0.075 -0.56i ohm)
Substantial oscillations are still there and these do NOT come from the calibration kit or the cable so must come from the bridge or an interaction between the bridge and the cable.
Next step in modelling to be taken
--
Erik, PD0EK


Re: VNWA software #calibration

 

I still discover something new right click now and then ?
Sadly, I lack the playful approach.

it expanded gradually over the years to the fantastic complex level
Yes, I researched FA-VA5 before nanoVNA,
but avoided the software until your prompting
because of allergy to controls hidden in graphic user interfaces.
That is why "unhides" nanoVNA screen controls.

A new Wiki page may help others use VNWA software for nanoVNA calibrations:
/g/nanovna-users/wiki/VNWA-software-for-calibration


Re: errors of "error" models

 

On Tue, Nov 5, 2019 at 05:48 AM, gin&pez@arg wrote:
Dear gin&pez@arg
How are you sure the errors to be corrected are larger than the uncertainty in your measurement. e.g. you are not trying to correct an already (almost) perfect VNA?

--
Erik, PD0EK


Re: Chasing ghosts??? #internals #calibration

 

And here is a hint a first order cable correction (assuming the cable impedance is not exactly Z0) can improve the results
The model corrects for the long cable impedance mismatch for the 3GHz VNA
Mismatch is identified to be frequency independent and around -0.015-0.769i ohm, impact is visible in the upper left chart yellow/orange logmag S11 of the long cable which becomes more of a straight line. Now I can use this approach to reduce the cable impact on the other VNA's and see what is left to correct in the bridge.

--
Erik, PD0EK


Re: errors of "error" models

 

#72 : facupov : confirmation and suggestion

@QRP RX - 5 November 2019 : /g/nanovna-users/message/6471
@Bob Albert - 5 November 2019 : /g/nanovna-users/message/6472
@ johnshouse100@... - 5 November 2019 : /g/nanovna-users/message/6473

Hello,

Thank you very much for your interest on this central point of our work and thus
allow us, please, not only to confirm your guessing but also to suggest you the
reading of the following message:

#62 : On the Most Reasonable Questions with the Most Clear Answers
20 October 2019 : /g/nanovna-users/message/5334

Sincerely,

gin&pez@arg

: 72#


Re: VNWA software #calibration

 

Hi Oristo

Good to hear about success.
It may be a crazy user interface for you being a custom to something else, but not really for me as been the only VNA for me since it's birth. It is for more than 10 years and I still discover something new right click now and then ?
It started as a DG8SAQ Tom Baier "birdnest" ham project, and concept verified by student project at ULM University, where Tom is a teacher and then it expanded gradually over the years to the fantastic complex level it has to day.

Kind regards

Kurt



-----Oprindelig meddelelse-----
Fra: [email protected] <[email protected]> P? vegne af Oristo
Sendt: 5. november 2019 12:29
Til: [email protected]
Emne: Re: [nanovna-users] VNWA software #calibration



Hi Kurt -



Thanks for the additional hints, so essential success!



double click on any trace type name on the lower line
... which for the attached VNWA main window are 'Log Mag' or 'Smith'



the page come up with all the trace settings
.. which is titled 'Display Settings', also attached



another long drop down list S21, S11, S12, S22 and so on, and here you
find the 6 custom traces.
... shown below with Custom1/Custom2/Custom3 selected for 'Smith' and 'log magnitude'



the top Expression line are fully individual...
Each custom trace can be given a Caption name
.. shown below with Expression 's_open' and Caption: 'open'



Then, by clicking any of 'short', 'open' or 'Load' words next to check boxes below plots, not the plot lines, then a dialog box appears with an option for 'Export Trace to s1p'



There are many other feature by right clicking around.


It is IMO a crazy user interface, perhaps if all were by right click instead of some by left double-click..

Anyway, s1p files exported, then can plot in gnuplot, revealing differences between open and short logmag


Re: NanoVNA-Saver 0.1.5

 

Hi Rune,

The new TDR impedance measurement is good too.

However it really could use the ability to manually scale the impedance in addition to the length, as the low impedance end of the scale is too compressed to read when used with typical coax in auto-scaling mode.

Regards,

Martin - G8JNJ


Re: NanoVNA-Saver 0.1.5

 

Hi Martin,
thanks for the bug report. I'll have a look at it (and probably a fix!) for
the next version :-)

--
Rune / 5Q5R

On Tue, 5 Nov 2019 at 12:56, Martin via Groups.Io <martin_ehrenfried=
[email protected]> wrote:

Hi Rune,

Thanks for the latest update, especially the ability to change the marker
size and the relabeling of the Series L & C values

One small bug I've noticed is that the Marker number on the S11 R+Jx graph
is incorrect, as it always shows as zero.

Regards,

Martin - G8JNJ