Cwlinux offers several LCD kits:

a 16×2 text display with either serial or USB interface:

Front View:

<img src="" width="221" height="100" />

Serial Version:

<img src="" width="214" height="100" />

USB Version:

<img src="" width="223" height="100" />

A graphics display (122×32 pixels, 20×4 characters) again with either serial or USB interface.

Serial Version:

<img src="" width="300" height="83" />

USB Version:

<img src="" width="300" height="83" />

The USB version uses an USB to serial converter from Prolific (PL2303) with VendorID 0x067b and ProductID 0x2303. The Linux Kernel 2.6 support this with the module pl2303. It demands 500mA, so you need an active powered USB port.

The really cool fact with their displays is that the whole thing is mounted into a half-height 5 1/4 drive bay:

Character LCD with Keypad:

<img src="" width="328" height="91" />

Graphic LCD:

<img src="" width="300" height="99" />

Graphic LCD with Keypad:

<img src="" width="348" height="86" />

… or white:

<img src="" width="365" height="82" />

A graphics display (128×32 pixels, 20×4 characters) with USB interface.

Display <name> {
    Driver     'Cwlinux'
    Model      <string>
    Port       <string>
    Speed      <number>
    Brightness <number>
    Icons      <number>

Model'CW1602', 'CW12232' or 'CW12832'
Portserial device the display is attached to (e.g.'/dev/ttyS2')
Speedthe baud rate from the display must match this value. Possible values are 1200, 2400, 9600 and 19200
Brightnessinitial backlight brightness, 0..8
Iconsnumber of user-defined chars reserved for icons (default: 0)

The driver provides the following functions (depends on the display model):

LCD::brightness()return current brightness setting
LCD::brightness(n)set brightness to n (0..8)

The keypad is supported in lcd4linux-0.10.1-RC1.

Display CW12232 {
    Driver 'Cwlinux'
    Model 'CW12232'
    Port '/dev/ttyUSB0'
    Speed 19200
    Brightness 2
    Icons 1
Widget keyConfirm {
    class 'Keypad'
    position 'confirm'
    state 'pressed'
    expression LCD::brightness(4)

  • cwlinux.txt
  • Last modified: 2020/07/17 18:33
  • (external edit)