Code Monkey home page Code Monkey logo

ledsign's Introduction

NAME

LedSign - Perl library to communicate with various models of programmable LED signs

VERSION

Version 1.00

DESCRIPTION

The LedSign library is used to send text and graphics to different models of programmable LED signs. We tried to keep the interface consistent across models, and only introduced per-model variations where the underlying capabilities of the sign were different enough to warrant it.

It has been tested on both Linux and Windows, and should theoretically run anywhere where the Device::SerialPort or Win32::SerialPort modules can be run.

SYNOPSIS

    #
    # "M500" is one specific model
    # For a different model, like the Mini signs, you
    # would do:
    #   use LedSign::Mini;
    #
    use LedSign::M500;
    my $buffer=LedSign::M500->new();
    #
    # queueMsg queues a message to be sent with the sendQueue method
    #
    $buffer->queueMsg( data => "Hello World!");
    # queue up another message
    $buffer->queueMsg( data => "Another message");
    # send the messages to the sign.
    $buffer->sendQueue(
        device => '/dev/ttyUSB0'
    )
    # note that sending the queued messages does not flush them, so 
    # if you wanted to send this message to another sign, on a different
    # port, you could uncomment what's below
    # $buffer->sendQueue(
    #   device=>'/dev/ttyUSB1'
    # ); 

USAGE

Since each of the supported signs is a bit different in terms of capability, the usage docs are within the documentation for each type of sign:

  • LedSign::Mini - For our smaller, inexpensive LED badges and signs. It probably works with most LED badges that are 12x36 or 12x48 pixels, as they come from the same manufacturer. It probably also works with most 16 pixel high LED signs that are sold as "desktop" led signs.

  • LedSign::M500 - For signs on our website that have a model number starting with M500, M1000, or M1500. It's a very popular, low-cost, single line series of signs available from many sellers. If the original windows software is entited "single line", "taioping", or "messager (sic)", and the communications settings require 9600 baud, this library will likely work with the sign. M500 signs that require 2400 baud use an older, incompatible protocol, and won't work with this software.

  • LedSign::BB - For signs that we have labeled with product id's that start with BB or SB. It should also work with signs where the original windows-based software is called "Wonderful LED 2006" or "Moving Sign 2007".

Depending on the model of sign, there may be support for various features

  • fonts and colors
  • effects (scrolling left, dropping in like snow, flashing, etc)
  • current time and/or date
  • using specific message slots
  • clearing the message queue
  • simple bitmap or pixmap graphics

RELATED SOFTWARE

  • The LedSign::Mini portion of this module supercedes the previous, standalone, Device::MiniLED module that supported the same type of sign. Aside from supporting a wider variety of signs, this module includes bug fixes and features that will not be backported to the older module.
  • We also created and maintain a python library, called pyledsign that is mostly a straight port of this software to the Python language. Because it is ported from this software, it typically lags a bit in feature and/or model support.

AUTHOR

Kerry Schwab, [email protected]

I am the owner of BrightLEDSigns.com. Our programmable LED signs, many of which work with this library, are located here: Programmable Signs.

LICENSE AND COPYRIGHT

Copyright (c) 2013 Kerry Schwab & Bright Signs All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the the FreeBSD License . You may obtain a copy of the full license at:

http://www.freebsd.org/copyright/freebsd-license.html

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: =over

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

ledsign's People

Contributors

brightledsigns avatar

Watchers

Jascha Lee 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.