Skip to content

Latest commit

 

History

History
64 lines (55 loc) · 2.3 KB

README.md

File metadata and controls

64 lines (55 loc) · 2.3 KB

ASSWARP

Automatic Scoring System With A Raspberry Pi

We connected 2 vibration sensors to the underside of the goals of a Tornado foosball table, sent the signals with pull down resistors (1 M) to a MCP3002 Analog to Digital Converter (ADC), then sent those signals to the SPI interface of a Raspberry Pi. The code to read signals from the ADC for the Raspberry Pi is contained in the "controller" folder.

When a goal is scored, a request is made to a Node JS server, which then displays the current teams' score using Jade. The code for the Node server and the Jade template is in the "node" folder.

This project was done for the comScore Hackathon 2014. See the results here.

High Level Overview

Vibation Sensors to ADC to RPi connections

This image (taken from Reading from a MCP3002 analog-to-digital converter) comes close to our setup. We made the following connections:

ADC RPi
CS SP10 CE0 N (24)
CH0 Vibration Sensor 1 (Black Team)
CH1 Vibration Sensor 2 (Yellow Team)
VSS GND (6)
VDD 3v3 (1)
CLK SP10 SCLK (23)
DOUT SP10 MISO (21)
DIN SP10 MOSI (19)