Jeremy.InfogamiSet Shuttle VFD
AboutA number of recent Shuttle cases, eg the SD365GM include a VFD ("Versatile Front-Panel Display" in Shuttle's parlance) on the front of the case that can be used for displaying information on currently playing videos/tracks whilst your monitor is otherwise in use. It is supported under Microsoft Windows, Media Centre Edition and you can use it under other versions of Windows with XPC Tools to display information about the current CPU Temperature, Fan speeds etc. This python script allows you to control the VFD from the command line under linux, enabling you to set the text, show or hide any of the icons displayed, or enable the 'time' mode on the device (a clock that will continue to be shown while the computer is switched off). You might just want to use it to clear the 'Shuttle XPC' text that gets displayed when the machine is started. DetailsThe VFD device contains two main chips - a Cypress CY7C63723 and a PTC PT6314. The Cypress chip is a programmable USB-to-serial interface, while the PTC chip is a serial-controlled driver for a VFD display. The Cypress chip has been programmed to respond to particular instructions over USB, and use them to control what appears on the screen. There is very little available about this display on the Internet - possibly since this (in particular) is quite a new case from Shuttle. Typically you will find mention of work done by Sandro Weiser for a University project integrating the display with lcdproc, but the code is no longer available. I couldn't find anything else, so settled for poking around with the USB device until it did the right thing - this script is the result of that. {Update Nov 2007} There is support for this device under Freevo from Duncan Webb. {Update Nov 2007} There is support for this device (again) in LCDproc in the current CVS - thanks to Thien Vu and Miska Sulander. Download & RunThis software requires the Python USB libraries to be installed (and Python, of course). Download setvfd (Version 1.1) This code is available in the public domain - you can use it for whatever purpose you like. However, I am not responsible for anything untoward that it might do to your computer, your VFD display, your data, any other usb devices, your house, your pets, your town, your country, etc. I've only ever used it on a Debian Linux system with pyusb version 0.3.3 and libusb version 0.1.10 (debian sarge package 'libusb-0.1-4'). It may (and probably should) work under Windows too, but I haven't tested that. The code is pretty simple, so should be possible to port back to libusb for direct integration into C or other code. You'll probably be most interested in the device constants, the constants in sendData(), the setting date format in clock(), and the message types/structure at the top of the file. Bugs/Features
History
Ideas
PicturesJust to give you an idea of what it looks like in action. Apologies for the resolution and brightness levels of the video camera being used. VFD in 'Time' mode ( Full test of display ( ContactJeremy James 2006-2007. My email address is in the top of the code file. last updated 9 months ago # Comments |