So I've run into a rather.. difficult problem. I'm looking to put LCDs on my new servers, which are pretty significantly complex even before you get into the software on them.
Problem one: I need to drive four LEDs. Well, okay, that's easy enough, right? Not so much so. These LEDs need to be driven from 1.95/3.3V two-wire LED outputs. So that's four pairs, 8 wires. Plus another pair for fan control alarm. Plus a 3.3V/GND for fault status. Plus there's a switch to emulate (not ATX - NMI!) So that's 14 pins. Whoops!
Problem two: that doesn't get me the host data. The host data needs to get fed from USB as it sits, and gets pretty fancy. It's not just IP address and such - it's planned to cycle through a variety of data and status, and regularly update. Oh, and it isn't running Windows. So no, can't just use CC2.
Oh, and I also can't just use CFA-FBSCAB. All the fans are PWM.
I was planning to feed the GPIO into a Teensy 2.0++ and then feed data to the Crystalfontz. The LEDs for the curious are network interfaces plus the fan alarm LED and general fault, so it needs to be pretty fast response. (And yes, they're link+act feed.) For fan status (on/off) it would flash the LEDs in red and flash a 'FAN ERROR' message (hopefully) and for general fault status it would strobe red/orange and a 'HARDWARE FAULT' message.
The host data feed wouldn't touch the LEDs, but would constantly update the LCD to prevent burn-in and also deal with the keypad. The hosts themselves run - you guessed it - ESXi. But host data gets very complex since it also pulls data out of guests and guests-within-guests (jails and lxc.) So yes, things like scrolling which VMs are active on which, what the guest is, etcetera. Eventually the plan would be to set up a keypad interactive menu system on the Crystalfontz so I can do vMotion and jail failovers without having to deal with the awful web UI. At least initially about all I'm expecting to have working with the keypad is 'pause scrolling' and 'manually scroll through hosts (up/down) and data (left/right).'
But it's not clear to me if this is even possible. For example, could I even stop the host data from being displayed when I want to show the fault messages? Secondly, what would be the best module and best way to interface from the Teensy? Or is there a similar option better suited to microcontroller duties? There's no way to feed everything from one point because of having to mix simple hardware source with complex software source, with both working very quickly. Has anyone done something similar and can share their experiences?
Thanks in advance! (Oh and yes I am the RootWyrm. And yes this is BabyDragon related.)
Problem one: I need to drive four LEDs. Well, okay, that's easy enough, right? Not so much so. These LEDs need to be driven from 1.95/3.3V two-wire LED outputs. So that's four pairs, 8 wires. Plus another pair for fan control alarm. Plus a 3.3V/GND for fault status. Plus there's a switch to emulate (not ATX - NMI!) So that's 14 pins. Whoops!
Problem two: that doesn't get me the host data. The host data needs to get fed from USB as it sits, and gets pretty fancy. It's not just IP address and such - it's planned to cycle through a variety of data and status, and regularly update. Oh, and it isn't running Windows. So no, can't just use CC2.
Oh, and I also can't just use CFA-FBSCAB. All the fans are PWM.
I was planning to feed the GPIO into a Teensy 2.0++ and then feed data to the Crystalfontz. The LEDs for the curious are network interfaces plus the fan alarm LED and general fault, so it needs to be pretty fast response. (And yes, they're link+act feed.) For fan status (on/off) it would flash the LEDs in red and flash a 'FAN ERROR' message (hopefully) and for general fault status it would strobe red/orange and a 'HARDWARE FAULT' message.
The host data feed wouldn't touch the LEDs, but would constantly update the LCD to prevent burn-in and also deal with the keypad. The hosts themselves run - you guessed it - ESXi. But host data gets very complex since it also pulls data out of guests and guests-within-guests (jails and lxc.) So yes, things like scrolling which VMs are active on which, what the guest is, etcetera. Eventually the plan would be to set up a keypad interactive menu system on the Crystalfontz so I can do vMotion and jail failovers without having to deal with the awful web UI. At least initially about all I'm expecting to have working with the keypad is 'pause scrolling' and 'manually scroll through hosts (up/down) and data (left/right).'
But it's not clear to me if this is even possible. For example, could I even stop the host data from being displayed when I want to show the fault messages? Secondly, what would be the best module and best way to interface from the Teensy? Or is there a similar option better suited to microcontroller duties? There's no way to feed everything from one point because of having to mix simple hardware source with complex software source, with both working very quickly. Has anyone done something similar and can share their experiences?
Thanks in advance! (Oh and yes I am the RootWyrm. And yes this is BabyDragon related.)
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.