Giter VIP home page Giter VIP logo

message_board's Introduction

message_board

This program is used to light up a message board powered by a Raspberry Pi 3. To watch a how to video on setting up the circuit and controls go here.

Assumptions

When writing this program I assumed:

  • You are running Raspberry Pi OS (Raspbian) on the Raspberry Pi 3 or Raspberry Pi Zero W
  • You have already setup the hardware and circuit
  • You are using hardware supported by the Software Requirements below

Software Requirements

In order to use the program you will need the following:

Setup

  • You can clone/download the project to any directory you want to keep the files.
  • Run sudo pip3 install -r requirements.txt
  • Install Bibliopixel requirement rpi_ws281x
  • Run sudo python3 animateMessageBoard.py "Hello World!" to see a message

How It Works

The file animateMessageBoard.py is a sample script that executes the program. You can follow this as a template for writing you're own implementation. All animations, algorithms, character sets, and parsers can be subclassed to fit the needs of your specific setup. For example if you are using an 8x48 message board, you will need to create a character set for that. Here's the basic idea for writing a message to your board:

  • Create a custom animation class inheriting the BaseAnim class from BiblioPixel and override the step() function. OR use the MessageBoardAnimation class provided, which does this.
  • Customize the animation to accept the arguments you need.
  • Create a BiblioPixel driver for the LED model strip you have
  • Create the character set you will use and initialize the parser with the character set
  • Create the color algorithm you will use and initialize the message algorithm with the color algorithm
  • Initialize the custom animation and run

message_board's People

Contributors

tmckay1 avatar

Stargazers

Chelsie Jones avatar Jeff Brown avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

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.