Saturday 18 July 2020

How To Build A Live Raspberry Pi Led Football (Soccer) Scoreboard

** UPDATE: You can buy this kit from the CodeSingh shop **

Keep an eye on your teams score without having to constantly refresh your mobile by building this live LED Football (Soccer) scoreboard.

Inspired by this post by u/LobsterThief on and special mention to /u/RiffnShred for the original idea


  • Raspberry Pi Zero WH
  • 64x32 indoor RGB full color led display screen (buy here affiliate link)
  • Adafruit RGB Matrix Bonnet for Raspberry Pi (buy here affiliate link)
  • 5 amp power supply. (I got one from a local mobile phone shop) 
  • 16 GB MicroSD.


  • Raspberry Pi OS Lite
  • Rpi-rgb-led-matrix
  • Rpi-led-scoreboard

Construct and Install Software

Firstly go through points 4 to 6 from Learn how to build your own NHL Game Day Scoreboard using a Raspberry Pi and LED panel!

Keep the micro sd in your computer

Create an empty file called ssh (no extension just ssh) and copy to the sd card

Create a file called wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    ssid="WiFi SSID"
    psk="WPA/WPA2 passphrase"
Replace WiFi SSID with your wifi network name

Replace WPA/WPA2 passphrase with your wifi network password

Replace GB with your two letter country code if you are not in the UK

Save wpa_supplicant.conf

Copy over wpa_supplicant.conf and ssh files to micro sd card

Insert micro sd card into raspberry pi zero

Leave for a few minutes to let everything start up correctly.

Download Advanced IP Scanner and set it to scan your network for devices.

If everything goes ok then you should see an ip address labelled as Raspbery Pi Foundation

Download and install Putty 

Enter the Raspberry Pi's ip address into the Host Name and open

Log in with the username: pi and password: raspberry when prompted.

Enter the following commands to update the list of install packages and then upgrade all install software.
sudo apt-get update
sudo apt-get upgrade 
Enter the following command to install git
sudo apt-get install git -y
Enter the following command to download scoreboard code and
git clone
Enter the following commands to go into the scoreboard directory and make the install file executable.
cd rpi-led-scoreboard
sudo chmod 777

Run the install file
sudo ./
I have used the flicker-free setting by following these instructions as they make the scoreboard display a lot better but it requires a modification on the bonnet. If you don't do the modification then you will need to make the following changes in the file.


/usr/bin/python3 /home/pi/rpi-led-scoreboard/ --led-cols=64 --led-gpio-mapping=adafruit-hat-pwm --led-brightness=40 &


/usr/bin/python3 /home/pi/rpi-led-scoreboard/ --led-cols=64 --led-gpio-mapping=adafruit-hat --led-brightness=40 &

Reboot the Raspberry Pi
sudo reboot


The default configuration will show Manchester United games in the English Premier League. If they don't have a game today then it will show their up coming games or just the time, depending on what the BBC website is showing today.

In the unlikely event that you want to use the scoreboard to see another teams matches you can change the configuration using the built in web configuration page.

The configuration page can be accessed by browsing to the Raspberry Pi's ip address in your favourite browser.

You will be greeted by a magnificently basic webpage with all scoreboard settings.

The configuration page has following features:

  • Reboot button. Used to restart the scoreboard
  • Status: Used to turn the LED panel off and on
  • Team: This is where you can choose the team to show on the scoreboard. Please note: You can select All to show all todays matches on a 30 second rotation.
  • Live Score Type: Used to choose between English Premier League and English FA Cup
  • Weather API Key: This is an external API key used to retrieve weather information from You can obtain a free weather API key using the Get API Key link.
  • Weather API Units: Used to choose centigrade or fahrenheit for the temperature display.
  • Weather Location: If you want to change the city used for the weather information then type in city, country here. 


  • Scores and weather information are updated every minute on a cronjob
  • I use flask to create the webpage
  • The weather icon sometimes shows a white background. I'm not sure why this happens.
  • I haven't managed to create a case for this yet.
  • I scrape BBC Sport website so the system may stop working if BBC Sport change their website. To combat this I have tried to make the score scraping system modular, so adding different score scraping sources to the system is possible.
  • If you aren't inclined to make this yourself I can make it for you (for a small fee)
  • If you want any particular customisations then let me know in the comments


    papa said...
    This comment has been removed by a blog administrator.
    riya said...
    This comment has been removed by a blog administrator.
    Tiks said...

    Hey, when trying this i get the Error when using"ImportError: no module named rgbmatrix"

    zacharyahbachhuber said...

    The 10 best casino apps for iOS and Android
    The 10 best casino 여수 출장샵 apps for iOS and 고양 출장마사지 Android · 1. BetMGM, Casino Games, Bingo 제천 출장마사지 & Live Poker, Table 시흥 출장마사지 Games, and 안성 출장안마 more · 2. Ignition, No Deposit Poker, Slots,

    deekshitha said...

    Begin your 360DigiTMg Data Science online course right away to be prepared for the next time a career opportunity data science institute in nashik with placement

    Super_eagle said...

    Is it possible to add dutch soccer league to this?
    Then i sureley want to order one.