Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

C-Code to the Seminar thesis. Automated Sprint time meassuring device with ultrasonic sensors to measure two sprinters simultaneously crossing the finish line.

License

Notifications You must be signed in to change notification settings

tobiasjungmann/WSeminar2017

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated Sprint Timing Gate

Automated sprint time measuring device with ultrasonic sensors to take the time of two sprinters between the start signal and the sprinters crossing the finish line.

Two devices are necessary, one at the start, one at the finish line, each of them is based on a Raspberry Pi (Model B).

Startgerät 1 Startgerät 1
Startgerät 1 Startgerät 1

Runners are not detected by a laser as in similar devices, but by two ultrasonic sensors (HC-SR04). Therefore, no additional reflectors are required for the gate, which can be knocked over. The most complex part of the project was to read out the ultrasonic sensors quickly enough to reliably detect runners. Therefore, a complex state machine is used since both sensors must work independently. In hindsight, separate threads would have been the better solution.

Startgerät 1 Startgerät 1
Both communicate via 433Mhz antennas over a maximum distance of 100 meters. To reach this distance bipole antennas are used and the module is connected to a 9V batterie instead of teh 5V provided by the Raspberry Pi. Startgerät 1

This project was created as part of a school project (W-Seminar) 2017 in my eleventh school year. Parts of the code are borderline awful, because I have implemented it without little to no prior knowledge. Since the final result is fully functional and it is a nice project in my opinion, I put it here.

Both, the 433Mhz communication and the handling of the ultrasonic sensors, is done without external libraries.

Wiring Pi is used to read and write GPIOs and display characters on the LCD display.

mpg123 used to play the start signal.

About

C-Code to the Seminar thesis. Automated Sprint time meassuring device with ultrasonic sensors to measure two sprinters simultaneously crossing the finish line.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published