With so many APIs available today, the possibilities seem endless when it comes to what you can leverage. raspberry pi. From using AI to enhance your work Chat GPT Using Amazon’s API, Create a custom Alexa device, there are many things you can use. Today I’m sharing an amazing project created by Clayton from Design Build Make. This project uses an API to get custom baseball scores. desktop scoreboard It tracks his favorite team, the Cardinals.
Clayton said the idea for the project came after he got tired of constantly checking scores on his phone. To solve this problem, he decided to build a leaderboard that automatically updates scoring data in real time. It looks like an old-fashioned scoreboard at a baseball field, but this one is much smaller and fits on your desk.
The shape of the board is a horizontally long rectangle. It is made of wood and has a laser-cut hole for the score display, which is viewed using a 7-segment display. There are several LEDs at the bottom that indicate things like outs, strikes, number of balls, and number of players on any base. Finished with custom green paint and a sleek Cardinals logo.
Clayton explains that the project uses 24 7-segment displays. A shift register was required to control each. They are daisy chained for convenience and also feature a custom PCB to help keep your design organized. The entire project will be driven by his Raspberry Pi 3B+, but it’s possible that an older model of Raspberry Pi, or a smaller model such as the Raspberry Pi Zero 2 W model or the Raspberry Pi Pico W would be fine. .
image 1 of 3
The API used in this project is exactly the same API that Major League Baseball (MLB) uses to keep score after play. For more information on this API and how to access it, please visit: GitHub. This requires regular updates, so the Raspberry Pi needs internet access to update the leaderboard.
If you want to know more about how this Raspberry Pi project works, video Shared to YouTube by Clayton. Follow him for more cool projects in the future.