Skip to content

illing2005/raspberry-foosball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi + React Native + Foosball

Features:

  • Automatic goal detection and score keeping
  • Controlled LED Strip as foosball light --> blinks on goals

Setup

  • Clone this repository

      git clone https://github.com/illing2005/raspberry-foosball
    

Pusher.com

Raspberry Pi:

  • Copy the raspberry-app folder to your raspberry pi

  • Rename config.example.py to config.py, add your pusher.com credentials, and adjust GPIO pin nubers.

  • Install dependencies:

      pip install -r requirements.txt
    
  • Run python main.py

React Native:

Hardware:

Goal detection:

For the goal detection, you need two infrared light barriers (see sketch). The red LED is for testing purposes only and can be removed.

Needed parts:

scheme

LED Strip:

Needed parts:

Below you find a sketch how to wire thinks up. If you need more help follow this great tutorial (http://popoklopsi.github.io/RaspberryPi-LedStrip/#!/)

led_scheme

About

Raspberry Pi + React Native + Foosball

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published