Impedance calculation fixed. Two new sample data files added.
This commit is contained in:
parent
d859ab1aad
commit
32706429b9
5 changed files with 5 additions and 3 deletions
|
@ -275,6 +275,8 @@ void cc_startMeasurement()
|
||||||
Serial.write(tmp);
|
Serial.write(tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
si5351.output_enable(SI5351_CLK0, 0); // disable clock output 0
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void cc_getConfig()
|
void cc_getConfig()
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
C:\Python27\python.exe meas.py -o 70cm.csv -s 144000000 -e 146100000 -i 50 -p 5000 -d COM16 -m
|
C:\Python27\python.exe meas.py -o 2m.csv -s 144000000 -e 146100000 -i 1 -p 5000 -d COM16 -m
|
||||||
|
|
||||||
pause
|
pause
|
||||||
|
|
|
@ -529,7 +529,7 @@ if __name__ == "__main__":
|
||||||
min_vswr[1] = m[0] # the frequency
|
min_vswr[1] = m[0] # the frequency
|
||||||
|
|
||||||
# R = meas_data[0] * 5V / 1023 * I
|
# R = meas_data[0] * 5V / 1023 * I
|
||||||
r = (m[1] * 5.0 / 1023.0) / i
|
r = 20.0 * vswr # (m[1] * 5.0 / 1023.0) / i
|
||||||
meas_r.append(r)
|
meas_r.append(r)
|
||||||
|
|
||||||
# P = meas_data[0] * 5V ^ 2 / r
|
# P = meas_data[0] * 5V ^ 2 / r
|
||||||
|
|
BIN
tools/sample_data/aaron_gummiwurst_2m.xlsx
Normal file
BIN
tools/sample_data/aaron_gummiwurst_2m.xlsx
Normal file
Binary file not shown.
BIN
tools/sample_data/kai_gp_2m.xlsx
Normal file
BIN
tools/sample_data/kai_gp_2m.xlsx
Normal file
Binary file not shown.
Loading…
Reference in a new issue