Skip to content
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

Support NanoVNA-F V3 & more than 101 sweep points. #711

Open
OP-drone opened this issue Aug 8, 2024 · 6 comments
Open

Support NanoVNA-F V3 & more than 101 sweep points. #711

OP-drone opened this issue Aug 8, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@OP-drone
Copy link

OP-drone commented Aug 8, 2024

SysJoint NanoVNA-F V3 fw 0.5.3 support up to 801 sweep points.

NanoVNA-Saver v0.6.4 there are fixed options to set 11, 51, 101 sweep points and "Custom points" 101 points maximum.

Need support more than 101 sweep points.

@OP-drone OP-drone added the enhancement New feature or request label Aug 8, 2024
@xros
Copy link
Contributor

xros commented Dec 26, 2024

Hopefully this can be supported. I purchased a NanoVNA-F v3 with fw 0.5.8

BTW, do you know where to download the latest firmware for nanovna f v3?

@patdoss
Copy link

patdoss commented Dec 30, 2024

Hi,
I purchased also the SysJoint NanoVNA-F V3 HW: Rev D and FW 0.5.8 two weeks ago and already done some code modifications yesterday, desesperating to be limited to 101 sweep points for a so nice toy, so i started the debug mode on the latest release NanoVNA-Saver v0.6.9.
As a first approach, the code update to support the 801 sweep points is fast and easy to do.
For early testing here is what i done:

  • add a new file under /src/NanoVNASaver/Harware/NanoVNA_F_V3_.py
  • add small modifications to /src/NanoVNASaver/Harware/Hardware.py

    from NanoVNASaver.Hardware.NanoVNA_F_V3 import NanoVNA_F_V3
    ...
    NAME2DEVICE = {
    ....
    "F_V3": NanoVNA_F_V3,
    ..
    It's only for early testing for NanoVNA-F V3 frustrated owners like me and i probably miss many other details.. i just start to learn the tool !
    Thanks so much to the developpers for this beatifull tool.

Hardware.zip
NanoVNA_F_V3_.zip
NanoVNA-F_V3

@patdoss
Copy link

patdoss commented Jan 4, 2025

Hi,
I don't know yet if it is used elsewhere in the code, but I manage to get the SN display in the device configuration form.
I found the problem in the /src/NanoVNASaver/Harware/VNA.py

It's not the "sn:" string to detect BUT "SN:" with my hardware so i added a "OR"

def read_features(self):
.....
.....
#mod#
if "sn:" or "SN:" in result:
self.features.add("SN")
self.SN = self.getSerialNumber()
#end-mod#

Also at the end of the file, the command to send is "SN" and not "sn" (i just commented the line ans replace the command name as i don't know if other hardwares can use both "sn" or "SN".. )

def getSerialNumber(self) -> str:
    # return " ".join(list(self.exec_command("sn")))
    return " ".join(list(self.exec_command("SN")))

Sorry if my info is not at the right place or not usefull but if i can help... :-)
Thank's a lot.
73's F6EXL

SN_number_NanoVNA-F_V3

VNA.zip

@xros
Copy link
Contributor

xros commented Jan 8, 2025

I have made a pull-request and tested with my own NanoVNA F V3 to prove that it works with this modification from here: #751

Hopefully this functionality can be added. Special thanks to @patdoss

Before merging to the main branch, the fully runnable version is in my branch: https://github.com/xros/nanovna-saver/tree/sysjoint . Anyone can download and test with their own NanoVNA and NanoVNA F V3.

photo_2025-01-08_13-37-59

And I made a release in my repo. Anyone can download and test it. https://github.com/xros/nanovna-saver/releases/tag/v0.6.8 , tested on Windows and macOS.

@xros
Copy link
Contributor

xros commented Jan 19, 2025

This feature has already been merged based on the pull-request #751

Everyone can test their NanoVNA-F V3 from the main branch of this project now.

You are welcome.

@patdoss
Copy link

patdoss commented Jan 19, 2025

Thanks a lot ! 73's Patrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants