Monday 23 March 2009

Ferrograph SDX - scrolling LED sign

One important aspect of being Agile is have short feedback loops. Wherever possible we aspire to reduce the feedback times, and one aid in decreasing feedback time is a feedback monitor. Having a some sort of visual indicator for the state of the project is obviously valuable. Its believed that if used correctly it can boost productivity and morale within the team considerably, however there is a certain amount of Kudos to be gained for having anything more than a VGA screen.

If you have a quick Google for Extreme Feedback Devices (no i'm not talking about a Marshall JCM800, 4x12" cab and a Gibson Les Paul) will turn up a large amount of hits for glowing orbs, VGA screens, lava lamps, lots of bespoke devices powered by Atmel AVRs, devices controlled by X10, water features, gummi bears and so on. One post by Dirk Ziegelmeier caught my eye, he had used a scrolling LED message board.

I picked up an old Ferrograph Aurora 64 SDX moving message / LED wall board, the type that is typically used in a call centre environment. In fact our call centres employ these boards to show the inbound call queue, and average call waiting times etc. for the Avaya Index ACD system.

The Ferrograph SDX boards turn up quite frequently on Ebay, and i had (somewhat naively) assumed that there would be enough info on the internet for me to be able to integrate the sign into our build monitor. Like i say, i had assumed, and as Eric Bogosian put it so eloquently in "Under Siege 2: Dark Territory (1995)" , "assumption is the mother of all f**ck ups".

The sign came with a short pig tail of cat5 cable terminated in an RJ45 plug. I have seen these signs listed on eBay as being "networked", this is an incorrect assumption being made by the seller as this is not a network cable but a serial cable. In my case the sign had been configured for RS422. Being a hardware geek more than a software geek, meant i had the sign opened up and running on RS232 in a matter of minutes.

Inside the sign is a main-board, at the end of which there is an RS422 header and RS232 header. Although there didn't seem to be a pin out that i could see printed on the PCB i traced back a little bit to work out which pin was which (a guesstimate based on where the pins ended up), i soldered up a 9pin D-connector to three wires (gnd, Rx, Tx) and stuffed it into the back of my PC. I took a guess at 9-n-1 (as its fairly standard HW setting) and sent "hello world" using the Alpha 1-byte protocol. The sign displayed nothing, nada, zip, bupkis, diddly-squat, zilch, bugger.

A long hard trawl of the internet turned up nothing. A few posts on various "Q&A" sites asking for info on these boards, but little else. A few lunchtimes of hunting and i came across a posting on makezine where Robert Coward said he had successfully reverse engineered the SDX signs.

I dropped Robert a line, and he very generously sent me the secret i needed to know for me to be able to get "hello world" onto the sign.

Because the Ferrograph SDX signs were designed for call centre ACD systems using the Avaya Index telephone system, it expect to be sent the phrase "SDX" at the start of every packet. It was that one nugget of information that allowed me to get going with the SDX wallboard but it was Roberts reverse engineering that really enabled me to push the sign to its limits - which took all of about 5 minutes!

There are many things wrong with the SDX sign, in fact possibly more defects than working features. I'm guessing that when Ferrograph tested the sign they only tested the features that would be needed for the sign to operate with the ACD system and not the features that are typical of the Betabrite or Alpha LED moving message led displays.

Anyhoo, long story short, Robert has created some new firmware ADF for the board, that does the following amazing things:

* Conforms to the publicly available Alpha protocol. It works with ready made applications, and it's easy to write your own applications for it.
* It has lots of fancy effects (snow, dissolve, drop down, cursor wipe and many more), and smooth continual scrolling, as well as all standard wipes/scrolls.
* Supports small/large normal and fancy character fonts; one or two line operation for small fonts. Double wide, flashing and colour shift flashing options available.
* Automatic word fit and centering to ensure a presentable display at all times.
* Many colour combinations, including three colour rainbow and two colour stripes.
* Full support for pictures and animations; configurable animation speed.
* Sophisticated & flexible memory management.
* Full real time and date display support in various formats.
* Ability to set messages to appear and disappear at certain times/days.
* Control of two optically isolated misc IO signals available on some Aurora 63 units, allowing automatic control of external buzzers, lights and even mains appliances (via suitable interface hardware) in synchronisation with message displays.
* Serial readback for message data and system/error status.
* Works on RS232 or RS485 interfaces.
* Serial timeout message option to display an error or blank message if host serial comms fails.
* Automatically detects Z8S180 CPUs on modern units and switches to high speed internally for maximum performance. Also automatically handles boards hard wired to double speed operation.

I'm sure you will agree that its some features list. Robert has turned what was previously a skippable board into a fantastic fully featured LED scrolling message board that would cost thousands of pounds.

A big feature here is that the with the ADF firmware the sign talks Alpha protocol, 1-byte, 2-byte and 3-byte. The Alpha protocol is publicly available and therefore there is much info available on the internet about it including sample code.

For example, in Linux i can:


echo "_01Z00_02A0hello world_04" > /dev/ttyS0


I contacted Robert again and purchased a copy of the firmware off him, which he supplied on an EEPROM ready to drop straight into the mainboard of the sign.
I powered up the sign and put and sent it "hello world" and basked in the 3 colour glow. within minutes a small crowd had gathered around my desk, Ooh-ing and Ahh-ing at the effects. You see if you sent the old SDX firmware "hello world", that's what you got however with Roberts ADF firmware, the sign centres the text and positions it in the middle of the two rows, then applies various effects to the text. The crowd were pleased.

Ok, so know i needed to make this sign work hard, i needed it to parse the cctray.xml that is generated by Cruise. Surely this is something i'd find ready made on the t'interweb? Well yes and no. Lots of people are parsing the xml that is output from Cruise Control, but we are using Cruise, and cctray.xml was what i wanted to parse (at first at least). But that as they say, is another story.

If you have a Ferrograph Aurora (Aurora 62, 63 or 64, new or old hardware type) SDX display / wallboard and you are interested in Roberts firmware you can contact him directly via email: robertcoward{at}gmail{dot}com

10 comments:

  1. Hello
    I have a Ferrograph Aurora 64 since five years ago and I have no program running with Windows (98 or XP) for working with it. Where can I found a software?
    This display is always in his box.
    It works in RS485 and I have an interface RS232/ RS485 for my PC. I also search the connection of the RJ45 plug(GND,TX,RX).
    Excuse me for my bad english !!
    Thank you for your answer.
    Best regards.
    mousse

    ReplyDelete
  2. I have an Advatel TCD226C Wallboard. I cant find any resources, but how likely do you think it is that I can also "echo "_01Z00_02A0hello world_04" > /dev/ttyS0" from linux and it will work? Where can I find protocol information? I strongly believe that it is similar to the Ferrograph. It connects over RS232. I'm also having some trouble powering the device. Would you please be able to visit this site:
    http://marketingtools.avaya.com/knowledgebase/businesspartner/ipoffice50en/mergedProjects/cccinstallation/index.htm#tdc226c/tdc226c.htm
    ... and help me determine how to power the device? I do not have the original power adapter. Do you think it takes 240V directly to its power jack? Or do you think it would take 12V? I cant work it out. I took it apart and the wires are VERY thick from the power terminal, so I wouldnt be suprised if it did take 240V.

    Thanks for your help!
    Nathan B

    ReplyDelete
  3. Hi Nathan,

    I dont appear to have anyway to get back to you other than leave a comment here, i hope you see it.

    I doubt very much the sign takes main voltage directly to the jack, for two reasons. 1) the site you linked to mentions an external supply, 2) the thickness of the wires suggest its going to be low voltage, high current, probably 12v but hard to tell with out looking at the circuit.

    The interface to the PC looks quite minimal, the PC transmits data to the sign at 9600 baud (which is quite slow) and the instructions suggest that the communication is all one way (PC to sign).

    There a number of very similar sign protocols documented on the web. They all work in a similar way.
    A header is transmitted, then the body of the msg, and then some indication or EOM.

    You can use the echo method, or if you can code, write something very simple in your language of choice.

    It took me about a month of playing with the sign to work out how to operate it, as it was then.

    Once you work it out, you can have lots of fun, but you will still need to write/find some software to control it for you.

    Stuart.

    ReplyDelete
  4. I only just saw this post after slinging mails back and forth with robert. I recently came into two Aurora63's and was going to scrap them. But now I've found a use for them!

    ReplyDelete
  5. Hey Brooke, Roberts firmware is worth every penny. These signs turn up on eBay now and then for a few pounds. Roberts firmware turns them into a sign worth several hundred.

    Stuart

    ReplyDelete
  6. Hi, I have a Ferrograph 10 wallboard. While I have some software and documentation from Ferrograph, none of it seems to work. What would help I think is if you could show me a simple command string including the "SDX" part, that you would send to your display. I'm sure that my problem is simple but sometimes the're the worst to fix.... Thanks Nigel.

    ReplyDelete
  7. Is anyone have contact with Robert Coward?
    I try to mail him last two month and no reply...

    ReplyDelete
  8. Came across 8 of these signs. Contacted Robert - very helpful. Update the mem and firmware - wow what an amazing sign. Absolutley worth every penny and more.

    ReplyDelete
  9. Hi Stuart,

    I managed to get my hands on a Ferrograph SDX and found the rs232 header and traced the pins back to gnd-Rin2-Tout2-Rin1-Tout1.
    I tried every possible baudrate and setting but I can't get anything to display. What complete string did you 'echo' to the the Ferrograph (original firmware) to get it working?
    Tried sending it SDX first, than the text but nothing happens.

    Thanks in advance.
    Michael

    ReplyDelete
  10. Hi Stuart,

    I hope you can help me with some issues with the ferropgraph sdx 63.
    I dropped Robert a line but haven't heard from him yet. What line should I echo to the original firmware to get it to display something?
    The 1-byte alpha protocol I get, but that SDX phrase?

    Thank you for your time,
    Michael

    ReplyDelete