MATLAB interface for the LiteVNA 62/64 over a serial connection. Configure sweeps, read S-parameters (S11/S21), and run basic calibration routines (SOL/TR/ER).
LiteVNA info: https://www.zeenko.tech/litevna and https://groups.io/g/liteVNA/
- Serial control (MATLAB
serialport) - Sweep configuration (
start/step/points/averaging) - Raw Measurements:
rawMeasureS11,rawMeasureS21,rawMeasureS11S21 - Calibration helper:
performCalibration - Save/load calibration to
.mat - Calibrated Measurements:
calMeasureS11,calMeasureS21,calMeasureS11S21
- MATLAB R2019b+ (needs
serialport) - LiteVNA connected as a serial device (e.g.
COM<num>on Windows,/dev/ttyACM<num>on Linux)
Cf. https://www.mathworks.com/help/matlab/add-ons.html
- Clone or download this repo.
- Add it to your MATLAB path:
addpath(genpath("path/to/repo"));
savepath; % optional
vna = litevna.LiteVNA("/dev/ttyACM<num>", 115200);