Skip to content

s6joui/electronic-table-football

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DIY Electronic table football

In this repository you will find everything you need to run your own electronic foosball table.

Here is a demo of the project in action: https://youtu.be/unXU5m7EqaU

There are 2 parts to this:

Arduino setup

My setup uses photo-resisors in combination with LEDs. When the ball causes a dip in light the arduino will count that as a goal. Arduino setup The code can be found here.

Web app

The second part is a web server written in python that runs ons an SBC. This serves a static page and also a web-socket server. The server reads the info coming from the arduino through the serial port and spits it to the webapp via websockets.

To launch the app simply run the main python script:

python main.py

And then visit your device's IP address from a web browser.

The code for the webapp is here

About

Code for running an electronic table football

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published