¿ªÔÆÌåÓý

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

Re: New FreeRTOS-based nanoVNA 4.3" 800x480 LCD on Aliexpress

 

Very interesting. I din note that the display had a ribbon cable connector. That is handy in case you damaged your display.
I also liked the fact that controls were on the other end of the VNA.


Re: Early app for the NanoVNA

Andy G0FTD 3rd Earl of Whitstable MBE BBC ITV etc etc etc etc etc
 

Hi Rune,

Python version here is 3.7.4 (same as yours if I remember correctly).

I recently installed the extra modules for Python 3 for another app, because I too had
a default of Python 2, so I knew there had to be two versions installed.

So to the best of my knowledge, all versions and modules should be correct.

Maybe I'm missing something, so don't rely on me 100% ;-)

I'll experiment in the background over the coming weeks.

It's not a big priority for me, since the reason I purchased a Mini VNA was because I wanted
to dump the PC.

But a friend has asked if it would work with PC so I thought I'd experiment on his behalf.

I hope that makes sense.

Keep up the good work.

73 de Andy


Re: Early app for the NanoVNA

 

Hi Jeff,
thanks for the further suggestions - the list is getting long :D

Wrt. the import of this particular file, I currently *only* have importing
of S-parameters in real-imaginary form normalized to 50 ohms, with
frequencies in Hz. I'm sure setting up other imports would be possible, but
it's not at the top of the list. Your file is in magnitude-angle format,
which my software doesn't understand yet.

--
Rune / 5Q5R

On Thu, 5 Sep 2019 at 15:31, Jeff Anderson <jca1955@...> wrote:

Thanks, Rune. I didn't realize there was an alpha setting in the
color-selection window. Good to know!

Playing some more with the 0.0.5 release (and really enjoying it), here
are some more comments...

First, a possible bug: I cannot import and display an S1P file as my
reference plot (note: this file opens in other apps I have that read S1P
files), and when I try this my currently-displayed sweep is then overlayed
on itself as the reference sweep. I am attaching the S1P file and a
screenshot of the console window. (The number of points and frequency
span that the NanoVNA has been set to are the same as the sweep I've made
(1-60 MHz, 101 points). Perhaps your import routine is getting confused by
the comment lines at the start of the file?)

Additional items for the wish list...

1. If importing a file as reference or sweep, it would be nice to display
the file name(s) in the window, too. (I will often use screen-captures of
my VNA data to illustrate a point, and having the file names visible in the
screen captures makes the data traceable back to the original files, and
thus verifiable, should there be a question, months or years later).

2. For the mouse-cursor, also calculate the equivalent series and
parallel components. I'm attaching a screenshot of an S1P viewer I often
use that includes this feature -- the data is on the right (note that the
series reactive component is shown as a negative inductance. This is a
bug, in my opinion. It should be shown as a positive capacitance).

3. Somewhere show (or be able to show) the number of points in the sweep.

4. The ability to place multiple independent cursors on either the
reference and/or the current sweep, and display info for all cursors, would
be nice. Perhaps four or five cursors, total, each of which could be
placed on either sweep.

5. By the way -- can the reference sweep be a different number of points
than the displayed sweep (just wondering what will happen if I want to
compare a NanoVNA sweep with a capture from my 8753C, whose default is 201
points)?

Again, great work!

- Jeff, k6jca







Re: Early app for the NanoVNA

 

Hi Andy,
the only thing I can think of is possibly having them installed using pip
for python 2? Maybe check whether they have been installed with "pip3"?

Try looking at pip --version and pip3 --version

--
Rune

On Thu, 5 Sep 2019 at 15:37, Andy G0FTD 3rd Earl of Whitstable MBE BBC ITV
etc etc etc etc etc via Groups.Io <punkbiscuit@...>
wrote:

Hi Rune,

Here's the error messages

$ python3.7 nanovna-saver.py
Traceback (most recent call last):
File "nanovna-saver.py", line 19, in <module>
from PyQt5 import QtWidgets
ModuleNotFoundError: No module named 'PyQt5'

$ python3.7 NanoVNASaver.py
Traceback (most recent call last):
File "NanoVNASaver.py", line 22, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'

Strange thing is, I have the required modules installed, as I needed them
for another application.

So I'm not sure why the three required modules appear to be invisible for
your Nano VNA software.

Strange...

73 de Andy




Re: Early app for the NanoVNA

Andy G0FTD 3rd Earl of Whitstable MBE BBC ITV etc etc etc etc etc
 

Hi Rune,

Here's the error messages

$ python3.7 nanovna-saver.py
Traceback (most recent call last):
File "nanovna-saver.py", line 19, in <module>
from PyQt5 import QtWidgets
ModuleNotFoundError: No module named 'PyQt5'

$ python3.7 NanoVNASaver.py
Traceback (most recent call last):
File "NanoVNASaver.py", line 22, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'

Strange thing is, I have the required modules installed, as I needed them for another application.

So I'm not sure why the three required modules appear to be invisible for your Nano VNA software.

Strange...

73 de Andy


Re: Early app for the NanoVNA

 

Thanks, Rune. I didn't realize there was an alpha setting in the color-selection window. Good to know!

Playing some more with the 0.0.5 release (and really enjoying it), here are some more comments...

First, a possible bug: I cannot import and display an S1P file as my reference plot (note: this file opens in other apps I have that read S1P files), and when I try this my currently-displayed sweep is then overlayed on itself as the reference sweep. I am attaching the S1P file and a screenshot of the console window. (The number of points and frequency span that the NanoVNA has been set to are the same as the sweep I've made (1-60 MHz, 101 points). Perhaps your import routine is getting confused by the comment lines at the start of the file?)

Additional items for the wish list...

1. If importing a file as reference or sweep, it would be nice to display the file name(s) in the window, too. (I will often use screen-captures of my VNA data to illustrate a point, and having the file names visible in the screen captures makes the data traceable back to the original files, and thus verifiable, should there be a question, months or years later).

2. For the mouse-cursor, also calculate the equivalent series and parallel components. I'm attaching a screenshot of an S1P viewer I often use that includes this feature -- the data is on the right (note that the series reactive component is shown as a negative inductance. This is a bug, in my opinion. It should be shown as a positive capacitance).

3. Somewhere show (or be able to show) the number of points in the sweep.

4. The ability to place multiple independent cursors on either the reference and/or the current sweep, and display info for all cursors, would be nice. Perhaps four or five cursors, total, each of which could be placed on either sweep.

5. By the way -- can the reference sweep be a different number of points than the displayed sweep (just wondering what will happen if I want to compare a NanoVNA sweep with a capture from my 8753C, whose default is 201 points)?

Again, great work!

- Jeff, k6jca


Re: Don't rotate the SMA centre pin! But how do I avoid that?

 

On Thu, Sep 5, 2019 at 05:12 AM, Oristo wrote:


I hereby solicit further answers to this question, i e other people's takes
on this issue.
1) Use BNC or N instead of SMA.
Bnc stds valid above 600Mhz are nontrivial, and not so cheap.

2) Fabricate your own (female) short to use with (male) pigtails.
Well. Not sure that fixes anything. Might be wrong about that.

3) Keep (male) 50 Ohm SMA connected to female-female barrel for use
with (male) pigtails.
Or to a female-male barrel.


Re: Don't rotate the SMA centre pin! But how do I avoid that?

 

In reality, how much damage is being done?
Is all the hassle trying to avoid rotating the pin really worth it when you consider how easy it would be to replace the SMA ports on the VNA?
/ Gerry


Re: Don't rotate the SMA centre pin! But how do I avoid that?

 

I hereby solicit further answers to this question, i e other people's takes
on this issue.
1) Use BNC or N instead of SMA.
2) Fabricate your own (female) short to use with (male) pigtails.
3) Keep (male) 50 Ohm SMA connected to female-female barrel for use
with (male) pigtails.


New FreeRTOS-based nanoVNA 4.3" 800x480 LCD on Aliexpress

 

Interesting development folks - while browsing the Russian NanoVNA forum, I found a reference to this link:
<<< lots of photos there.

Features:
Dimensions: 14CM * 7.5CM * 2CM (length, width and height)
Measuring Frequency: 50kHz ~ 1000MHz
RF output: - 13 DBM (maximum - 9 dbm)
Frequency accuracy: < 0.5 ppm
Port SWR: < 1.1
Display: 4.3 inch IPS TFT (800x480)
USB Interface: USB Type-C Communication Mode: CDC (Serial)
Power consumption: USB 5V 200mA, built-in 5000mAh battery, theoretical life of 18 hours, maximum charging current 2A
Output capability: 5V/1A, supporting Android and Apple phones
Number of calibration points: 101
Number of scanning points: 101
Display Tracking: 4, Mark: 4, Settings Save: 5
Scanning time: about 1.9s/time (50kHz-1000MHz full frequency band)
Measurable S parameters, voltage standing wave ratio SWR, phase diagram, group delay, Smith circle diagram... ;
19.0Wh (about 5000mAh after conversion) large capacity lithium battery


Re: Early app for the NanoVNA

 

Hi Andy,
could you tell me what error message you are seeing? What command did you
run to try and start the software? Since you mention Linux, I assume you
are using a git checkout of the source.

The repository has some setup information for "pip", which should make it
easier to install the prerequisites, which I was sent from a nice ham. I
don't have much experience with it, but at a quick try, I was able to use
the commands "pip install ." and then just type "NanoVNASaver" in the base
directory to run the tool.

Other than that, there is a nanovna-saver.py which starts the __main__.py
in the NanoVNASaver subdirectory. Running "python nanovna-saver.py" should
be able to load this...

I've never previously distributed Python apps to other people, so this is
all new for me as well :-) I'll accept any help offered in getting things
running smoothly for new users.

--
Rune / 5Q5R

On Thu, 5 Sep 2019 at 13:58, Andy G0FTD 3rd Earl of Whitstable MBE BBC ITV
etc etc etc etc etc via Groups.Io <punkbiscuit@...>
wrote:

Just for info, I am having difficulty getting the Python software to run
the app.

Same errors as other posters have mentioned.

Upgrade Python on my Linux Mint and I appear to have all the correct
additional modules.
Tried the same on my Raspberry Pi, same errors.

Other Python apps appear to work fine.

Not complaining (I think it's a joy to see all the enthusiasm and
"overnight" software pop up), so this message is just to let others who
are struggling to know that they are not the only ones ;-)

73 de Andy




Re: Don't rotate the SMA centre pin! But how do I avoid that?

 

I hereby solicit further answers to this question, i e other people's takes
on this issue.

I did glean, from a joeqsmith video, that ideally one might leave two
male-female cables permanently attached to the NanoVNA, with well matched
lengths, and always calibrate to the plane at the end of those cables.

However, this still leaves the problem of wearing out the centre pin of the
cal stds.



Den tors 5 sep. 2019 07:47Hans J Albertsson via Groups.Io
<hans.j.albertsson@...> skrev:

Try as I might, I cannot keep the pin+back assembly still while screwing
the short and/or load calibration piece down in the SMA socket!

Should I add some grip to their backs, with glue or solder? Should I file
out a slit for a screwdriver?

Or just give up?




Re: Early app for the NanoVNA

Andy G0FTD 3rd Earl of Whitstable MBE BBC ITV etc etc etc etc etc
 

Just for info, I am having difficulty getting the Python software to run the app.

Same errors as other posters have mentioned.

Upgrade Python on my Linux Mint and I appear to have all the correct additional modules.
Tried the same on my Raspberry Pi, same errors.

Other Python apps appear to work fine.

Not complaining (I think it's a joy to see all the enthusiasm and "overnight" software pop up), so this message is just to let others who
are struggling to know that they are not the only ones ;-)

73 de Andy


Re: Adding battery to Banggood version

 

Karl,
Have a look at a few of my earlier photos I uploaded.
I used a thin 1100mAH battery from an old cellphone.
The charging chip used on the Nano will charge almost any small LiIon battery.
Do a search on the word 'battery' and you'll find a number of other forum members that have asked the same question and provided links to battery vendors.
Most of these units that came with a small 300-450mAH battery were soldered-in. Very few had connectors.

Regards,
Larry


Re: Adding battery to Banggood version

Dr. David Kirkby from Kirkby Microwave Ltd
 

On Thu, 5 Sep 2019 at 12:19, Karl Heinz Kremer <khk@...> wrote:

What is the max. physical size the battery can be to add to the Banggood
model? Unlike a lot of other models, this one came without a battery, and I
am looking for some advice as to what to buy. Do I need to solder the
battery leads, or is there a connector on the PCB? So far, I have not taken
the device apart, and would like to minimize the number of times I am
taking the lid off. I¡¯ve been known to break stuff when I do ;)
FWIW, given the overall construction quality, I'm going to repackage mine
when I have some time. I intend putting a much larger battery in - perhaps
something that will last 24 hours, so I just have to forget about charging
it for a long while.

Dave


Thanks,

Karl Heinz - K5KHK



--
Dr David Kirkby Ph.D C.Eng MIET
Kirkby Microwave Ltd
Registered office: Stokes Hall Lodge, Burnham Rd, Althorne, CHELMSFORD,
Essex, CM3 6DT, United Kingdom.
Registered in England and Wales as company number 08914892

Tel 01621-680100 / +44 1621-680100


Adding battery to Banggood version

 

What is the max. physical size the battery can be to add to the Banggood model? Unlike a lot of other models, this one came without a battery, and I am looking for some advice as to what to buy. Do I need to solder the battery leads, or is there a connector on the PCB? So far, I have not taken the device apart, and would like to minimize the number of times I am taking the lid off. I¡¯ve been known to break stuff when I do ;)

Thanks,

Karl Heinz - K5KHK


Re: How to measure source impedance?

 

Output impedance can be calculated (estimated, at least) from the (complex)
incremental change in output voltage and current after a small change in
load impedance.
No need to run anything open circuit.

Den tors 5 sep. 2019 12:51kb3cs <kb3cs@...> skrev:

you initially waved around a complaint which might as well be a
surrealist's dream: your HT will be un-burnt when you fill your bathtub
with brightly colored screwdrivers. and now you make rude demands? consider
yourself lucky the group may respond kindly to you.

back to the matters at hand: a technique for measuring output impedance of
an audio amp may not at all be used with the Ailunce HT for the simple fact
the audio amplifier will happily operate open circuit, while the HT may be
very unhappy indeed and release all the magic smoke from its power
amplifier.

except for the aforementioned magic smoke release warning, the simple and
direct method of measuring output impedance (or "source impedance") is to
compare the open circuit operating voltage with operating voltage under
load.

the load value will be equal to the source value when the operating
voltage under load is one-half of the open circuit operating voltage.

- 1001001 (base 2) -




Re: How to measure source impedance?

 

you initially waved around a complaint which might as well be a surrealist's dream: your HT will be un-burnt when you fill your bathtub with brightly colored screwdrivers. and now you make rude demands? consider yourself lucky the group may respond kindly to you.

back to the matters at hand: a technique for measuring output impedance of an audio amp may not at all be used with the Ailunce HT for the simple fact the audio amplifier will happily operate open circuit, while the HT may be very unhappy indeed and release all the magic smoke from its power amplifier.

except for the aforementioned magic smoke release warning, the simple and direct method of measuring output impedance (or "source impedance") is to compare the open circuit operating voltage with operating voltage under load.

the load value will be equal to the source value when the operating voltage under load is one-half of the open circuit operating voltage.

- 1001001 (base 2) -


New file uploaded to [email protected]

[email protected] Notification
 

Hello,

This email message is a notification to let you know that a file has been uploaded to the Files area of the [email protected] group.

File: NanoVNA Calibration Considerations and Procedure_v1.1.pdf

Uploaded By: alan victor

Description:
Updated to correct a typo on item #6

You can access this file at the URL:
/g/nanovna-users/files/NanoVNA%20Calibration%20Considerations%20and%20Procedure_v1.1.pdf

Cheers,
The Groups.io Team


Re: Early app for the NanoVNA

 

Hi Jeff,
thanks for the shopping list :D

I'll respond to each:
1) In the LogMag charts, each X-coordinate has a well-defined frequency. In
the Smith charts, I would have to find the closest point of the trace (or
reference?) and set the frequency to that. That code is more complex, and
thus I haven't done it yet. It's on the list though!

2) I think that might have been a glitch - I haven't had any code in the
Smith chart for moving cursors.

3) The colour is a little grayed out because it's mostly transparent. The
reference sweep is drawn on top of the measured sweep, but in a (more)
transparent colour, in order not to completely blot out the sweep. With
sufficiently many points, it starts to look solid. When picking a colour
you can choose the "alpha" value to set transparency.

4) I'll make a display of the actual measured frequency for the cursors -
great point.

5) I'll think about a nice way to make an interface for storing the mouse
marker frequency into the other markers - or optionally moving the other
markers using the mouse.

6) Stepping would be a great feature, I agree.

7) Averaging will probably arrive at some point. It shouldn't be too hard
for pure averaging. But sweeps will get slow.

8) Good point on the double compensation - I will check the firmware.

9) I fully agree, we need an about button, and probably the version in the
window title. :-)

Thanks for all your feedback, and your praise in the other email!

--
Rune / 5Q5R

On Thu, 5 Sep 2019 at 02:38, Jeff Anderson <jca1955@...> wrote:

Hi Rune,

I have downloaded your release 0.0.5 and am checking it out. Some
comments:

1. At first I thought the Mouse Cursor was broken -- I was clicking in
the S11 Smith Chart plot and I wasn't seeing its marker. Then I discovered
accidentally that its marker would appear if I instead clicked in the S11
Return Loss plot. Any chance to get this marker to appear no matter which
plot we first click our mouse in?

2. Also, in the version I downloaded this morning from the master (not
release) folder (a version without the verbose Mouse cursor and dots for
Markers in lieu of triangles), I could move the mouse cursor in the S11
Smith Chart plot. I cannot do this now -- I have to go to the S11 Return
Loss plot to move it.

3. Reference Plot color -- works fine, but I notice that the color
displayed in the "color button" is a very grayed-out version of the color I
select. Not sure why it's grayed-out, as the color of the actual reference
plot is fine.

4. The only way I seem to be able to get Markers 1 and 2 to appear on the
screen is if I first type a frequency into their boxes, and then the
markers appear (which might be your intention). But I know that the
frequency I type isn't the actual frequency that the marker is pointing to
(which I can read by ovelaying the mouse cursor on top of either Marker 1
or 2). For example, for Marker 2 I had typed in 500000000 (i.e. 500 MHz).
But the actual frequency of the sample is 506.936 MHz. Would be nice if
the displayed frequency were the actual frequency.

5. Being able to transfer the mouse cursor's frequency into either Marker
1 or Marker 2 would be a nice feature.

6. Would be nice to step the mouse cursor (and/or the markers) with the
keyboard arrow keys for "fine tuning".

7. Heartily agree with adding averaging.

8. A word of caution regarding adding C0 (and C1, C2, C3) for the open
calibration standard. As has been mentioned in other threads, there might
be a 50 femtofarad value already hard-coded into the NanoVNA software as
C0. Adding an external C0 parameter, without being able to zero out the
existing C0, will defeat the purpose of adding the new C0 value. (If this
is an issue, I would suggest contacting Hugen -- he might be able to
confirm the existance of this hard-coded value. If it an existing
compensation already exists, there might be some way to cancel out its
effect -- maybe by adding to it a negative (!!!) 50 femtofarad value?).

9. It would be nice if the release version appeared someplace in the app.

And finally...excellent job!

- Jeff, k6jca