Git Product home page Git Product logo

mlb-led-scoreboard's Introduction

mlb-led-scoreboard

An LED scoreboard for Major League Baseball. Displays a live scoreboard for your team's game on that day.

Requires a Raspberry PI and an LED board hooked up via the GPIO pins.

Installation

git clone --recursive https://github.com/ajbowler/mlb-led-scoreboard
pip install mlbgame

Install anything else your Pi yells at you for. I needed python-dev and a few native extensions for other stuff. Outside of scope of this project but this should at least help point people in the right direction.

Build the RGBMatrix binaries

Go into the matrix submodule and edit the HARDWARE_DESC? setting in lib/Makefile based on the docs. I used adafruit-hat since I'm using an Adafruit HAT.

Go back up to the root directory (mlb-led-scoreboard/) and run make to get the RGBMatrix binaries.

Usage

python main.py <team name> If team name isn't provided, the Cubs are used.

Example

python main.py Cubs

Sources

This project relies on two libraries: MLBGame is the Python library used for retrieving live game data. rpi-rgb-led-matrix is the library used for making everything work with the LED board and is included as a submodule, so when cloning, make sure you add --recursive.

2017-2018 Offseason

Since it's currently the offseason I have the game hardcoded as one of the 2016 Cubs-Indians World Series games. I'll update to be "today's game" when the season starts otherwise this thing is useless. I can't guarantee accurate data until it starts either.

Demo

Here are some images of it in action!

image1 image2

mlb-led-scoreboard's People

Contributors

ajbowler avatar

Watchers

James Cloos avatar Zach Wendkos avatar

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.