¿ªÔÆÌåÓý

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

Storing and recalling scan later via Nano VNA saver (or similar) #internals #consolecommands


 

The only issue with pausing the device is the power switch.?
Both of my Nano's (a white and a black) reset if the power switch is wiggled slightly.?
You can mitigate that by shorting the switch to ON and installing a momentary switch from pin 5 of the battery controller through a 5K to gnd.?
Then, use that to turn the device on (one press) and off (two presses).?

See message thread: /g/nanovna-users/message/1013

On Friday, October 25, 2019, 4:48:49 a.m. GMT-4, YT9TP - Pedja via Groups.Io <yt9tp@...> wrote:

I guess if I have to go to soem hard to access space to take measurements I would not be happy to rely on pause button. I would like to make snapshot that survives even turning device off. Also, when I am there I might need to make several measurements, for example to check several antennas or cables, or simply to chech cable and antenna independently.

That said, I agree it is better than no means to save measurement :) This is so low priced device that it is quite acceptable.


 

On Fri, Oct 25, 2019 at 10:46 AM, Rune Broberg wrote:


is there a way to see for the app if the sweeping is paused or not?
No, there is no way for PC to check if sweep is paused.


The default NanoVNA-Saver hardware code also calls the "resume" command
after sweeping, in order to ensure that the device does not appear locked
up. This would remove the data the user had saved, which might be a problem?
yes, the user may want to download paused data.
If you send resume, it will overwrite user data and it will be lost.


 

On Fri, Oct 25, 2019 at 11:48 AM, YT9TP - Pedja wrote:


I guess if I have to go to soem hard to access space to take measurements I
would not be happy to rely on pause button. I would like to make snapshot that
survives even turning device off. Also, when I am there I might need to make
several measurements, for example to check several antennas or cables, or
simply to chech cable and antenna independently.
it is possible to store data in the program flash of the controller. But each record needs 2 kB flash memory and write resource of this flash memory is limited.

STM32F072CB used in the NanoVNA has just 128 kB flash memory and it can perform 10000 write cycles. It means that after 10000 save operations, you will needs to replace STM32F072CB chip with a new one.


 

Have you tried the smartphone App from Playstore?

I have not yet connected and tried but there is a "save" function in the App.
That way you only have to carry your Smartphone with you when taking readings and not a PC or laptop.

Just a thought .....


 

| On Fri, Oct 25, 2019 at 07:49 AM, UlrichKraft wrote:
|
| Have you tried the smartphone App from Playstore? ¡­..
|
------------------------------------------------------------------------------

The NanoVNA-WebApp smartphone app is a good alternative since most of us will also be carrying a smartphone with us anyway. The issues I have had with this approach are:

1. Need a conveniently long OTG cable to connect between the NanoVNA and the smartphone.
2. The smartphone has to be running Android version 7.0 or higher,
3. The majority of the smartphones running Android 7.0 or higher have USB-C connectors. I have not been able to get either a smartphone or android tablet with a USB-C connector to work with the NanoVNA-WebApp. CHO45 includes this note at his GitHub page, "Type-C to Type-C cable may not be usable. I recommend using USB-A OTG adapter." I'm not sure how that recommendation helps if your smartphone or tablet has a USB-C connector.

If you do get your smartphone to work with the NanoVNA-WebApp then the number of on the go screen captures and s1p/s2p files you can save is only limited by the available free space on your smartphone (or cloud storage if accessible).

-Herb


 

I believe the issue with a straight USB Type-C to Type-C cable is the lack of 5.1k pulldown resistors on the USB connector of the nanoVNA. I purchased a short 5 inch OTG cabe and use it with the supplies C to USB-A cable supplied with the nanaVNA.

Mike N2MS

On October 25, 2019 at 11:54 AM hwalker <herbwalker2476@...> wrote:


| On Fri, Oct 25, 2019 at 07:49 AM, UlrichKraft wrote:
|
| Have you tried the smartphone App from Playstore? ¡­..
|
------------------------------------------------------------------------------

The NanoVNA-WebApp smartphone app is a good alternative since most of us will also be carrying a smartphone with us anyway. The issues I have had with this approach are:

1. Need a conveniently long OTG cable to connect between the NanoVNA and the smartphone.
2. The smartphone has to be running Android version 7.0 or higher,
3. The majority of the smartphones running Android 7.0 or higher have USB-C connectors. I have not been able to get either a smartphone or android tablet with a USB-C connector to work with the NanoVNA-WebApp. CHO45 includes this note at his GitHub page, "Type-C to Type-C cable may not be usable. I recommend using USB-A OTG adapter." I'm not sure how that recommendation helps if your smartphone or tablet has a USB-C connector.

If you do get your smartphone to work with the NanoVNA-WebApp then the number of on the go screen captures and s1p/s2p files you can save is only limited by the available free space on your smartphone (or cloud storage if accessible).

-Herb



 

On Fri, Oct 25, 2019 at 09:34 AM, n2msqrp wrote:


I believe the issue with a straight USB Type-C to Type-C cable is the lack of
5.1k pulldown resistors on the USB connector of the nanoVNA. I purchased a
short 5 inch OTG cabe and use it with the supplies C to USB-A cable supplied
with the nanaVNA.

Mike N2MS
-----------------------------------------------------------------------------------------------------------------------------------------

Mike,
The lack of 5.1k pulldown resistors on the USB connector of the nanoVNA is a likely issue. Hopefully someone who has gotten the Webapp to work after installing the resistors, when it wouldn't work prior to the install, can provide some feedback. Using an OTG cable it with the supplied C to USB-A cable nanaVNA cable did not work for me with any of my smartphones tablets with type-C connectors.

- Herb


 

Folks,
All you need is a small USB-C to USB-3 adapter on the phone-end and use the cable that comes with the nano.


...Larry

On Friday, October 25, 2019, 1:04:21 p.m. GMT-4, hwalker <herbwalker2476@...> wrote:

On Fri, Oct 25, 2019 at 09:34 AM, n2msqrp wrote:


I believe the issue with a straight USB Type-C to Type-C cable is the lack of
5.1k pulldown resistors on the USB connector of the nanoVNA. I purchased a
short 5 inch OTG cabe and use it with the supplies C to USB-A cable supplied
with the nanaVNA.

Mike N2MS
-----------------------------------------------------------------------------------------------------------------------------------------

Mike,
The lack of 5.1k pulldown resistors on the USB connector of the nanoVNA is a likely issue.? Hopefully someone who has gotten the Webapp to work after installing the resistors, when it wouldn't work prior to the install, can provide some feedback.? Using an OTG cable? it with the supplied C to USB-A cable nanaVNA cable did not work for me with any of my smartphones tablets with type-C connectors.

- Herb


 

On Fri, Oct 25, 2019 at 10:21 AM, Larry Rothman wrote:
¡­.
All you need is a small USB-C to USB-3 adapter on the phone-end and use the cable that comes with the nano.

-------------------------------------------------------------------------------------------------------------------------------------

Larry,
What's the difference between that adapter and the similar USB-C to USB-A OTG cable that I have not had success with? Also, which smartphone or tablet with a USB-C connector were you able to get working with the adapter?

Tks,

Herb


 

Herb,I don't have any USB-C devices (other than the nano).
If you read the specs on the adapter, it has the 5.1K pull-up resistors that tells the cellphone/tablet to become a USB host.
That means there will be 5V available on the USB-A port.
That is really all you need to supply the nano with power and a data connection.
Have a look at this TI document:

...Larry

On Friday, October 25, 2019, 3:25:17 p.m. GMT-4, hwalker <herbwalker2476@...> wrote:

On Fri, Oct 25, 2019 at 10:21 AM, Larry Rothman wrote:
¡­.
All you need is a small USB-C to USB-3 adapter on the phone-end and use the cable that comes with the nano.

-------------------------------------------------------------------------------------------------------------------------------------

Larry,
What's the difference between that adapter and the similar USB-C to USB-A OTG cable that I have not had success with?? Also, which smartphone or tablet with a USB-C connector were you able to get working with the adapter?

Tks,

Herb


 

Thanks Larry,
I have a NanoVNA-H on order that has the USB resistors installed. When it arrives I'll be able to verify for certain if Android 7.0+ phones and tablets with USB-C connectors are dependent on the resistors being installed for use with the NanoVNA-Web-Client. I'll provide feedback to the forum unless someone else does first. That information should probably go under a separate hash tag NanoVNA-Web-Client topic.

BTW,
The NanoVNA-H was $48.50 delivered from China. If you don't mind a delivery date towards the end of November, I would definitely purchase it over the current NanoVNA's.

Advantages:

1. Cost is not much more than the current NanoVNA's. I expect $48.50 from Chinese sellers will translate to $60 or less from U.S. dealers.

2. The NanoVNA-H comes installed in a nice protective case. Similar 3-D printed cases on eBay sell for over $10.00.

3. The marketing photos show besides the two SMA cables and USB-C to USB-A, a UAB-C to USB-C cable is included.

4. Whatever your opinion regarding their necessity, the 5.1 k USB-C resistors, battery voltage diode, and Port RF shields are in place.

5. Hugen usually delivers his units with the latest firmware at his NanoVNA-H GitHub page at the time of shipping.

6. Hugen's units are usually pre-calibrated and ready to use.

7. Hugen is a member of this board and usually makes time to respond to NanoVNA-H and NanoVNA-H ver 2.0 related questions.

- Herb


 

Hi all,

regarding saving the scan and download it later, I think a nice firmware feature would be to schedule a delayed scan followed by a pause after the scan.
This will allow to hang the NanoVNA to the antenna (for example HF multiband dipole like FD4, or VHF YAGI) and perform a scan without the feeder.
The delayed start of the scan is necessary to allow enough time to install the antenna in the position.

Thank you,
Ady (YO2NAA)


 

Hi Ady

regarding saving the scan and download it later, I think a nice firmware
feature would be to schedule a delayed scan followed by a pause after the
scan.
This is already possible using

This will allow to hang the NanoVNA to the antenna (for example HF multiband
dipole like FD4, or VHF YAGI) and perform a scan without the feeder.
The delayed start of the scan is necessary to allow enough time to install the
antenna in the position.
Not sure why delaying start is necessary; scans until pause are discarded.
Only the final scan before pause is available to upload when USB is reconnected.


 

Thank you Oristo.
I'm not sure how to press pause when the unit is hanging on the antenna up
in the air, that's the reason I think a *scheduled *one scan+pause will do
it.
To clarify my request, let's imagine the following sequence:

1. Prepare the scheduled scan on the NanoVNA (for example set delay 10 min)
2. Connect NanoVNA to the antenna
3. Install the antenna on the working position
4. Wait for the scan+pause to start/finish
5. Bring antenna down and save the data from the NanoVNA via USB

I know there's another solution to this problem: to calibrate NanoVNA with
a piece of cable long enough to reach the antenna in the working position.
However, I think the measurement with NanoVNA connected directly to the
antenna would be more accurate.

On Mon, Nov 4, 2019 at 12:08 PM Oristo <ormpoa@...> wrote:

Hi Ady

regarding saving the scan and download it later, I think a nice firmware
feature would be to schedule a delayed scan followed by a pause after the
scan.
This is already possible using

This will allow to hang the NanoVNA to the antenna (for example HF
multiband
dipole like FD4, or VHF YAGI) and perform a scan without the feeder.
The delayed start of the scan is necessary to allow enough time to
install the
antenna in the position.
Not sure why delaying start is necessary; scans until pause are discarded.
Only the final scan before pause is available to upload when USB is
reconnected.




 

On Thu, Oct 24, 2019 at 12:35 PM, Oristo wrote:
If latest firmware release does not behave as wanted,
then add an issue, e.g.
( )
Thanks for this tip...I have been wondering how to provide feedback and recommendations to developers.
--
On the banks of the Piscataqua
Rich NE1EE


 

On Thu, Oct 24, 2019 at 09:47 AM, Martin wrote:
Is it possible to take a sweep & capture with the standalone Nano VNA then
connect to NanoVNA Saver at a later stage and download the previous sweep
parameters for display ?
How about connecting a Pi or summat running *nix and Python. Not an expert w either one, but have tinkered w the Pi (and others, such as Propeller)

and did a lot of high-altitude (near-space) data acquisition.

So maybe this is a low-cost alternative? Prolly the Pi//Linux/Python (I guess that I should learn Python...sigh) could be running some sort of loop that acquires data at intervals? This is what I did with the Propeller, and the Pi is higher up the food chain.
--
On the banks of the Piscataqua
Rich NE1EE


 

On Mon, Nov 4, 2019 at 07:02 AM, Rich NE1EE wrote:
How about connecting a Pi or summat running *nix and Python.
I like nanovna-saver, but that runs only on Windows? And I don't know that it has an interval timer for data acquisition.
--
On the banks of the Piscataqua
Rich NE1EE


 

No. nanovna-saver is written in python, it runs anywhere you can get
python.
I use it on my linux systems.
Shouldn't be hard to add an interval timer to it.

However, I've thought that maybe it would be interesting to make a stripped
down version that is just a panel full of buttons to trigger recording data.

On Mon, Nov 4, 2019 at 7:04 AM Rich NE1EE <NE1EE@...> wrote:

On Mon, Nov 4, 2019 at 07:02 AM, Rich NE1EE wrote:
How about connecting a Pi or summat running *nix and Python.
I like nanovna-saver, but that runs only on Windows? And I don't know that
it has an interval timer for data acquisition.



 

Install the antenna on the working position
How distant is working position?
USB extender up to 150ft costs < US$10


 

How about connecting a Pi or summat running *nix and Python.
Not an expert w either one, but have tinkered w the Pi
A Pi with Python


.. should be able to run a hack of this:


in bash shell scripts for such special case measurements