Skip to content

DresdenDukes/scoreboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scoreboard

The pi is powered by a powerbank with 16.000mAh which is enough for more than 4 hours on a normal Raspberry Pi 3.

there is also a scoreboard-gui for a more user friendly interface.

hardware

  • Pi Zero 2W
  • SEZO WS2812B LED stripe IP65 (Shop)
  • Jumper wires (Shop)

very basic and not accurate wiring

layout

how it looks:

scoreboard

Video on YouTube

pi setup

apt install git python3-pip python3-full
python3 -m venv /opt/pythonenv
/opt/pythonenv/bin/pip install pip --upgrade
/opt/pythonenv/bin/pip install poetry

add /opt/pythonenv/bin: to PATH in /etc/profile

give pi user access to SPI (Pin19) which is used ad data channel: usermod -a -G spi -G gpio pi

due to no real time clock we have to be able to set the time. add this line to /etc/sudoers to give the pi user the permission to change the time:

pi   ALL=(root) NOPASSWD: /usr/bin/date

crontab pi user:

@reboot cd /home/pi/examples && /opt/pythonenv/bin/poetry run python segments.py
@reboot sleep 40 && wget -q localhost:7000/clock -O /dev/null

links

here are some helpful links which provided useful information for us:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages