NanoVNA/python
2019-09-28 13:08:03 +09:00
..
NanoVNA-example.ipynb set scale and refpos temporally 2017-01-17 23:06:32 +09:00
nanovna.py feat: multisegment scan support in python script 2019-09-28 13:08:03 +09:00
README.md script: add requirements.txt and usage to capture in README 2019-08-24 11:30:26 +09:00
requirements.txt script: add requirements.txt and usage to capture in README 2019-08-24 11:30:26 +09:00

Control NanoVNA from python script

NanoVNA is able to be controlled via USB serial interface from PC. There are sample scripts in this directory.

Preparation

$ cd python
$ pip3 install -r requirements.txt

Run

Plot reflection LOGMAG.

$ ./nanovna.py -p

Plot transmission LOGMAG.

$ ./nanovna.py -p -P 1

Plot smithchart.

$ ./nanovna.py -s

Capture display

$ ./nanovna.py -C out.png

Show usage.

$ ./nanovna.py -h

Using in Jupyter Notebook

To use NanoVNA from Jupyter notebook, see this page.