Kit Laser distance meter stm32f407 50M

Kit Laser distance meter stm32f407 50M

I work on a project "distance meter kit " Here is the link.http://asv-lab.ru/blog/fazovyj_lazernyj … 5-06-26-12 There are videos. vide1https://youtu.be/lnKYCIw8I4E video2https://youtu.be/Iv_juuR2Ceg In the comments under the video link to the file excel. This file is recorded measurement phase at a frequency of 45 MHz, 30 MHz, 3 MHz. Measurement of the phase increments of 100 millimeters. From the values of the phase, we can calculate the distance. 45 MHz Phase 0-360 = 3,75M. 30 MHz Phase 0-360 = 5M. 3 MHz Phase 0-360 = 50M I have a problem at the time of the transition phase from 0 to 360 or 360 to 0. It is not always properly defined range 0-3,75m or 3,75-7,5m… Help calculate. thank.