piFoosball - Detect foosball goals and track game and match scores with a Raspberry Pi Pre-reqs Raspberry Pi 2 Breadboard (Full size) 7-Segment Display (20mm) 2x Mini Pushbutton Switch 2x PIR Motion Sensor Diagram Include a picture of the setup here Pi Setup Install GPIO library