Comments (8)
Solved with scikit-rf's calibration tool, thanks!
from nanovna.
Update: I figured from the NanoVNA-Saver that it uses
VID = 0x04b4
PID = 0x0008
for the S-A-A V2 model, and although at first it seems to work, it doesn't respond. E.g. I run ./nanovna.py -C out.png
and it gets stuck on capturing...
without any out.png
being saved of course. Perhaps there's a better Python script suited S-A-A V2 model?
from nanovna.
@zarath - In case you have any ideas (since you seem to be familiar with the code you've written for the V2 model), I'd greatly appreciate any input as to how we could adapt this.
(My goal is to export s2p
data from the VNA to my machine via Python)
from nanovna.
The V2 firmware doesn't support on device gui when connected to usb. Therefore it has no screenshot option.
from nanovna.
@zarath One more thing: I've managed to get everything working and I'm able to output touchstone files, plot them etc., but I see that the |S21| values disagree between the NanoVNA alone (i.e. not connected to python/a computer) and the ones the python script is measuring.
My understanding is that once I calibrate the device (SOLT) and connect it to the computer, the python interface does not seem to pick up the latest calibration on file. Is there a simple way to either load the latest calibration on file or manually re-run the SOLT calibration again through python, or do I write something up and save each state (OPEN, SHORT, LOAD, THRU) as a separate sNp
file and apply the calibration locally?
from nanovna.
Oh, that's of course a lot more work... V2 just delivers uncalibrated data via usb and it is requiered to do it by ones own.
An idea would be to give the script an option to read in a calibration file, which for example can be created by nanoVNA-saver
from nanovna.
Hello
can you share with us how you were able to solve it.
Currently blocked on trying to connect my SAA-2N via python
Thank you in advance
from nanovna.
@Haydarjammoul I had to change my VIDPIDs to:
VIDPIDs = set([(0x0483, 0x5740), (0x04b4,0x0008)]);
so the SAA V2 device could be recognized. See: https://github.com/0xCoto/OptimizeRF/blob/main/nanovna.py
from nanovna.
Related Issues (20)
- Firmware 0.5.4 'reald; HOT 1
- Re v0.8 bandwidth feature HOT 8
- Frequency Offset
- WRONG PID after update HOT 6
- Provide mecanism to stop rf output
- Update 20201013 - NanoVNA V2-2
- Screen capture HOT 1
- S21 gain figures
- How to re-activate marker settings after switching off the nanovna?
- Group Delay Calculation Does not Unwrap Phase
- Upgrade failed. Restore. HOT 1
- How to calculate the values of resistive return loss bridge?
- MATLAB (on Windows) unable to read from NanoVNA V2_2
- Turkish language support
- sd card implementation
- How do I find the author and start communicating with him
- Plot Transmission Logmag Not Working
- Licens of code
- Receive invalid data by command "data 0" via USB port
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nanovna.