The project is a fast lock in amplifier (LIA) which can update its output at rate of 1000 measurements/s. It performs digital dual mixing and filtering to obtain a DC value proportional to the AC input signal.
Diff: main.cpp
- Revision:
- 4:2264789de7b2
- Parent:
- 3:dd4eb355f8d9
--- a/main.cpp Wed Aug 30 15:09:56 2017 +0000 +++ b/main.cpp Fri Sep 22 09:18:46 2017 +0000 @@ -13,7 +13,6 @@ while (ref_freq < 1e2) { sleep(); } - double freq_check = ref_freq*0.001; double out_speed = 2*var_speed;