Impedance calculation fixed. Two new sample data files added.

This commit is contained in:
klaute 2016-09-25 11:59:06 +02:00
parent d859ab1aad
commit 32706429b9
5 changed files with 5 additions and 3 deletions

View file

@ -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()
@ -425,4 +427,4 @@ void cc_clearReadDataBuffer()
} }
/*****************************************************************************/ /*****************************************************************************/

View file

@ -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

View file

@ -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

Binary file not shown.

Binary file not shown.