¿ªÔÆÌåÓý

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

Re: NanoVNA software developers wanted #hacking

 

I mean to rip the BT module out of the device...
Also, I just had a quick look at the pin mapping of the F072 as used in the NanoVNA.?

PINS 30 & 31 (not currently used) can be remapped to USART1_TX & RX respectively.?

A 'little code' and a new soft-switch under the Config menu could be set up to switch all console between either USB or Serial.

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

> I was thinking a little more on what uses a serial to BT bridge

I do not find hacks turning ELM327 into BT bridge;
cheap HC-05 has good Arduino support,

but wants substantial code.

A "smart" BT LE shield is ~$20


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

 

Hello Erik,
Thank you very much for your provided spread sheet.
At the moment I am still fighting with the decimal point/comma topic :-(
73, Rudi DL5FA


Re: NanoVNA software developers wanted #hacking

 

I was thinking a little more on what uses a serial to BT bridge
I do not find hacks turning ELM327 into BT bridge;
cheap HC-05 has good Arduino support,

but wants substantial code.

A "smart" BT LE shield is ~$20


Re: NanoVNA software developers wanted #hacking

 

are there SPI to BT modules?
Yes, but SPI to USB host would be simpler
than trying to add Bluetooth to nanoVNA firmware


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