¿ªÔÆÌåÓý

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

Re: NanoVNA questions

 

Hi Vaclav, (or is it Sal?)
Welcome to the forum.?

The wiki and files sections of this forum are evolving carefully in order to provide members with specific device and theory related information.
I had requested the forum owner David, to add the links at the end of every message, including digests, pointing to files and wiki info.
My first impression of your questions was they were coming from a lawyer or commercial entity - just from the way they were written (ie: 'verify') hence the 'look for it' answer.

Feel free to add content, experiences and/or ideas to the forum as several members have been doing.

...Larry

On Thursday, October 31, 2019, 12:27:34 p.m. GMT-4, vaclav_sal via Groups.Io <vaclav_sal@...> wrote:

Herb,
appreciate your comments.
First I have to say that starting the reply with? "IF " is condescending.
Maybe it is my computing background which ALWAYS follows "IF" with condition.
However, even with my limited usage of English I am sure there are other ways to start an instruction.

Unfortunately I also find that it was rather typical , albeit poorly disguised "google it" reply.

I did not ask for WHERE to find stuff, I have rather unorthodox opinion about forums purpose - to share personal experiences.
I do expect that people without actaull persona;l experience do not clutter the airways just because they can.

I generally rate replies by pertinence of them , and my first one got very low rating.
Not a good start, hopefully things get better.

Cheers


Re: Voltage sensing diode

 

Good discussion going on. Let me ask it this way. I think the designer of the NanoVNA was pretty competent. That leads to the question - why did that designer put the Schottky diode SD103AWS, coming directly from the battery (BAT), connecting to the VBAT terminal of the controller? It's right there in the schematic. Why design a connection with that particular diode? If it's an error then why leave it in the schematic?


Re: Voltage sensing diode

 

My device ran for just over 2 hours after charging, but the battery drains //relatively// quickly after removing 5V.

I found this in reference manual
Table 32. Typical and maximum current consumption from the VBAT supply
where the max VBAT draw is ~3uV, so that is pretty darn small compared to the SS draw from the 5303 as it sits idle with the device powered off, which I think is ~50 uA. Also very small. So for ~30s after removing 5V, the 5303 will draw several mA. Not enough to significantly impact the 450 mAh batt that I have.

It would be interesting to see how batt voltage goes with time after removing 5V, with unit off. I don't have data gathering unit. Hmm. Might be time to look at a USB probe of some sort.

~R~

On 2019-10-31 09:29:-0700, you wrote:

Here is my measurement. Capacity in percents is calculated from time.
The battery worked 122 minutes from full charge until power off due to over-discharge battery protection.
The percent on the Y axis is the battery work time after power on divided by total discharge time:

% = 100% * time / total_time

My NanoVNA has 450 mAh battery.
--
On the banks of the Piscataqua
Rich NE1EE


Re: Voltage sensing diode

 

On Thu, Oct 31, 2019 at 05:04 PM, QRP RX wrote:


Yesterday I implemented a new command "vbat_offset" to allow calibrate battery
voltage measurement for NanoVNA.
Wow, thanks!

Raymond


Re: Voltage sensing diode

 

On Thu, Oct 31, 2019 at 04:53 PM, QRP RX wrote:


Volts is not enough, because almost fully charged battery and fully discharged
battery, both have 3 Volts :)
That's why I said "...and one decimal...", meaning between 3.6 and 4.2V indication nominally. But one more decimal is fine of course if you like although the accuracy of that number isn't there.
And V really looks nicer than mV, according to my taste.

Since we're talking now anyway: Thanks for all your great efforts and software!

Raymond


Re: Measuring swr

 

In my experience if an app is not downloadable from Google Play Store because it does not support your phone version, then you will not be able to side load it either. At install you generally receive a message that effectively means the app is not compatible with your phone version. Pretty much the only way around it is to root your phone and install a 7.0 or higher rom from XDA or one of the other sites that offer un-official upgrades. The procedure voids your phone warranty and is not for the faint of heart.

- Herb


Re: Dead?

Bob Albert
 

I tested it again this morning and it still works perfectly.
Bob

On Thursday, October 31, 2019, 09:21:42 AM PDT, Bob Albert via Groups.Io <bob91343@...> wrote:

For now, as long as it's working, I am not going to fix it.? When the ICs arrive I will decide whether to replace or not, depending on how well it's been working in the interim.
I spent about $4 to get a couple of parts so I will still have a spare.
It's interesting that it fixed itself as I watched; I was sitting there and suddenly the blue light came on and all worked fine thereafter.? I haven't checked it yet this morning.
Bob
? ? On Thursday, October 31, 2019, 08:04:13 AM PDT, QRP RX <qrp.ddc@...> wrote:

Oristo, according to STM32F072 datasheet, the safe voltage for VBAT is 3.6 V and it should not exceed 4.0V otherwise it leads to permanent damage.

Li-Ion battery has max voltage 4.2 V. Today I tested it for a new battery percent calculation function for battery indicator and found that max voltage is about 4.172 V, so it very close to 4.2 V specification for Li-Ion.

4.2 - 3.6 = 0.6 V

So, the diode D2 should have at least 0.6 V voltage drop for safe STM32F072 operating conditions.

May be your diode has smaller voltage drop and it leads to "dead" effect, what do you think?


Re: Dead?

 

On Thu, Oct 31, 2019 at 06:18 PM, Bob Albert wrote:


It's interesting that it fixed itself as I watched; I was sitting there and
suddenly the blue light came on and all worked fine thereafter.? I haven't
checked it yet this morning.
It looks like battery overcharge protection was triggered.This may happens if defective IP5303 overcharge battery, in order to avoid fire, it has over-charge and over-discharge protection circuit (you can see it a small PCB attached to the battery). When it triggers it may needs some time after charger disconnect in order to release protection.


Re: NanoVNA software development

 

Could somebody help me to implement cloned NanoVNA software using Eclipse
Python plug-in?
Very unlikely:
We are calling code that runs in nanoVNA "firmware" and it is compiled from C

Python is one of several languages used in PC software for data from nanoVNA via USB.

You find some Python in NanoVNA GitHub repositories because edy555 included that for exercising firmware from PCs.


Re: Voltage sensing diode

 

Here is my measurement. Capacity in percents is calculated from time.
The battery worked 122 minutes from full charge until power off due to over-discharge battery protection.
The percent on the Y axis is the battery work time after power on divided by total discharge time:

% = 100% * time / total_time

My NanoVNA has 450 mAh battery.


Re: Voltage sensing diode

 

This is good to know.
I found the reference that says VBAT = 1.65 to 3.6 V >> so if the IP5303 cuts out at 3V, VBAT will see 2.4V (nominally), which is well above 1.65. I was thinking that the IP5303 would go lower before powering down.

Is vbat_offset the voltage drop across the diode? I miss having a local store where I could go to buy such simple things as diodes...now we must go to the web for a lot of things...

73

On 2019-10-31 09:04:-0700, you wrote:
On Thu, Oct 31, 2019 at 05:24 PM, Rich NE1EE wrote:
not sure when the IP5303 quits) to 3.3-0.6 = 2.7V, which, if I recall the 1.5V
value correctly
Yesterday I implemented a new command "vbat_offset" to allow calibrate battery voltage measurement for NanoVNA. Also I tested battery for two full cycles with voltage measurement (with external precise voltmeter).

IP5303 starts to blink with LED at about 3052 - 3072 mV.
--
On the banks of the Piscataqua
Rich NE1EE


Re: NanoVNA questions

vaclav_sal
 

Herb,
appreciate your comments.
First I have to say that starting the reply with "IF " is condescending.
Maybe it is my computing background which ALWAYS follows "IF" with condition.
However, even with my limited usage of English I am sure there are other ways to start an instruction.

Unfortunately I also find that it was rather typical , albeit poorly disguised "google it" reply.

I did not ask for WHERE to find stuff, I have rather unorthodox opinion about forums purpose - to share personal experiences.
I do expect that people without actaull persona;l experience do not clutter the airways just because they can.

I generally rate replies by pertinence of them , and my first one got very low rating.
Not a good start, hopefully things get better.

Cheers


Re: Dead?

 

Hi QRP -

May be your diode has smaller voltage drop and it leads to "dead" effect, what
do you think?
I used a 1N4148a..
I supposed that some small ESD while soldering kicked the IP5303;
it only that one time played "dead"


Re: Newbie

 

That looks like the Battery from an old Motorola RAZR Cell-Phone.
They are still available on e-Pay for short money.

73, Dick, W1KSZ
________________________________
From: [email protected] <[email protected]> on behalf of Larry Rothman <nlroth@...>
Sent: Monday, October 21, 2019 4:59 AM
To: [email protected] <[email protected]>
Subject: Re: [nanovna-users] Newbie

You could do what I did when I got my Nano back in June - use a very thin cellphone battery.It's perfectly safe and there are a couple of photos in the photo section of the forum:
/g/nanovna-users/photo/0/40?p=Created,,,20,1,40,0

On Monday, October 21, 2019, 7:47:07 a.m. GMT-4, hamrad45 <hamrad@...> wrote:

Excellent information. Thanks for taking the time to provide this information.

Tom Stiles




|
|
| |
Welcome to Groups.io!


|

|

|


Re: Dead?

Bob Albert
 

For now, as long as it's working, I am not going to fix it.? When the ICs arrive I will decide whether to replace or not, depending on how well it's been working in the interim.
I spent about $4 to get a couple of parts so I will still have a spare.
It's interesting that it fixed itself as I watched; I was sitting there and suddenly the blue light came on and all worked fine thereafter.? I haven't checked it yet this morning.
Bob

On Thursday, October 31, 2019, 08:04:13 AM PDT, QRP RX <qrp.ddc@...> wrote:

Oristo, according to STM32F072 datasheet, the safe voltage for VBAT is 3.6 V and it should not exceed 4.0V otherwise it leads to permanent damage.

Li-Ion battery has max voltage 4.2 V. Today I tested it for a new battery percent calculation function for battery indicator and found that max voltage is about 4.172 V, so it very close to 4.2 V specification for Li-Ion.

4.2 - 3.6 = 0.6 V

So, the diode D2 should have at least 0.6 V voltage drop for safe STM32F072 operating conditions.

May be your diode has smaller voltage drop and it leads to "dead" effect, what do you think?


Re: usb controled rf generator.

 

I don't trust those small micro-USB connectors so I use a micro-USB to USB A adapter cable for any equipment requiring frequent connections.

Mike N2MS

On October 30, 2019 at 5:12 PM Jim Allyn - N7JA <jim@...> wrote:


On 10/30/19 1:48 AM, ornithorhynch@... wrote:
Most likely out of the price ball park but I have just ordered a moRFeus - RF Upconverter and Downconverter, Wideband Mixer and Signal Generator. $99.00 US. Awaiting delivery. I will update the group when I have had a chance to test it.


NanoVNA software development

vaclav_sal
 

Could somebody help me to implement cloned NanoVNA software using Eclipse Python plug-in?
I have my first Python running on Eclipse IDE , I have cloned the NanoVNA , however, I am not sure how to actually use the cloned files.
Should I just add / make new python source folder and add new empty module and copy cloned "python" folder into it?

This is my first usage of Python and I am actually not sure if it is necessary since it appears that original NanoVNA software is written in C.

Thanks


Re: NanoVNA questions

 

IMHO,
Yes there are no stupid questions but there are uninformed ones. Directing new members to this group's "Wiki" and "Files" section is not condescending. If they were aware of those resources they would have already answered many of their own questions. Any questions still remaining would add value to the group discussion rather than rehashing content that has already been documented. If English is not a person's first language then not being able to make effective use of the "Wiki" and "Files" sections is understandable. In any event, in addition to suggesting that the member explore the "Wiki" and "Files" sections, Larry also took the time to directly answer his questions -- not a single other member responded.

- Herb


Re: Voltage sensing diode

 

On Thu, Oct 31, 2019 at 05:24 PM, Rich NE1EE wrote:


not sure when the IP5303 quits) to 3.3-0.6 = 2.7V, which, if I recall the 1.5V
value correctly
Yesterday I implemented a new command "vbat_offset" to allow calibrate battery voltage measurement for NanoVNA. Also I tested battery for two full cycles with voltage measurement (with external precise voltmeter).

IP5303 starts to blink with LED at about 3052 - 3072 mV. The voltage drop speed is very fast at low voltage, so it's hard to catch exact value. Also it power off device when voltage drops below 3000 mV. One time it worked until 2830 mV, another time power off happens at 2950 mV, but the difference between 2950 and 2830 mV is just several seconds, because it has higher current consumption at low voltage and it leads to very fast voltage drop.

So, I think that IP5303 has power off threshold at about 3000 mV and warning threshold at about 3080 mV. Warning threshold is not enough, because charge LED start blinking just 10-15 seconds before power off.


Re: Voltage sensing diode

 

On Thu, Oct 31, 2019 at 04:14 PM, gary wrote:


The real reason the voltage is limited to 4V is due to the ESD protection diodes in the device.
This is not true. The diodes make sure that no input rises above Vdd+0.6V, whatever Vdd is, to a certain extent. The 4V max is the maximum voltage "acceptable" to be applied


There is a diode between all inputs and VDD, so if a voltage greater than a diode drop above VDD is applied, the diode conducts and a destructive
current from the battery could flow.
Also, not true in itself. Without the diode, the input could die without the reverse voltage (> Vdd) "protection" from the higher-current Vdd short, see above.

Raymond