Integrating a Custom LED Panel Baseball Scoreboard with an iOS Scoring Web App #piday #raspberrypi @Raspberry_Pi

August 22, 2014 Matt

Pasted Image 8 17 14 5 36 PM

J. McManus shared with us a baseball scoreboard project he has been working with for a while, making use of Arduino and Raspberry Pi elements to make it easier to update scoring via GameChanger.io and display to a physical score board at the same time. Here are a few details he emailed to us:

I’m currently in the process of documenting a
baseball scoreboard that I built using many of the products that I bought from your website (3 LED Panels, an Arduino UNO R3, and a Raspberry Pi Model B), as well as the libraries and tutorials available from your website. To me, the cool thing about this project is that the scoreboard can passively monitor the communications between our scorer’s Gamechanger iPad app and the online server, extract the state of the baseball game (score, inning, etc), and display it on the scoreboard automatically (I will have a video on the
site shortly, pending some discussions I’m having with Gamechanger).

If you visit the URL above, you’ll see that I’ve only started documenting the project (more posts are coming). The intent is to try to share back what I’ve done to the community as I wouldn’t have been able to get this done without extensively leveraging community tools.

And from the documentation on his site:

…The scoreboard is comprised of three LED panels, chained together and connected to an Arduino UNO.  The Arduino contains all of the code needed to display the various game elements on the score board and a rudimentary serial interpreter to take commands via the USB bus. 
The Control Box

While the scoreboard is the face of the system, most of the actual heavy lifting is done in the control box. [Ed note: see below] Starting in the upper left corner and working around clockwise, the components are the MiFi 4G Hotspot, USB Battery, TP-Link WiFi access point, and Raspberry Pi.  When in use, the scorer joins the access point.  For most internet connections, the Raspberry Pi (the brains of the box) passes connections between the AP and the 4G Hotspot.  However, when the scorer talks to the GameChanger backend website, the Raspberry Pi makes a copy of the conversation, strips out the current state of the game, and sends the updated score to the scoreboard via USB serial commands….

Read more, including detailed how-to for setup and coding over the course of several posts on the ScratchesTheItch blog.

Pasted Image 8 17 14 5 37 PM

998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!