Benutzer-Werkzeuge

Webseiten-Werkzeuge


lcd4linux:driver_usb2vfd

USB2VFD driver

This driver supports the 40×2 „USB2VFD“ vacuum fluorescent displays that are sold (e.g. on Aliexpress) as status displays for AIDA64. They show up as a serial port.

In AIDA64 these displays are configured as Matrix Orbital LK displays, but they are only roughly compatible:

  • contrast and brightness commands are ignored
  • the display freezes on every command it does not like; only 'go home' and 'go to position' work
  • there are no user-defined characters
  • nothing is displayed until the whole display buffer has been filled

The driver therefore keeps both lines in a buffer and always sends the complete 2×40 characters.


Display Section

Display <name> {
    Driver    'USB2VFD'
    Port      <string>
    Speed     <number>
    BarChar   <number>
}

Parameters

Driver'USB2VFD'
Portserial device the display is attached to (e.g. '/dev/ttyUSB0')
Speedbaud rate of the serial port, default is 19200
BarCharASCII code (1..255) of the character that is used for the filled part of bars. Default is 127 (0x7F), which is a full block on these displays.

The size is fixed to 40×2, a Size entry is not evaluated.


Widgets

Only the Text and the Bar widget are available. As the display has no user-defined characters, there are no icons, and a bar can only be filled in steps of whole characters.

Special characters of the display:

|shown as °C
\x7Ffull block

Example

Display USB2VFD {
    Driver   'USB2VFD'
    Port     '/dev/ttyUSB0'
    Speed    19200
}

Requirements

No external libraries. The driver is selected at build time with –with-drivers=USB2VFD.


lcd4linux/driver_usb2vfd.txt · Zuletzt geändert: von 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki