Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. {{:cwlinux_logo.png}} [[http://www.cwlinux.com|Cwlinux]] offers several LCD kits: ===== CW1602 ===== a 16x2 text display with either serial or USB interface: Front View: <code> #!html <img src="https://ssl.bulix.org/projects/lcd4linux/attachment/wiki/CwLinux/bare_lcd.jpg?format=raw" width="221" height="100" /> </code> Serial Version: <code> #!html <img src="https://ssl.bulix.org/projects/lcd4linux/attachment/wiki/CwLinux/serial_lcd2.jpg?format=raw" width="214" height="100" /> </code> USB Version: <code> #!html <img src="https://ssl.bulix.org/projects/lcd4linux/attachment/wiki/CwLinux/usb_lcd2.jpg?format=raw" width="223" height="100" /> </code> ===== CW12232 ===== A graphics display (122x32 pixels, **20x4** characters) again with either serial or USB interface. Serial Version: <code> #!html <img src="https://ssl.bulix.org/projects/lcd4linux/attachment/wiki/CwLinux/serial_lcd.jpg?format=raw" width="300" height="83" /> </code> USB Version: <code> #!html <img src="https://ssl.bulix.org/projects/lcd4linux/attachment/wiki/CwLinux/usb_lcd.jpg?format=raw" width="300" height="83" /> </code> 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: <code> #!html <img src="https://ssl.bulix.org/projects/lcd4linux/attachment/wiki/CwLinux/lcdfront2.jpg?format=raw" width="328" height="91" /> </code> Graphic LCD: <code> #!html <img src="https://ssl.bulix.org/projects/lcd4linux/attachment/wiki/CwLinux/lcdfront.jpg?format=raw" width="300" height="99" /> </code> Graphic LCD with Keypad: <code> #!html <img src="https://ssl.bulix.org/projects/lcd4linux/attachment/wiki/CwLinux/black_keypad.jpg?format=raw" width="348" height="86" /> </code> ... or white: <code> #!html <img src="https://ssl.bulix.org/projects/lcd4linux/attachment/wiki/CwLinux/white_keypad.jpg?format=raw" width="365" height="82" /> </code> ===== CW12832 ===== A graphics display (128x32 pixels, **20x4** characters) with USB interface. ---- ===== Display Section ===== <code> Display <name> { Driver 'Cwlinux' Model <string> Port <string> Speed <number> Brightness <number> Icons <number> } </code> ---- ===== Parameters ===== |Driver|'Cwlinux'| |Model|'CW1602', 'CW12232' or 'CW12832'| |Port|serial device the display is attached to (e.g.'/dev/ttyS2')| |Speed|the baud rate from the display must match this value. Possible values are 1200, 2400, 9600 and 19200| |Brightness|initial backlight brightness, 0..8| |Icons|number of user-defined chars reserved for icons (default: 0)| ---- ===== Plugins ===== 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)| ---- ===== Keypad support ===== The keypad is supported in lcd4linux-0.10.1-RC1. ---- ===== Example ===== <code> 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) } </code> ---- cwlinux.txt Last modified: 2020/07/17 18:33(external edit)