¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: Saving .s1p, .s2p, and Screenshots Directly from the nanoVNA-H4

 

I bought my H4 several weeks ago and it did include the microSD card holder attached to the PCB. However, the case did not have a slot cut in it for access. I'll do that myself if I decide to use it.

I don't know anything about the crystal but I don't think it is needed unless you want to have accurate date/time stamps on the files being saved.

--
*Don - W3DRM*


Re: Saving .s1p, .s2p, and Screenshots Directly from the nanoVNA-H4

 

So just to clarify - are the new H4 units from R&L Electronics presently shipping with all required hardware to use a (user supplied) microSD card?

1) Or must the above discussed 32KHz crystal first be installed?
2) And do units currently shipping from R&L have cases which include the card slot, or does the user have to cut an access slot?


Re: Pitfalls of measuring components with the NanoVNA #measurement

 

It was a long time ago but I did try and buy the Hugen version with the blue PCB. I just checked and it does say nanoVNA-H v3.3 on the blue PCB and the case and lettering are the same as the Hugen version. I'm not sure if the Hugen version is a clone but at the time this seemed to be the one to buy.


Re: Pitfalls of measuring components with the NanoVNA #measurement

 

AFAIK all open frame versions are clones.
I have one that I have updated to the latest version
of the schematic, works ok but there were some really
weird component values originally. It would not hurt to check
yours.

On Thu, 25 Mar 2021 at 01:14, jmr via groups.io <jmrhzu=
[email protected]> wrote:

I'm fairy sure my nanoVNA is an H as it had H firmware on it when it
arrived. It was made in 2019 and is the open frame 2.8" model. At the time
I did try and buy from a proven seller to get a well made example with the
screens and battery fitted.

I didn't keep any notes when I experimented with newer firmware but I
think the newer versions of FW that I struggled with were the Dislord 1038
FW and the (latest?) oneeleven FW. Both of these gave much noisier results
and I do remember trying different bandwidths. I may have missed something
though. I didn't spend much time with either version so maybe I should have
given them a better chance. I found that all of the Edy555 versions of FW
that I tried seemed to give a clean trace on a 100k and a 1R resistor test.
I tried quite a few right up to version 080. However the two most recent
versions 070 and 080 seemed to be prone to freezing up and I think this was
caused by my own PC tools that I use to communicate with the nanoVNA. I
think 070 and 080 have some of Dislord's code in and I'm fairly certain
that both these versions were as good as earlier versions in terms of the
RF performance. It was just the freezing up issue that stops me using these
newer versions. At the moment I'm running 060 FW and this is quite old and
it doesn't have as many features. However, it seems to run reliably with my
PC tools.






Re: Pitfalls of measuring components with the NanoVNA #measurement

Ken Moorman
 

There are at least two members of this group who are confused about the NanoVNA-H4¡¯s ability to write sp and screenshot files to micro-SD cards and what needs to be done by us to accomplish this ourselves, if in fact it is possible, with the current hardware and firmware. From the various answers we have gotten it seems like some people have been able to do what we are questioning, but the issue is: How did you do it and what, if any mods need to be done to the board? I believe that both of us have been using the latest version of firmware, v1.50, and Rui has plugged the a card into the slot but was not able to get it to be written into. If you have gotten this very useful function to work for you please give us enough information to allow us to do the same. Thanks.

Ken, NU4I

Sent from my iPod

On Mar 25, 2021, at 08:58, Jos Stevens <jrs@...> wrote:

?You need the Xtal only when you want to have the date/time displayed correctly.

Jos

Op 25-3-2021 om 09:43 schreef Rui Valente:
Hello
I installed the latest version 1.0.50 and i solder a new SD card
slot...them i tested 3 different sd card and different capacities but
anything happen in the menu sd card (no error message) after i remove the
cards and theyare empty...is necessary install the 32khz cristal ? I don't
install yet...

Thanks in advance...
73 CT2GGX


A quinta, 25/03/2021, 03:59, DiSlord <dislordlive@...> escreveu:

I fix one problem in DSP code (for H version) in 1.0.50.
H4 use DSP instruction and more faster/accurate in calculations

DSP code for H:

do{
int16_t ref = capture[i+0];
int16_t smp = capture[i+1];
int32_t sin = ((int16_t *)sincos_tbl)[i+0];
int32_t cos = ((int16_t *)sincos_tbl)[i+1];
samp_s+= (smp * sin)/16;
samp_c+= (smp * cos)/16;
ref_s += (ref * sin)/16;
ref_c += (ref * cos)/16;
i+=2;
}while (i < length);

Yes /=16 used for prevent overflow on int32 values

Code for H4:
do{
int32_t sc = ((int32_t *)sincos_tbl)[i];
int32_t sr = ((int32_t *)capture)[i];
// int64_t acc DSP functions
acc_samp_s= __smlaltb(acc_samp_s, sr, sc ); // samp_s+= smp * sin
acc_samp_c= __smlaltt(acc_samp_c, sr, sc ); // samp_c+= smp * cos
acc_ref_s = __smlalbb( acc_ref_s, sr, sc ); // ref_s+= ref * sin
acc_ref_c = __smlalbt( acc_ref_c, sr, sc ); // ref_s+= ref * cos
i++;
} while (i < length/2);

It use int64 accumulator (it aslo used for accumulate for
average/bandwidth) and one instruction for calculate (H can`t fast
processing measured data in int64)

On H4 i can get up to - 100 - 110dB dynamic range on measure S21 in 1 to
100MHz










Re: Pitfalls of measuring components with the NanoVNA #measurement

 

You need the Xtal only when you want to have the date/time displayed correctly.

Jos

Op 25-3-2021 om 09:43 schreef Rui Valente:

Hello
I installed the latest version 1.0.50 and i solder a new SD card
slot...them i tested 3 different sd card and different capacities but
anything happen in the menu sd card (no error message) after i remove the
cards and theyare empty...is necessary install the 32khz cristal ? I don't
install yet...

Thanks in advance...
73 CT2GGX


A quinta, 25/03/2021, 03:59, DiSlord <dislordlive@...> escreveu:

I fix one problem in DSP code (for H version) in 1.0.50.
H4 use DSP instruction and more faster/accurate in calculations

DSP code for H:

do{
int16_t ref = capture[i+0];
int16_t smp = capture[i+1];
int32_t sin = ((int16_t *)sincos_tbl)[i+0];
int32_t cos = ((int16_t *)sincos_tbl)[i+1];
samp_s+= (smp * sin)/16;
samp_c+= (smp * cos)/16;
ref_s += (ref * sin)/16;
ref_c += (ref * cos)/16;
i+=2;
}while (i < length);

Yes /=16 used for prevent overflow on int32 values

Code for H4:
do{
int32_t sc = ((int32_t *)sincos_tbl)[i];
int32_t sr = ((int32_t *)capture)[i];
// int64_t acc DSP functions
acc_samp_s= __smlaltb(acc_samp_s, sr, sc ); // samp_s+= smp * sin
acc_samp_c= __smlaltt(acc_samp_c, sr, sc ); // samp_c+= smp * cos
acc_ref_s = __smlalbb( acc_ref_s, sr, sc ); // ref_s+= ref * sin
acc_ref_c = __smlalbt( acc_ref_c, sr, sc ); // ref_s+= ref * cos
i++;
} while (i < length/2);

It use int64 accumulator (it aslo used for accumulate for
average/bandwidth) and one instruction for calculate (H can`t fast
processing measured data in int64)

On H4 i can get up to - 100 - 110dB dynamic range on measure S21 in 1 to
100MHz







Re: Pitfalls of measuring components with the NanoVNA #measurement

 

Hello
I installed the latest version 1.0.50 and i solder a new SD card
slot...them i tested 3 different sd card and different capacities but
anything happen in the menu sd card (no error message) after i remove the
cards and theyare empty...is necessary install the 32khz cristal ? I don't
install yet...

Thanks in advance...
73 CT2GGX


A quinta, 25/03/2021, 03:59, DiSlord <dislordlive@...> escreveu:

I fix one problem in DSP code (for H version) in 1.0.50.
H4 use DSP instruction and more faster/accurate in calculations

DSP code for H:

do{
int16_t ref = capture[i+0];
int16_t smp = capture[i+1];
int32_t sin = ((int16_t *)sincos_tbl)[i+0];
int32_t cos = ((int16_t *)sincos_tbl)[i+1];
samp_s+= (smp * sin)/16;
samp_c+= (smp * cos)/16;
ref_s += (ref * sin)/16;
ref_c += (ref * cos)/16;
i+=2;
}while (i < length);

Yes /=16 used for prevent overflow on int32 values

Code for H4:
do{
int32_t sc = ((int32_t *)sincos_tbl)[i];
int32_t sr = ((int32_t *)capture)[i];
// int64_t acc DSP functions
acc_samp_s= __smlaltb(acc_samp_s, sr, sc ); // samp_s+= smp * sin
acc_samp_c= __smlaltt(acc_samp_c, sr, sc ); // samp_c+= smp * cos
acc_ref_s = __smlalbb( acc_ref_s, sr, sc ); // ref_s+= ref * sin
acc_ref_c = __smlalbt( acc_ref_c, sr, sc ); // ref_s+= ref * cos
i++;
} while (i < length/2);

It use int64 accumulator (it aslo used for accumulate for
average/bandwidth) and one instruction for calculate (H can`t fast
processing measured data in int64)

On H4 i can get up to - 100 - 110dB dynamic range on measure S21 in 1 to
100MHz






Re: MiniVNA vs NanoVNA Balun Test plot query

 

Arie,
It took me a little while to figure out what a balloon was. I passed the video and tried googling Ballon choke. But then it hit me. The videos are great. They are long but good.


Re: Pitfalls of measuring components with the NanoVNA #measurement

 

I fix one problem in DSP code (for H version) in 1.0.50.
H4 use DSP instruction and more faster/accurate in calculations

DSP code for H:

do{
int16_t ref = capture[i+0];
int16_t smp = capture[i+1];
int32_t sin = ((int16_t *)sincos_tbl)[i+0];
int32_t cos = ((int16_t *)sincos_tbl)[i+1];
samp_s+= (smp * sin)/16;
samp_c+= (smp * cos)/16;
ref_s += (ref * sin)/16;
ref_c += (ref * cos)/16;
i+=2;
}while (i < length);

Yes /=16 used for prevent overflow on int32 values

Code for H4:
do{
int32_t sc = ((int32_t *)sincos_tbl)[i];
int32_t sr = ((int32_t *)capture)[i];
// int64_t acc DSP functions
acc_samp_s= __smlaltb(acc_samp_s, sr, sc ); // samp_s+= smp * sin
acc_samp_c= __smlaltt(acc_samp_c, sr, sc ); // samp_c+= smp * cos
acc_ref_s = __smlalbb( acc_ref_s, sr, sc ); // ref_s+= ref * sin
acc_ref_c = __smlalbt( acc_ref_c, sr, sc ); // ref_s+= ref * cos
i++;
} while (i < length/2);

It use int64 accumulator (it aslo used for accumulate for average/bandwidth) and one instruction for calculate (H can`t fast processing measured data in int64)

On H4 i can get up to - 100 - 110dB dynamic range on measure S21 in 1 to 100MHz


Re: Saving .s1p, .s2p, and Screenshots Directly from the nanoVNA-H4

 

Larry,

Sorry. I meant capacity. I have a 32MB microSD card that I will try.

Thanks,

Mike N2MS

On 03/24/2021 8:12 PM Larry Rothman <nlroth@...> wrote:


Oops, for size, do you mean capacity or physical?
It takes an microSD card also known as a TF card of any capacity?
I've used a 32GB and 32MB without any problems



On Wed., 24 Mar. 2021 at 7:10 p.m., n2msqrp<mstangelo@...> wrote: I just got a new H4 form R&L Electronics and it has the SD receptacle. What size SD card does it accept?

Mike N2MS

On 03/24/2021 3:26 PM Larry Rothman <nlroth@...> wrote:


In DiSlord firmware, the screenshot works if you click on the centre, bottom of the screen.
You can add a 32KHz xtal on the PC14-PC15 pins at the bottom edge of the H4 PCB, then set using the time cmd in the console.

? ? On Wednesday, March 24, 2021, 2:40:46 p.m. EDT, Ken Moorman <nu4i@...> wrote:

? Several months ago, possibly last year even, there was some discussion here
about the nanoVNA-H4 as having built onto the boards either a jack that
would accept micro-SD cards or at least the circuit pads were present for
the installation of said jack if it had not actually been soldered on by the
manufacturer.? I also remember that there was discussion about adding a








Re: Pitfalls of measuring components with the NanoVNA #measurement

 

I also tried a very harsh test with the nanoVNA. I put two 820pF PPI 1111 caps in series and compared the ESR to just one 820pF PPI cap. In theory, the ESR should double and the Q curve should be the same.
The result below is quite good but this is really stretching the limits of any VNA. The result for two caps in series isn't quite double the ESR but it looks close enough.

Note that I'm not doing anything 'clever' with calibration offsets or fudge factors to get these results. I measured the OPEN and SHORT delays on a lab analyser and I use this to correct any slight error in the cal kit. The difference betwen open and short is only about 2ps even uncorrected. So there is no secret sauce or fudgery involved in the setup I'm using.

I did note that the edelay 'delay' needs to have a x2 factor included (to give the correction delay I expect) and I'm not used to seeing this.


Re: Pitfalls of measuring components with the NanoVNA #measurement

 

I'm fairy sure my nanoVNA is an H as it had H firmware on it when it arrived. It was made in 2019 and is the open frame 2.8" model. At the time I did try and buy from a proven seller to get a well made example with the screens and battery fitted.

I didn't keep any notes when I experimented with newer firmware but I think the newer versions of FW that I struggled with were the Dislord 1038 FW and the (latest?) oneeleven FW. Both of these gave much noisier results and I do remember trying different bandwidths. I may have missed something though. I didn't spend much time with either version so maybe I should have given them a better chance. I found that all of the Edy555 versions of FW that I tried seemed to give a clean trace on a 100k and a 1R resistor test. I tried quite a few right up to version 080. However the two most recent versions 070 and 080 seemed to be prone to freezing up and I think this was caused by my own PC tools that I use to communicate with the nanoVNA. I think 070 and 080 have some of Dislord's code in and I'm fairly certain that both these versions were as good as earlier versions in terms of the RF performance. It was just the freezing up issue that stops me using these newer versions. At the moment I'm running 060 FW and this is quite old and it doesn't have as many features. However, it seems to run reliably with my PC tools.


Re: Saving .s1p, .s2p, and Screenshots Directly from the nanoVNA-H4

 

Oops, for size, do you mean capacity or physical?
It takes an microSD card also known as a TF card of any capacity?
I've used a 32GB and 32MB without any problems



On Wed., 24 Mar. 2021 at 7:10 p.m., n2msqrp<mstangelo@...> wrote: I just got a new H4 form R&L Electronics and it has the SD receptacle. What size SD card does it accept?

Mike N2MS

On 03/24/2021 3:26 PM Larry Rothman <nlroth@...> wrote:


In DiSlord firmware, the screenshot works if you click on the centre, bottom of the screen.
You can add a 32KHz xtal on the PC14-PC15 pins at the bottom edge of the H4 PCB, then set using the time cmd in the console.

? ? On Wednesday, March 24, 2021, 2:40:46 p.m. EDT, Ken Moorman <nu4i@...> wrote:

? Several months ago, possibly last year even, there was some discussion here
about the nanoVNA-H4 as having built onto the boards either a jack that
would accept micro-SD cards or at least the circuit pads were present for
the installation of said jack if it had not actually been soldered on by the
manufacturer.? I also remember that there was discussion about adding a


Re: Saving .s1p, .s2p, and Screenshots Directly from the nanoVNA-H4

 

I just got a new H4 form R&L Electronics and it has the SD receptacle. What size SD card does it accept?

Mike N2MS

On 03/24/2021 3:26 PM Larry Rothman <nlroth@...> wrote:


In DiSlord firmware, the screenshot works if you click on the centre, bottom of the screen.
You can add a 32KHz xtal on the PC14-PC15 pins at the bottom edge of the H4 PCB, then set using the time cmd in the console.

On Wednesday, March 24, 2021, 2:40:46 p.m. EDT, Ken Moorman <nu4i@...> wrote:

Several months ago, possibly last year even, there was some discussion here
about the nanoVNA-H4 as having built onto the boards either a jack that
would accept micro-SD cards or at least the circuit pads were present for
the installation of said jack if it had not actually been soldered on by the
manufacturer.? I also remember that there was discussion about adding a


Re: NanoVNA -H4 and new Dislord 1.50 SW... Odd problem?

 

Hello DiSlord,

T`hanks for the fast response, I reloaded 1.0.50 again and now it works... (?)
I'm not sure what I did wrong before, but now it is working fine, its also much faster, which is great!

My apologies for the false alarm.

Best!

Steve


Re: Saving .s1p, .s2p, and Screenshots Directly from the nanoVNA-H4

 

See this topic (Now firmware can autodetect installed quartz, if no run LSI mode, time tick only while device power on)
/g/nanovna-users/message/14447


Re: NanoVNA -H4 and new Dislord 1.50 SW... Odd problem?

 

For run/pause sweep need set/remove flag on Stimulus->Pause sweep

On direct connect CH0 to CH1 port you should see S21 at 0 (if all work and calibration correct) on both port open ess noise at bottom.


Re: Saving .s1p, .s2p, and Screenshots Directly from the nanoVNA-H4

Ken Moorman
 

Thanks for the information, Larry. Does the clock have to be working for the screenshot and s1p, s2p to be saved? Or do I just have to plug in a micro-SD card to get it to work? I guess the saved files could be given a time stamp from the clock instead of naming them. Have you already made these mods to the board yourself? It sounds like the crystal (is it a 32khz clock crystal) is mounted on the board edge rather than tacked onto the MCU as I had been thinking. That would certainly make the mod a lot easier! If you have any pictures or other info that would be useful I would really appreciate it.

Ken, NU4I

Sent from my iPod

On Mar 24, 2021, at 15:26, Larry Rothman <nlroth@...> wrote:

In DiSlord firmware, the screenshot works if you click on the centre, bottom of the screen.
You can add a 32KHz xtal on the PC14-PC15 pins at the bottom edge of the H4 PCB, then set using the time cmd in the console.

On Wednesday, March 24, 2021, 2:40:46 p.m. EDT, Ken Moorman <nu4i@...> wrote:

Several months ago, possibly last year even, there was some discussion here
about the nanoVNA-H4 as having built onto the boards either a jack that
would accept micro-SD cards or at least the circuit pads were present for
the installation of said jack if it had not actually been soldered on by the
manufacturer. I also remember that there was discussion about adding a
small clock crystal directly across two pins on, I believe, the SMT MCU.
This would allow the user to set the clock using a terminal program like
Putty. Firmware was also being written to support these two features, I
believe. I was too busy with other problems on my learning curve for
nanoVNA use that I didn't save any of the discussions then. I have a
hardware version 4.2 which has the micro-SD card jack already added and have
added a slot to the case for it. I have upgraded the firmware to Dislord's
latest version, v1.0.50, which has the menu item "SD CARD" on the Main Menu.
Tapping on that brings up the next menu with "SAVE S1P" and "SAVE S2P".
There was also something said, I thought, about saving screenshots on the
nanoVNA-H4 to the micro-SD card but I haven't seen a menu item for that yet.
I have not tried plugging in a card yet but when I tap on either of the save
commands nothing seems to happen and I get no error message. If anyone has
discovered how to use any of these functions including the clock I would
really like to learn what you know. And if all this is yet to be
implemented I would like to know that as well. Being able to save the s1p
and s2p files in the field would be a very nice feature, as well as being
able to retain screenshots. I have used my phone to take pictures of the
screen but saving them to the card would be great and wouldn't take any
effort.



Ken, NU4I











NanoVNA -H4 and new Dislord 1.50 SW... Odd problem?

 

Hello All. I have a NanoVNA H-4, and I have been using DiSlord's 1.45 SW for about 9 months.
It is great,. it's stable and performed as expected.

I recently discovered the new 1.50 SW and decided to upgrade as it '"'faster" .
So, I upgraded to the new 1.50 SW revision, it loaded just fine, and calibrated etc as usual.

My problem however is odd, I wanted to test a 25MHz Elliptic LPF, using the S21 mode and LogMag. I use this mode often.
the problem is that I see nothing measured... just low level noise at -80dBm... Its almost like the RF sweep is not working to be measured.
I reloaded 1.50 and see the same thing. I then reverted to the older 1.45 SW and normal operation is resumed. My filter looks good.

I cannot find any menu mode to "turn" on the Sweep; is this a bug, or is there some extra mode or menu option I have not yet found to test S21 / LogMag?
I'd appreciate any suggestions.

Thanks!

Steve Mahrer


Re: Saving .s1p, .s2p, and Screenshots Directly from the nanoVNA-H4

 

BTW,? have a look at OneOfEleven's nanovna-app program - it takes screenshots,calibrates the device and a lot more. The link is in her github account but you can find the link by searching for nanovna-app in the forum messages.

On Wednesday, March 24, 2021, 3:28:24 p.m. EDT, Larry Rothman <nlroth@...> wrote:

In DiSlord firmware, the screenshot works if you click on the centre, bottom of the screen.
You can add a 32KHz xtal on the PC14-PC15 pins at the bottom edge of the H4 PCB, then set using the time cmd in the console.

? ? On Wednesday, March 24, 2021, 2:40:46 p.m. EDT, Ken Moorman <nu4i@...> wrote:

Several months ago, possibly last year even, there was some discussion here
about the nanoVNA-H4 as having built onto the boards either a jack that
would accept micro-SD cards or at least the circuit pads were present for
the installation of said jack if it had not actually been soldered on by the
manufacturer.? I also remember that there was discussion about adding a
small clock crystal directly across two pins on, I believe, the SMT MCU.
This would allow the user to set the clock using a terminal program like
Putty.? Firmware was also being written to support these two features, I
believe.? I was too busy with other problems on my learning curve for
nanoVNA use that I didn't save any of the discussions then.? I have a
hardware version 4.2 which has the micro-SD card jack already added and have
added a slot to the case for it.? I have upgraded the firmware to Dislord's
latest version, v1.0.50, which has the menu item "SD CARD" on the Main Menu.
Tapping on that brings up the next menu with "SAVE S1P" and "SAVE S2P".
There was also something said, I thought, about saving screenshots on the
nanoVNA-H4 to the micro-SD card but I haven't seen a menu item for that yet.
I have not tried plugging in a card yet but when I tap on either of the save
commands nothing seems to happen and I get no error message.? If anyone has
discovered how to use any of these functions including the clock I would
really like to learn what you know.? And if all this is yet to be
implemented I would like to know that as well.? Being able to save the s1p
and s2p files in the field would be a very nice feature, as well as being
able to retain screenshots.? I have used my phone to take pictures of the
screen but saving them to the card would be great and wouldn't take any
effort.



Ken, NU4I