noxz-sites

A collection of a builder and various scripts creating the noxz.tech sites
git clone https://noxz.tech/git/noxz-sites.git
Log | Files | README | LICENSE

noxz.tech/articles/srfinder/index.www
1During some laboratory work I was given the task to measure distance over time 
2using a tool called PASCO Capstone. Unfortunately this tool is neither free 
3software nor available for Linux. The only logical response to this was to 
4create one such tool.
5
6I didn't think this would be particularly hard to do as I already knew of two 
7measuring devices able to read distance based on sound reflection, the HY-SRF05 
8and the HC-SR04. These devices use ultra sonic bursts to measure the time it 
9takes to echo against a surface. Using the speed of sound to calculate the 
10distance, based on the time it took to echo, is then an easy task to do.
11
12The tool I wrote is meant to be used on a raspberry pi and is at this time of
13writing written in python. In the future I might rewrite it using c instead as 
14the performance might be better. It's just a matter of priority as it won't 
15take that long.
16
17The tool is a simple CLI that just prints the time and distance based on a 
18preferred measuring frequency. The data written to STDOUT can then be stored in 
19a CSV-file and later analyzed using other tools.
20
21The source code can be found
22.URL "https://noxz.tech/git/srfinder.git" "here" .