¿ªÔÆÌåÓý

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

NanoVNA software developers wanted #hacking


vaclav_sal
 

This is sort of "bump" / dupe.
Or more direct approach.
Take your pick.

This is NOT post for / to users of NanoVNA,
This post is about NanoVNA operating / embedded software hacking.



I am planning to add Bluetooth USB dongle ( hardware) to MY NanoVNA, including necessary software.

I have dissected current NanoVNA Open source software and used git clone to add it to my local repository.
I am using Eclipse with EGit plug-in and have it somewhat under control - with one exception - I do not know to to "build" / test verify the software using local repository BEFORE flashing it in NanoVNA .


In short - I could use some help from anybody trying same - develop / modify etc. original software.

At this point I do not need git tutorials, I am past that point and feel comfortable with git.
I also do not want to do CLI. I already got that pretty much working - using source "makefile".


In fancy words - I need to integrate Eclipse GUI with NanoVNA "stuff"

Sorry for taking bandwidth here.

73 Vaclav AA7EJ


 

Hi Vaclav -

I am planning to add Bluetooth USB dongle ( hardware) to MY NanoVNA, including
necessary software.
Unless you find a Bluetooth dongle that supports USB OTG, I think that this is doomed.
I found no 64-pin STM32 chip, as in nanoVNAs, that does USB OTG,
/g/nanovna-users/message/5373

...resulting in a classic "failure to communicate".


 

Oristo,
All Vaclav needs to do is use one of the unused serial ports on the chip and use a BT to serial module.
I was looking at the F072 specs and it appears the serial pin I was thinking if using is also used as an SPI line (are there SPI to BT modules?)
Can one of the STLink lines at the edge of the PCB be reprogrammed for serial?
...Larry

On Tuesday, November 5, 2019, 1:08:41 p.m. GMT-5, Oristo <ormpoa@...> wrote:

Hi Vaclav -

I am planning to add Bluetooth USB dongle ( hardware) to MY NanoVNA, including
necessary software.
Unless you find a Bluetooth dongle that supports USB OTG, I think that this is doomed.
I found no 64-pin STM32 chip, as in nanoVNAs, that does USB OTG,
/g/nanovna-users/message/5373

...resulting in a classic "failure to communicate".


 

Actually, I was thinking a little more on what uses a serial to BT bridge: every one of those really cheap OBD2 BT car diagnostic readers has one built-in.
Those readers cost $5 and up so the BT boards they use should be $1-2.?

So - now let's look at how to make re-use? of the STLink pins to drive it.....
...Larry

On Tuesday, November 5, 2019, 1:20:17 p.m. GMT-5, Larry Rothman <nlroth@...> wrote:

Oristo,
All Vaclav needs to do is use one of the unused serial ports on the chip and use a BT to serial module.
I was looking at the F072 specs and it appears the serial pin I was thinking if using is also used as an SPI line (are there SPI to BT modules?)
Can one of the STLink lines at the edge of the PCB be reprogrammed for serial?
...Larry

? ? On Tuesday, November 5, 2019, 1:08:41 p.m. GMT-5, Oristo <ormpoa@...> wrote:?

Hi Vaclav -

I am planning to add Bluetooth USB dongle ( hardware) to MY NanoVNA, including
necessary software.
Unless you find a Bluetooth dongle that supports USB OTG, I think that this is doomed.
I found no 64-pin STM32 chip, as in nanoVNAs, that does USB OTG,
/g/nanovna-users/message/5373

...resulting in a classic "failure to communicate".


 

are there SPI to BT modules?
Yes, but SPI to USB host would be simpler
than trying to add Bluetooth to nanoVNA firmware


 

I was thinking a little more on what uses a serial to BT bridge
I do not find hacks turning ELM327 into BT bridge;
cheap HC-05 has good Arduino support,

but wants substantial code.

A "smart" BT LE shield is ~$20


 

I mean to rip the BT module out of the device...
Also, I just had a quick look at the pin mapping of the F072 as used in the NanoVNA.?

PINS 30 & 31 (not currently used) can be remapped to USART1_TX & RX respectively.?

A 'little code' and a new soft-switch under the Config menu could be set up to switch all console between either USB or Serial.

On Tuesday, November 5, 2019, 1:48:40 p.m. GMT-5, Oristo <ormpoa@...> wrote:

> I was thinking a little more on what uses a serial to BT bridge

I do not find hacks turning ELM327 into BT bridge;
cheap HC-05 has good Arduino support,

but wants substantial code.

A "smart" BT LE shield is ~$20


 

are there SPI to BT modules?
Oops, just found this article:


.. which recommends HC-06: "use it simply for a serial port replacement"
~ US$1.40


 

In fancy words - I need to integrate Eclipse GUI with NanoVNA "stuff"
/g/nanovna-users/message/1508


 

Actually, read the whole thread, including /g/nanovna-users/message/1795

With all the features stuffed into the current firmware, builds are starting to overflow storage.
You'll need a tool chain that produces the smallest binary.

On Tuesday, November 5, 2019, 2:02:14 p.m. GMT-5, Oristo <ormpoa@...> wrote:

> In fancy words - I need to integrate Eclipse GUI with NanoVNA "stuff"

/g/nanovna-users/message/1508


 

You'll need a tool chain that produces the smallest binary.
Eventually, but getting something built first in a "friendly" IDE,
then whittling to fit, might be faster.
Also, with Bluetooth, local display becomes highly optional.


vaclav_sal
 

I believe I can apply stuff from the links.
Thanks.

But I 'll need to read ALL messages first to comment on them.

Since I do not see how to reply to the thread and not to single message , posting this here may not be any good.

I generally do some "do diligence" in deciding my projects.
Then I try to stick with the decision.
Adding Bluetooth to NanoVNA my goal is to use USB port and appropriate Bluetooth dongle.
I have no desire to muck around the NanoVNA PCB nor learn innards of used processor.
I am well aware of limits of standard Bluetooth.


 

I am preparing to update the PCB version of NanoVNA-H to V3.4. The UART port will be reserved£¬hhis makes it easy to DIY Bluetooth connection. It is expected that the relevant test will be completed next week and the schematic will be uploaded to github. If something goes well I will sell the new version of NanoVNA-H in December.


vaclav_sal
 

Nice, but I am after adding the bluetooth externally.

Like to ask if it would make more sense to add processor internally supporting wireless commodification.
I have not done any research if such processor exists.

Something in Raspberry Pi Zero style.


vaclav_sal
 

Short note.
All these links are either for Widoze or CLI or for yet another development tool besides Eclipse.
But it does help to get some ideas.
Thanks


 

Check out the work of cho45 will help you.

hugen


 

On Wed, Nov 6, 2019 at 10:44 AM, <hugen@...> wrote:


the work of cho45
I think that cho45 should disable Bluetooth during nanoVNA measurements
to avoid both power and interference problems.


 

if it would make more sense to add processor internally supporting wireless
commodification.
Link added in /g/nanovna-users/wiki/Mods-and-Design-Notes


 

I am a retired embedded processor engineer an can recommend the ESP32
programmed as a serial to bluetooth/WIFI adapter it is a 32 bit processor
with the usual peripherals and both bluetooth and WiFi built in and do on
and do small pub only costs a few do?lars.

On Wed, Nov 6, 2019, 7:42 AM vaclav_sal via Groups.Io <vaclav_sal=
[email protected]> wrote:

Nice, but I am after adding the bluetooth externally.

Like to ask if it would make more sense to add processor internally
supporting wireless commodification.
I have not done any research if such processor exists.

Something in Raspberry Pi Zero style.




 

Before adding a radio transmitter and a second microcontroller such as a
HC-05 to the NanoVNA, you may want to examine how much RFI it might
introduce into the NanoVNA. My experience with my VNA, which I have
connected a HC-05 to, is that it introduces a lot. At the minimum you may
need to include some ferrite beads in the power and serial connections.

On Wed, Nov 6, 2019 at 11:27 AM William Heller <wheller34052@...>
wrote:

I am a retired embedded processor engineer an can recommend the ESP32
programmed as a serial to bluetooth/WIFI adapter it is a 32 bit processor
with the usual peripherals and both bluetooth and WiFi built in and do on
and do small pub only costs a few do?lars.

On Wed, Nov 6, 2019, 7:42 AM vaclav_sal via Groups.Io <vaclav_sal=
[email protected]> wrote:

Nice, but I am after adding the bluetooth externally.

Like to ask if it would make more sense to add processor internally
supporting wireless commodification.
I have not done any research if such processor exists.

Something in Raspberry Pi Zero style.