GithubHelp home page GithubHelp logo

ttleagueterminal's Introduction

ttleagueterminal

This project will run on a battery powered device (RaspberryPi Zero W) to be able to send game points to a running node.js app acting as server

Dependencies

Some of these packages and system tools are already included in the full raspian distrobution, but i'm always using the lite images

  • Git
    • Install via sudo apt-get install git
  • Python-Dev
    • Install via sudo apt-get install python-dev
  • Python-Pip
    • Install via sudo apt-get install python-pip
  • SPI-Py - https://github.com/lthiery/SPI-Py
    • Clone git repository: git clone https://github.com/lthiery/SPI-Py.git
    • Change into the directory cd SPI-Py
    • Install via sudo python setup.py install
    • Make sure you have SPI enabled in your /boot/config.txt
      • dtparam=spi=on
  • MFRC522 - https://github.com/mxgxw/MFRC522-python
    • Because i had to patch it, it is included in code
  • Python package requirements could be installed via sudo pip install -r requirements.txt
    • socketIO-client
    • evdev
    • adafruit-charlcd

Config

  • Clone git repository to /home/pi
  • Install dependencies
  • Config backend and LCD
    • See options in file config.default.json (needs to be edited and saved as config.json)
    • LCD connection needs to be configured (HD44780 controller compatible)
  • To boot into "app" add a line su - pi -c '/home/pi/ttleagueterminal/startup.sh &' into file /etc/rc.local before the exit instruction
    • this command changes into a shell for user pi and starts the terminal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.