Coder Social home page Coder Social logo

asswarp's Introduction

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)

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.