-
Notifications
You must be signed in to change notification settings - Fork 4
How Does the LED Sign Work?
Evan Ugarte edited this page Apr 8, 2022
·
8 revisions
The infrastructure to print pages from the SCE website works well to control other peripherals. Writing to the LED sign is slightly simpler than printing and only involves Core-v4, AWS SQS and a Quasar. Below is a high level diagram of the sign messaging system.

To demonstrate the functionality of the LED sign, let's start at Core-v4's webpage to update the sign.
Let's fill out the led sign page with the below content:

After the user submits data to update the sign, Core-v4's backend pushes a message to a Queue in Amazon's Simple Queue Service (SQS). Below is an example message pushed to the queue:
{
"scrollSpeed": 25,
"backgroundColor": "#0000FF",
"textColor": "#00FF00",
"borderColor": "#FF0000",
"text": "Welcome to SCE!",
}-
Note: the range of the
scrollSpeedfield is0-50
On the sign, the received message translates to the command:
./sce_sign.exe \
--set-speed <speed> px/vsync \
--set-background-color <background color>
--set-font-color <font color> \
--set-border-color <border color> \
--set-font-filename ./10x20.bdf \
--set-brightness 66% \
--set-text <text here>
the sign would show the message with the below colors: