Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scoreboard

A server to control a scoreboard (Video on YouTube)

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

hardware

  • Raspberry Pi 3 Model B Plus Rev 1.3 (might switch to Pi Zero 2W later)
  • 3x PCA9685
  • SG90 Servo Motors
  • Jumper wires (Shop)

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 I2C (Pin3 and 5, SDA and SCL): usermod -a -G i2c 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/scoreboard && /opt/pythonenv/bin/poetry run python scoreboard.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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages