Skip to content

cbteeple/score-led

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

score-led

ScoreLED Technology

Score-LED

Dependencies:

Hardware

  1. ScoreLED bases + light panels
  2. Raspberry pi (tested on the Pi 2B+ and 3B+ so far)

Software

  • tweepy, a python wrapper for the twiter api: pip install tweepy
  • textblob, a text handing api: pip install textblob
  • yaml, yet another markup language: pip install pyyaml

Usage:

Hardware Setup

  1. Connect all four sets of three-pin LED plugs to the GPIO header on the pi

Software Setup

  1. Set up the team names, twitter handles, and LED colors for each team using hex codes in "settings.yaml"
  2. Set the default thresholds for sentiment colors in "thresholds.yaml"

Run

  1. SSH into the pi
  2. Start a tmux instance
  3. Navigate to the score-led folder
cd ~/Documents/score-led
  1. Run the main file
python main_multithreading2019.py
  1. To adjust the twiter sentiment thresholds live, exit the tmux instance and use the update command
python updateThresh.py #1 #2
  • #1: negative threshold (default: 50)
  • #2: positive threshold (default: 80)
  • You must give this command two threshold values

About

ScoreLED Technology

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published