This project emulates a scoreboard by using a Raspberry Pi connected to a 64x32 LED Matrix. Using the touchscreen of a PiTFT, the user can select a team to display from collegiate and professional hockey, football, and basketball. The user can also select rotation between teams instead of displaying only one team. The system then queries the ESPN API to get live scores from the Internet according to the user's settings. Finally, the team names, logos, and scores are displayed on the LED matrix. The scoreboard displays a celebration whenever a team scores in football or hockey.
When the selected team is not currently in a live game, the scoreboard displays the results of the previous game or the date, time, and opponent in the next game, depending on which is closer in time. Using cron, a command-line utility for scheduling jobs, the service starts on automatically on boot and defaults to displaying any supported sport and team.
HARDWARE DESIGN
The hardware consists of three major components: a Raspberry Pi 4, a touchscreen PITFT, and a 64x32 LED Matrix. The Raspberry Pi contains a 16GB SD Card with the default Raspberry Pi Linux installed. As shown in Figure 1, The LED Matrix gets 5V of power from the included DC adapter, the PiTFT gets power from the Raspberry Pi, and the Raspberry Pi gets 3.3V from the included USB-C cable. The LED Matrix gets wired to the Raspberry Pi's GPIOs, according to Table 1 and Figure 2, while the PiTFT header is designed to simply snap onto the top of the Raspberry Pi [1]. LED Matrix pins are numbered left to right, and top to bottom.
SOFTWARE DESIGN
Diese Geschichte stammt aus der September 2024-Ausgabe von Circuit Cellar.
Starten Sie Ihre 7-tägige kostenlose Testversion von Magzter GOLD, um auf Tausende kuratierte Premium-Storys sowie über 8.000 Zeitschriften und Zeitungen zuzugreifen.
Bereits Abonnent ? Anmelden
Diese Geschichte stammt aus der September 2024-Ausgabe von Circuit Cellar.
Starten Sie Ihre 7-tägige kostenlose Testversion von Magzter GOLD, um auf Tausende kuratierte Premium-Storys sowie über 8.000 Zeitschriften und Zeitungen zuzugreifen.
Bereits Abonnent? Anmelden
Bringing Cost-Effective, On-Device AI to Home Appliances - Sparse Weights and Interactions Negate GPUs and Cloud Computing
GPU silicon and cloud computing infrastructure are too costly for mass markets devices like refrigerators and washers. By deploying compute resources only to the necessary parts of AI inference, Sparse AI allows product designers to practically incorporate new AI features like natural voice interfaces into their consumer offerings without breaking the bank or electric bill surprises.
Thin Film Transistor LED Displays - Visual I/O
To add a resistive touchscreen on top of a TFT display, Jeff explores the technology offerings and libraries needed to accomplish his task. Calibrating the touchscreen's computed coordinates with the actual pixel coordinates of the display proved difficult with a modular framework but separating functions allows easy expansion.
Mobile APP Development with React Native
This month, Bob continues his series on mobile app development from an embedded designer's perspective. He programs a React Native app and he offers guidelines for picking a tutorial for React Native. He further explores how it handles concurrency and asynchronous programming. Bob expected a few nuances during the process but to say there were more than a few would be an understatement.
Power Analysis Over JTAG Ports: Hidden Debug Dangers - Block Side-Channel Analysis Attacks
Small changes in the phase of clock signals can encode power leakages. An attacker can use standard interfaces such as the JTAG port to drive clocks across targets, using them as measurement techniques for sidechannel analysis attacks despite limited physical access. This article demonstrates how you can test devices for vulnerability and how to modify devices to prevent attacks.
The Blues Wireless Notecard-LoRa
After having built a number of Wi-Fi IoT gadgets for the home, Brian became curious to see how LoRaWAN-based IoT devices would work. He decided to investigate the Notecard LoRa IoT modules made by Blues Wireless.
IoT Protection with MCU Security - Ward Off Attacks with Trust Zones, Encryption, Secure Keys and Tamper Detection
Security breaches jumped 107 percent as malevolent forces increasingly focused on IoT devices for side attacks, IP and data theft. Semiconductor vendors supplying on-chip cryptography, memory protection, unclonable technology, random number generation and other measures hope to shut the door on attackers.
Fill AI with Computer Vision - On the Leading Edge of Adoption in Industrial IoT
In just about any factory, production lines hum along like a symphonic orchestra. However, makers of artificial intelligence hardware are pushing transformative technology with mind-boggling productivity gains to unlock unrealized potential. Just how fast will AI seamlessly integrate into the means of production?
No Blues with Bluetooth! GATT Explained - Part 5 - Understanding Higher Protocol Layers Provides Interoperability Help
After exploring low-level layers of Bluetooth Low Energy in previous editions, and establishing connections in Part 4, Robert examines Attribute Protocol and Generic Attribute Profile or GATT in Part 5. These higher layer protocols provide developers with greater opportunity for interoperability with third-party applications or products.
Retro-style Miniature Sports Scoreboard - RGB LED Matrix and Raspberry Pi Provide In-Game Updates
This Cornell University graduate describes how he built a miniature, retrostyle scoreboard that pulls and displays live college and professional sports scores from the ESPN API-bringing the excitement of being at a sporting event to your living room. Pre-game information, in-game scores, and post-game results are displayed on a built-in PiTFT touchscreen.
Exploring Infrasound - Tornado Early Warning Detection Project Using Raspberry Pi Pico and a Python Supervisory Program
Inspired by the possibility of building an early warning system for tornadoes, Dev developed an infrasound detector. Tornadoes are rare in his area, but his detector found other infrasound activity using sensor circuitry based on a Raspberry Pi Pico, combined with a Python supervisory program that stores data on a computer for analysis.