-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controlling device via Serial commands #676
Comments
Please be more specific what kind of tests, S11 with the Antenna alone or S21 with a calibrated reference antenna? |
Thanks for your quick reply. I have now realized that you are the same person that have responded on the: suggesting me to use https://github.com/Ho-Ro/nanovna-tools Could you please help me understand what are the differences between these two tools and which one is more suitable for my particular application?
I currently have my hands on NanoVNA -H (I am aware that it is not capable of measuring 2.4 GHz but I can use this to familiarise myself with the tools available and how to use them). I can then later buy the NanoVNA V2 and I expect I would be able to use the tools in a Similar way. |
For a 1st start you can try also with the -H, it can go up to 2.7 GHz - but with degraded performance because the oscillator chip can only deliver frequencies up to 300 MHz and the device uses the harmonics of the generated square wave for the higher frequency ranges. |
@Ho-Ro I have managed to get the
However, I am not fully understanding how to use
and
Also, I notice that some commands cannot go through even using
Also, trying to measure S11 parameter, I am not getting anything returned: Am I not using this properly? |
This is an error, sorry, the line must be if captured_bytes == b'capture?\r\nch> ': # error message but nevertheless you're getting an error in communication (Windows?, see below) 1st step: try with a terminal and make you familiar with the ASCII communication
EDIT: Yes, you're using it not properly, the capture command sends a screen shot as binary data that cannot be displayed as text. But please be patient, I'm not on my development system right now and don't have NanoVNA or a Linux computer at hand, so I'm practically just doing it from my (faulty) memories. |
I do not fully understand what you mean:
That is exactly what I am doing, no? Using various python scripts and their commands such as Could you provide one or two examples on what exactly you mean using |
The command format is described here and there. Otherwise EDIT: this is the up-to-date version: shellcommands.txt |
@krupis Please close this issue and follow the discussion at the right repo: |
Feature Request
Hello. I am looking for potential solutions for our problem. We need to be able to perform RF tests on 2.4Ghz antenna. One of the possible solutions is to use NanoVNA device.
Describe Preferred Solution
In order to perform all the tests we want, we need to be able to control the device using serial commands. Using serial commands, we need to do the following:
We do not need any GUI , we only want to send the command and receive a simple response in text. Do you know if anything similar is currently possible?
Additional Context
Could you also clarify to me what kind of NanoVNA devices do you support? From what I understand, there are quite a few different options such as:
NanoVNA H
NanoVNA H4
NanoVNA V2 (design by HCXQS/NanoRF)
NanoVNA V3 (design by HCXQS/NanoRF)
and probably a few others that I dont know about.
Does your tool support all versions of NanoVNA?
The text was updated successfully, but these errors were encountered: