Integrating a Custom LED Panel Baseball Scoreboard with an iOS Scoring Web App #piday #raspberrypi @Raspberry_Pi
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.
…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….
Each 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!
Adafruit has had paid day off for voting for our team for years, if you need help getting that going for your organization, let us know – we can share how and why we did this as well as the good results. Here are some resources for voting by mail, voting in person, and some NY resources for our NY based teams as well. If there are additional resources to add, please let us know – adafruit.com/vote
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.