Difference between revisions of "LED Sign"

From Makers Local 256
Jump to: navigation, search
m (oops bollixed up the create date)
m (goals and minor fixes)
Line 8: Line 8:
 
There is a giant LED sign at the shop. I am very lazy so I am not going to tell you what kind it is. However, I do know that the [https://github.com/msparks/alphasign python library for Alpha American and Betabrite signs] will drive it just fine.
 
There is a giant LED sign at the shop. I am very lazy so I am not going to tell you what kind it is. However, I do know that the [https://github.com/msparks/alphasign python library for Alpha American and Betabrite signs] will drive it just fine.
  
The current code was written by [[User:brimstone]], I believe, before there were really libraries out there for using the sign. So the protocol was written into the script by him. I am working on a rewrite based on Python, so that we can use the ready-made library. Once this is done, I will work other capabilities into it so that it can be controlled via REST API and ultimately via [[RQ]].
+
The current code was written by [[User:brimstone]], I believe, before there were really libraries out there for using the sign. So the protocol was written into the script by him. I ([[User:hfuller]]) am working on a rewrite based on Python, so that we can use the ready-made library. Once this is done, I will work other capabilities into it so that it can be controlled via REST API and ultimately via [[RQ]].
  
=== Notes ===
+
== Status of new code ==
 +
There is now Python code that will do the same thing as the old Perl code. I'll use this as my starting point for further dev.
 +
 
 +
== Goals ==
 +
* Continuously update the sign in an "inexpensive" way so we can have a more accurate clock and other readouts.
 +
* Add extra screens for stuff like alert and other messages.
 +
* Expose all relevant functions over REST, especially the extra screens for alert functionality.
 +
* Tie the extra screens and default screen into RQ.
 +
 
 +
== Notes ==
 
* [http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask REST API notes]
 
* [http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask REST API notes]
 
* [http://www.alpha-american.com/alpha-manuals/M-Protocol.pdf Alpha sign protocol]
 
* [http://www.alpha-american.com/alpha-manuals/M-Protocol.pdf Alpha sign protocol]

Revision as of 19:16, 2 April 2015

Creator:
brimstone
Status:
Prototype of new version completed
Born On:
the beginning of time
Last Updated:
19:16, 02 April 2015 (CDT)

Overview

There is a giant LED sign at the shop. I am very lazy so I am not going to tell you what kind it is. However, I do know that the python library for Alpha American and Betabrite signs will drive it just fine.

The current code was written by User:brimstone, I believe, before there were really libraries out there for using the sign. So the protocol was written into the script by him. I (User:hfuller) am working on a rewrite based on Python, so that we can use the ready-made library. Once this is done, I will work other capabilities into it so that it can be controlled via REST API and ultimately via RQ.

Status of new code

There is now Python code that will do the same thing as the old Perl code. I'll use this as my starting point for further dev.

Goals

  • Continuously update the sign in an "inexpensive" way so we can have a more accurate clock and other readouts.
  • Add extra screens for stuff like alert and other messages.
  • Expose all relevant functions over REST, especially the extra screens for alert functionality.
  • Tie the extra screens and default screen into RQ.

Notes