GithubHelp home page GithubHelp logo

tobiasjungmann / wseminar2017 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.87 MB

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

License: GNU General Public License v3.0

C 99.43% Makefile 0.57%

wseminar2017's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.