¿ªÔÆÌåÓý

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

Re: Possible location of latest VNA source code??

DMR
 

Lapo Pieri,
After compilation it works exactly the same as yours.

There is still a problem, an error occurs when compiling if
USE_PROCESS_STACKSIZE = 0x200
USE_EXCEPTIONS_STACKSIZE = 0x200

With these values, everything compiles without errors.
USE_PROCESS_STACKSIZE = 0x100
USE_EXCEPTIONS_STACKSIZE = 0x100

Hi hugen! Share the full working code please.


Smith chart impedance printout

Lapo Pieri
 

Hi,
I think that Smith chart presentation of impedance as
<real_part>[ohm] <series cap or ind>[F|H] is not practical in many case of
use. So I decide to modify the code to show impedance in
<real_part>+/-j<imag_part> format, you can find the patch to plot.c to
obtain this.
If I found a bit of time I could split Smith chart in two, one as original
and one as just proposed. Do you think it worth?

Lapo, IK5NAX

--------

diff --git a/plot.c b/plot.c
index 10074c3..c5c92e5 100644
--- a/plot.c
+++ b/plot.c
@@ -576,16 +576,22 @@ gamma2imp(char *buf, int len, const float coeff[2], uint32_t frequency)
// float z = sqrtf(zr*zr + zi*zi);
int n;

- n = string_value_with_prefix(buf, len, zr, S_OHM[0]);
- buf[n++] = ' ';
+ n = string_value_with_prefix(buf, len, zr, '\0');
+ if(zi<0)
+ buf[n++]='-';
+ else
+ buf[n++]='+';
+ buf[n++]='j';
+ string_value_with_prefix(buf+n, len-n, fabs(zi), S_OHM[0]);

- if (zi < 0) {
- float c = -1 / (PI2 * frequency * zi);
- string_value_with_prefix(buf+n, len-n, c, 'F');
- } else {
- float l = zi / (PI2 * frequency);
- string_value_with_prefix(buf+n, len-n, l, 'H');
- }
+
+ /* if (zi < 0) { */
+ /* float c = -1 / (PI2 * frequency * zi); */
+ /* string_value_with_prefix(buf+n, len-n, c, 'F'); */
+ /* } else { */
+ /* float l = zi / (PI2 * frequency); */
+ /* string_value_with_prefix(buf+n, len-n, l, 'H'); */
+ /* } */
}

void


Re: Possible location of latest VNA source code??

Lapo Pieri
 

Hi,
02:32 Mon 29 Jul 19 , hugen@... wrote:
You may have pressed the touch screen while adc is initializing.
No, I don't I'm sure

It might be better to add a wait.
I agree. I don't know STM32, I usually develop on NXP LPCxxxx but it seems
to me good.

void adc_init(void)
{
rccEnableADC1(FALSE);

/* Calibration procedure.*/
ADC->CCR = 0;
while (ADC1->CR & ADC_CR_ADEN)
;
ADC1->CR |= ADC_CR_ADCAL;
while (ADC1->CR & ADC_CR_ADCAL)
;

ADC1->CR = ADC_CR_ADEN;
while (!(ADC1->ISR & ADC_ISR_ADRDY))
;
}
Ok, now it works but after a full power-down.
I mean: after re-build and fw load
($ dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D build_900/ch.bin)
on subsequent reset it hangs again just after start and stop frequency
printout; switching off and then on rapidly (blue led remains on) it hangs
again. Switching off, waiting for blue led to go down and switching on again
it works. Why?

Many thanks!

Lapo, IK5NAX


Re: Idea for a bracket for mounting N connectors

 

I have added the second drawing that shows a complete rear cover plate that covers the sides.


Idea for a bracket for mounting N connectors

 

Folks,
A number of you were commenting on maybe using female N connectors on this unit but were concerned about breaking the SMA connectors off the circuit board.

I did a little 'doodle' at lunchtime about how I thought you could fabricate a steel bracket to hold two N-SMA adapters to the NanoVNA.
If you are no sure of mounting at the one end of the device, you could always use a thicker plate steel and use it to replace the entire rear panel of the VNA. That would provide more rigidity as would sides to the bracket - In fact, a solid back cover could be produced that had sides to cover the edges of the VNA.

Anyone who has worked with sheet metal can make this very easily, although I would not use aluminum/brass/copper - too flexible.
Probably 18-20 gauge would be ideal.

I have another drawing to add that shows a rear cover plate - probably Tuesday (gotta get back to work)


Re: Best unit to purchase?

jim
 

Yep .. still had no (easier) way of compensating hugen so...
and that was my original intention (stare and compare)

Jim

On Monday, July 29, 2019, 4:41:28 PM UTC, Hans J Albertsson <hans.j.albertsson@...> wrote:

So total was $71.90?

Please, Jim, once you get the Hugen NanoVNA, compare the two units'
hardware and describe the differences, as far as you can!

TiA.

Den m?n 29 juli 2019 17:58jim via Groups.Io <ab7vf@...>
skrev:

? Same vendor I used ...Ordered july 3, recieved july 26 ...
In order to (maybe) compensate Hugen for his efforts, I also ordered one
via "taobao focus" ( "hugen79") .....cost of unit $53.54 shipping/handling
by shipper $18.36 ...shipped july 28 ..not here yet
Jim

? ? On Monday, July 29, 2019, 3:12:00 PM UTC, Larry Rothman <
ac293@...> wrote:

? Ed,
I got mine from Aliexpress vendor:


It's a very nice unit, comes in a plastice case with all the
attachments/cables/cal and has a battery.
It took 21 days to Toronto, Canada.
Check my previous posts.

Cheers,
Larry


On Mon, Jul 29, 2019 at 11:06 AM, kg7swp@... wrote:


Looking over my unit, it's a Worse clone". I am returning it, as some of
the
measurements are bad.,
Which website should I use to get the proper unit?

Thank you,
Ed





Re: Best unit to purchase?

 

So total was $71.90?

Please, Jim, once you get the Hugen NanoVNA, compare the two units'
hardware and describe the differences, as far as you can!

TiA.

Den m?n 29 juli 2019 17:58jim via Groups.Io <ab7vf@...>
skrev:

Same vendor I used ...Ordered july 3, recieved july 26 ...
In order to (maybe) compensate Hugen for his efforts, I also ordered one
via "taobao focus" ( "hugen79") .....cost of unit $53.54 shipping/handling
by shipper $18.36 ...shipped july 28 ..not here yet
Jim

On Monday, July 29, 2019, 3:12:00 PM UTC, Larry Rothman <
ac293@...> wrote:

Ed,
I got mine from Aliexpress vendor:


It's a very nice unit, comes in a plastice case with all the
attachments/cables/cal and has a battery.
It took 21 days to Toronto, Canada.
Check my previous posts.

Cheers,
Larry


On Mon, Jul 29, 2019 at 11:06 AM, kg7swp@... wrote:


Looking over my unit, it's a Worse clone". I am returning it, as some of
the
measurements are bad.,
Which website should I use to get the proper unit?

Thank you,
Ed





edy555 design notes on CALIBRATION sets

 

There is a wealth of good information in these notes. Thanks Larry for the translation. It is clear the developer put a great deal of effort into the project.

Reading the description of the work in the area of calibration, I see that significant effort was addressed in the algorithm addressing the coupler performance. This is clear as the majority of the CAL routine steps address the coupler tracking, directivity and frequency response.

Reading carefully "Trying out the calibration process of nanoVNA with Python" you will see that the designer recognizes that the CAL kit pieces are not perfect. However, he state they are adequate to provide a reasonable agreement with measured frequency response vs. actual. The cost performance tradeoff is reasonable as the first order of business was to handle the coupler degradation to measured vs. actual response data.

So at this point, create the best short, open and 50 ohm load... the supplied are not too bad. Perhaps the open as suggested in a prior post can be improved. However, KEY is the VNA is under the impression that these cal standards are IDEAL.

What does this mean. Without going through extensive arithmetic and explanation, consider the fact that the measured short when CAL is complete is precisely located at the short side of the chart as a single dot. This is not the case for a true SMA short. There is clockwise (CW) rotation as frequency increases. Hence there is series inductance present with a real SMA CAL standard. As well, that rotation is removed from your DUT. So expect for example, for this case, that the actual value of you L is a bit larger than measured.

At low frequnecies the difference is negligible. So if you desire to use the nanoVNA as a component measurement tool, like an LCR meter, conduct your measurments at say 1 MHz or even 50 kHz!

More on this topic I am sure will be forthcoming.

Alan


Re: Best unit to purchase?

jim
 

Same vendor I used ...Ordered july 3, recieved july 26 ...
In order to (maybe) compensate Hugen for his efforts, I also ordered one via "taobao focus" ( "hugen79") .....cost of unit $53.54 shipping/handling by shipper $18.36 ...shipped july 28 ..not here yet
Jim

On Monday, July 29, 2019, 3:12:00 PM UTC, Larry Rothman <ac293@...> wrote:

Ed,
I got mine from Aliexpress vendor:?

It's a very nice unit, comes in a plastice case with all the attachments/cables/cal and has a battery.
It took 21 days to Toronto, Canada.
Check my previous posts.

Cheers,
Larry


On Mon, Jul 29, 2019 at 11:06 AM, kg7swp@... wrote:


Looking over my unit, it's a Worse clone". I am returning it, as some of the
measurements are bad.,
Which website should I use to get the proper unit?

Thank you,
Ed


Re: Best unit to purchase?

 

Here is an SWR meter (to 60MHz) with Bluetooth Mini60S

On 7/29/2019 11:11 AM, Larry Rothman wrote:
Ed,
I got mine from Aliexpress vendor:

It's a very nice unit, comes in a plastice case with all the attachments/cables/cal and has a battery.
It took 21 days to Toronto, Canada.
Check my previous posts.

Cheers,
Larry


On Mon, Jul 29, 2019 at 11:06 AM, kg7swp@... wrote:

Looking over my unit, it's a Worse clone". I am returning it, as some of the
measurements are bad.,
Which website should I use to get the proper unit?

Thank you,
Ed


Re: nano cases

 

There is you metal can, but that was designed to go in the can. Reworking the Nano to go in a can would be more of a pain, because the controles are not laid out in that format.
I might get one of these for HF?? "portable" antenna measurements, wont work at UHF/VHF

On 7/29/2019 11:00 AM, Dave Daniel wrote:
Sark 100 antenna analyser


Re: Best unit to purchase?

 

Ed,
I got mine from Aliexpress vendor:

It's a very nice unit, comes in a plastice case with all the attachments/cables/cal and has a battery.
It took 21 days to Toronto, Canada.
Check my previous posts.

Cheers,
Larry

On Mon, Jul 29, 2019 at 11:06 AM, kg7swp@... wrote:


Looking over my unit, it's a Worse clone". I am returning it, as some of the
measurements are bad.,
Which website should I use to get the proper unit?

Thank you,
Ed


Best unit to purchase?

 

Looking over my unit, it's a Worse clone". I am returning it, as some of the measurements are bad.,
Which website should I use to get the proper unit?

Thank you,
Ed


Re: nano cases

 

Weird. I was just looking at an ad for that sold by StepIR in QEX magazine.

DaveD

Sent from a small flat thingy

On Jul 29, 2019, at 10:47, Mike Brown <mbmail@...> wrote:

For what its worth I have a cheap & cheerful Sark 100 antenna analyser that
is in a metal case. Significantly bigger than the Nano but still convenient
to hand hold. Not perfect but strong enough to hang from a feeder cable or
survive fairly rough handling.

Mike

On Mon, 29 Jul 2019, 15:06 Dr. David Kirkby from Kirkby Microwave Ltd, <
drkirkby@...> wrote:

On Mon, 29 Jul 2019 at 13:32, Frank S <ka2fwc@...> wrote:

I don't think it is worth putting a Pinto engine into a Cadillac
Escalade. It doesn't make it a pocket size antenna analyzer anymore

Yes, possibly a bit bigger than pocket size, but smaller than a Keysight
FieldFox. It sill might fit in decent size pockets.

I don¡¯t think it is much use in your pocket if it is broken!

As with many things, different people have different opinions, and what is
right for one person will not be for another. For me personally, I consider
the construction quality to be too poor.

Dave G8WRB

--
Dr. David Kirkby,





Re: nano cases

 

For what its worth I have a cheap & cheerful Sark 100 antenna analyser that
is in a metal case. Significantly bigger than the Nano but still convenient
to hand hold. Not perfect but strong enough to hang from a feeder cable or
survive fairly rough handling.

Mike

On Mon, 29 Jul 2019, 15:06 Dr. David Kirkby from Kirkby Microwave Ltd, <
drkirkby@...> wrote:

On Mon, 29 Jul 2019 at 13:32, Frank S <ka2fwc@...> wrote:

I don't think it is worth putting a Pinto engine into a Cadillac
Escalade. It doesn't make it a pocket size antenna analyzer anymore

Yes, possibly a bit bigger than pocket size, but smaller than a Keysight
FieldFox. It sill might fit in decent size pockets.

I don¡¯t think it is much use in your pocket if it is broken!

As with many things, different people have different opinions, and what is
right for one person will not be for another. For me personally, I consider
the construction quality to be too poor.

Dave G8WRB

--
Dr. David Kirkby,




Re: Diles, Folders and Wikis on the nanovna group

 

See my comments inline, below.

Sent from a small flat thingy

On Jul 29, 2019, at 10:10, Larry Rothman <ac293@...> wrote:

Dave,

Does groups.io support 'sticky' posts that can be used to direct users to the various main areas of the forum?
I¡¯m not sure. The closest thing that I see to that is support for hash tags that allow posts to be associated together. I¡¯ll look to see if sticky posts are supported.

Also, I took the liberty of translating most of edy555's design notes for the NanoVNA and uploaded them in PDF format to the Misc folder in the files section.
Thank you.

That topic might warrant it¡¯s own folder, as there are likely to be numerous documents about the designs that could be co-located.

There are some good notes on his calibration methodology that Alan Victor and others may be interested in.
It strikes me that notes on cal procedures could also warrant a separate folder if they are distinct documents from the various owner¡¯s ¡°manuals¡±.

Regards,
Larry

On Sun, Jul 28, 2019 at 11:14 AM, Dave Daniel wrote:

All,

I have enabled files, photos and wikis for this group. You should be
able to upload files and photos and create wikis now.

Please, please, create subfolders when you upload files or photos. For
single files or photos which do not warrant their own subfolder, I have
created subfolders named "Miscellaneous".

The Photos folder contains 110 photos which are those attached to
previous posts (groups,io did this automatically).

If anyone has questions about these, or discovers a problem, please let
me know.

DaveD




Re: nano cases...

 

Personally, I'd rather see this instrument in a tablet size, something I can easily see; in a real metal box with Type-N connectors and sturdy switches and push-buttons. My need is for an instrument that I can carry to antenna sites for broadcast antenna work. I understand where some folks like tiny pocket size instruments, not sure why, but I'm probably going to go to something like an HP e5061B - a totally different area of an instrument. I like the 8753c or ES but they are pretty big and heavy for schleping to transmitter sites.

Burt, K6OQK

At 05:32 AM 7/29/2019, Frank S wrote
I don't think it is worth putting a Pinto engine into a Cadillac Escalade. It doesn't make it a pocket size antenna analyzer anymore

On 7/29/2019 4:51 AM, Dr. David Kirkby from Kirkby Microwave Ltd wrote:
On Mon, 29 Jul 2019 at 06:17, kh6sky <kh6sky@...> wrote:

These cases look nice and fulfill a need but my tendency to spastically
knock stuff off the bench means I will use a larger metal box with switches
and connectors moved to the outer box. The power and control switches seem
too delicate to last. Another reason to put the unit in a box is the
delicate USB connector.
I agree entirely. I think any case should extend out *everything* so you
never put any strain on the device apart from the screen, which I can see
no way of avoiding.

So I think these should be on a case

1) RF connectors - I would use N, not SMA,
2) USB
3) Toggle switch
4) Power switch

For the LED, one could have 3 possibilities
* Small hole
* light pipe
* desolder LED and run wire.

For the battery, I guess one can get away with using the tracks on the


If the plastic case were re-enforced around the USB connector it might help
prevent disasters like mine.
I personally don???t think any amount of reinforcement is going to work as a
long term solution. That will only delay the inevitable a while.

Dave.

Dave.

Burt I. Weiner Associates
Broadcast Technical Services
Glendale, California U.S.A.
biwa@...
K6OQK



--
Burt I. Weiner Associates
Broadcast Technical Services
Glendale, CA? U.S.A.
K6OQK


Re: Diles, Folders and Wikis on the nanovna group

 

Dave,

Does groups.io support 'sticky' posts that can be used to direct users to the various main areas of the forum?

Also, I took the liberty of translating most of edy555's design notes for the NanoVNA and uploaded them in PDF format to the Misc folder in the files section.

There are some good notes on his calibration methodology that Alan Victor and others may be interested in.

Regards,
Larry

On Sun, Jul 28, 2019 at 11:14 AM, Dave Daniel wrote:

All,

I have enabled files, photos and wikis for this group. You should be
able to upload files and photos and create wikis now.

Please, please, create subfolders when you upload files or photos. For
single files or photos which do not warrant their own subfolder, I have
created subfolders named "Miscellaneous".

The Photos folder contains 110 photos which are those attached to
previous posts (groups,io did this automatically).

If anyone has questions about these, or discovers a problem, please let
me know.

DaveD



Re: nano cases

Dr. David Kirkby from Kirkby Microwave Ltd
 

On Mon, 29 Jul 2019 at 13:32, Frank S <ka2fwc@...> wrote:

I don't think it is worth putting a Pinto engine into a Cadillac
Escalade. It doesn't make it a pocket size antenna analyzer anymore

Yes, possibly a bit bigger than pocket size, but smaller than a Keysight
FieldFox. It sill might fit in decent size pockets.

I don¡¯t think it is much use in your pocket if it is broken!

As with many things, different people have different opinions, and what is
right for one person will not be for another. For me personally, I consider
the construction quality to be too poor.

Dave G8WRB

--
Dr. David Kirkby,


Re: nano cases

 

I don't think it is worth putting a Pinto engine into a Cadillac Escalade. It doesn't make it a pocket size antenna analyzer anymore

On 7/29/2019 4:51 AM, Dr. David Kirkby from Kirkby Microwave Ltd wrote:
On Mon, 29 Jul 2019 at 06:17, kh6sky <kh6sky@...> wrote:

These cases look nice and fulfill a need but my tendency to spastically
knock stuff off the bench means I will use a larger metal box with switches
and connectors moved to the outer box. The power and control switches seem
too delicate to last. Another reason to put the unit in a box is the
delicate USB connector.
I agree entirely. I think any case should extend out *everything* so you
never put any strain on the device apart from the screen, which I can see
no way of avoiding.

So I think these should be on a case

1) RF connectors - I would use N, not SMA,
2) USB
3) Toggle switch
4) Power switch

For the LED, one could have 3 possibilities
* Small hole
* light pipe
* desolder LED and run wire.

For the battery, I guess one can get away with using the tracks on the


If the plastic case were re-enforced around the USB connector it might help
prevent disasters like mine.
I personally don???t think any amount of reinforcement is going to work as a
long term solution. That will only delay the inevitable a while.

Dave.

Dave.