Difference between revisions of "MiniVNA ICD"

From MyLabWiki
Jump to: navigation, search
(Constants)
Line 35: Line 35:
  
 
;DDSRATIO = 10737.41824
 
;DDSRATIO = 10737.41824
:DDS increment for a 1kHz signal. Multiply the desired frequency in kHz with this constant.
+
:DDS increment for a 1kHz signal. Multiply the desired frequency in kHz with this constant. This factor is achieved via the frequency calibration in the windows version of the miniVNA control software.
 
+
  
 
== Frequency Generator ==
 
== Frequency Generator ==

Revision as of 21:55, 18 May 2009

The miniVNA is a small and inexpensive antenna analyzer from mini Radio solutions. It connects to a computer via USB and it can measure SWR, RL, Rs, Z +/-jx, Phase, Cable length, R/L/C in the range 0.1Mhz to 180MHz. It comes with a quite all right control software for windows. There is also a Gnome version of the software called gVNA. Unfortunately, it depends on GNOME, it hasn't been updated for three years now and I have never been able to build it.

This document describes the miniVNA USB protocol that has been reverse engineered from user manuals and available software. The purpose is to have a control reference for writing a new control application for the miniVNA.

Connection Details

Baud rate: 115200
Data bits: 8
Parity: None
Stop bits: 1
HW flow: None

In the following, each line is terminated with an enter, i.e. 0x0D character.

Modes

The miniVNA can work in two modes:

  1. Reflection mode – used for measuring various parameters on antennas and cables.
  2. Transmission mode – used for measuring filters attenuators, etc.


Constants

DDSRATIO = 10737.41824
DDS increment for a 1kHz signal. Multiply the desired frequency in kHz with this constant. This factor is achieved via the frequency calibration in the windows version of the miniVNA control software.

Frequency Generator

Controller to VNA:

0
f(kHz)*10737.41824
1
0

Response: TBD

Reset:

0
0
1
0

Example: