Close
0%
0%

Multifunction Media Center Display

Digital clock, NBA scoreboard and media play status using LilyGO T-Display-S3

Similar projects worth following
0 followers
LilyGO T-Display-S3 as wifi clock, remote activated scrolling NBA scoreboard and KODI play time and play duration display.

Demo Videos:

serverscripts.zip

Collection of bash script to parse NBA scores and KODI json then update display,

Zip Archive - 2.07 kB - 11/30/2024 at 20:00

Download

devicecode.zip

T-Display-S3 project source code

Zip Archive - 579.59 kB - 11/30/2024 at 19:59

Download

  • 1
    Setting up the T-Display-S3 build environment.

    First I installed Visual Studio Code using the .deb file from https://code.visualstudio.com/ using the standard sudo dpgk -i.

    Then following the directions from the amazon listing I bought the board from, I installed PlatformIO. Quoted below:

    PlatformIO

    1. PlatformIO plug-in installation: click on the extension on the left column → search platformIO → install the first plug-in
    2. Click Platforms → Embedded → search Espressif 32 in the input box → select the corresponding firmware installation

    After that I downloaded the full repository from https://github.com/Xinyuan-LilyGO/T-Display-S3 as a zip file, extracted it and imported it into Visual Studio Code.

    Finally I found i was missing the package for python virtual environments that PlatformIO requires,, This was a quick fix with sudo apt-get install python3-venv.

  • 2
    Building the device code

    devicecode.zip contents:

    "fonts.h" - font for the digital clock

    "fonts2.h" - font for the scoreboard and media play time

    "multiple.h" - 2d array containing bitmaps for all 30 NBA logs plus the KODI logo,

    "pin_config.h" - pin config file to allow brightness control with the button on the dev board

    "PCBClock,ino" - this is the actual source code for the project

    I built this project starting out by editing one of the examples from the LilyGO repo, so if you followed the build environment instructions. You can compile this code by just copying the contents of this zip file over top of the same folder in /examples, and editing the plaformio.ini file to make this the active project.

  • 3
    Server Scripts explained

    serverscripts.zip contents:

    "updatescores.sh" - Main server for NBA scores, it calls the parser and sends the results to the display.

    "getscores.sh" - Main parser, downloads the scores and parses them for sending to the display,

    "helper.sh" - Helper script to remove games that aren't currently in progress or completed.

    "fix.sh" - Small helper script to remove the space from Trail Blazers.

    "xbmc.sh" - This script queries KODI with json to get play time and duration then sends it to the display.

View all 5 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates