Skip to main content

Unofficial NanoVNA v2 USB Python library and tools

This library is work in progress

This is a small library that allows to access the NanoVNA v2 vector network analyzer using Python. It implements the VectorNetworkAnalyzer base class of pylabdevs (since this is work in progress there is currently an unfinished copy in this repository).

Tools

nanovnav2fetch

The nanovnav2fetch is a very simple command line utility that allows one to fetch the S00 and S01 parameters as well as phases from the NanoVNA v2. Note that this utility always depends on numpy and requires matplotlib to plot or show the traces.

$ nanovnav2fetch --help
usage: nanovnav2fetch [-h] [--port PORT] [--debug] [--s00] [--s01] [--phases]
                      [--show] [--plot [PLOT ...]] [--plottitle PLOTTITLE]
                      [--label00 LABEL00] [--label01 LABEL01] [--npz NPZ]
                      [--start START] [--end END] [--step STEP]

NanoVNA v2 USB fetching utility

optional arguments:
  -h, --help            show this help message and exit
  --port PORT           Port to access the NanoVNA v2 (default: /dev/ttyU0)
  --debug               Enable debug mode on the NanoVNA v2
  --s00                 Gather S00 values
  --s01                 Gather S01 values
  --phases              Gather phases for all enabled channels
  --show                Display the rendered graphics (requires matplotlib)
  --plot [PLOT ...]     Supply filename that will be used to plot graphics
                        (required matplotlib)
  --plottitle PLOTTITLE
                        Title for the plot
  --label00 LABEL00     Label for the S00 parameter
  --label01 LABEL01     Label for the S01 parameter
  --npz NPZ             Dump data into supplied NPZ file
  --start START         Start frequency in Hz (default: 50 MHz)
  --end END             End frequency in Hz (default: 4.4 GHz)
  --step STEP           Step size in Hz (default: 1 kHz)

Metadata

Release files for pynanovnav2-tspspi 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pynanovnav2-tspspi 0.0.1
File Size Uploaded
pynanovnav2-tspspi-0.0.1.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pynanovnav2-tspspi 0.0.1
File Interpreter ABI Platform
pynanovnav2_tspspi-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 23.6 kB

Release files / pynanovnav2-tspspi-0.0.1.tar.gz

Download URL pynanovnav2-tspspi-0.0.1.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1f7d03ed74d2f7404af013d6269b0ee8766d0923bb3fef22e405ae159776ebe3
BLAKE2b-256 checksum
How to use checksums
ef2307578e7cb4cd406448394cbec62f1c959eadae1646b210934d827919e36b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / pynanovnav2_tspspi-0.0.1-py3-none-any.whl

Download URL pynanovnav2_tspspi-0.0.1-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7c895bf6878858a4646adc91090f2e0728dd03ed381f511b03ec1c0bdce597e
BLAKE2b-256 checksum
How to use checksums
6384c7b386f69b60fae4797391636ae30cbb73e4b6679a4587fa082dee3f6d29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page