Transcription of CW12832 User Manual - Cwlinux Limited
1 CW12832 user Man-ualbyCW12832 DisplayCW12832 user Manualby Cwlinux LimitedPublished April, 2007 Copyright 2007 Cwlinux Limited , All rights Limited makes no representations or warranties with respect to CW12832 or to the contents or use of this Manual , and specifically disclaims any express or implied warranties of merchantability of fitness for any particular is granted to copy and distribute modified versions of this documentation under the conditions for verbatim copying, provided also that the entire resulting derived work is distributed under the terms of a permission notice identical to this is granted to copy and distribute translations of this documentation into another language, under the above conditions for modified is a registered trademark of Linus trademarks, registered trademarks, and service marks are the property of their respective owners.
2 CW12832 DisplayRevision HistoryAuthorRevisionContentDateIL1 Initially released30-7-2002IL2 New features added24-2-2003IL3 Drawings added6-3-2003IL4 New features added23-5-2003GT5 New features added20-04-2007CW12832 DisplayTable of ContentsChapter and Driver for , Relay Pin the Software(Boot up logo example).. Number in Text to Line Wrap ON (254 67 253).. Line Wrap OFF (254 68 253).. Scroll ON (254 81 253).. Scroll OFF (254 82 253).. Insertion Point (254 71 [column] [row] 253).
3 Text Insertion Point to Top Left (254 72 253).. On Underline Cursor (254 74 [column] [row] 253).. Off Underline Cursor (254 75 253).. Cursor Left (254 76 253).. Cursor Right (254 77 253)..20CW12832 On Text Inverse (254 102 253).. Off Text Inverse (254 103 253)..20 Chapter Charts, user Defined Characters and Wide Vertical Bar Graph (254 118 253).. Narrow Vertical Bar Graph (254 115 253).. Vertical Bar Graph (254 61 [column] [height] 253).. Vertical Bar Graph (254 45 [column] [height] 253).. Horizontal Bar Graph (254 124 [column] [row] [length] 253).
4 Horizontal Bar Graph (254 43 [column] [row] [length] 253).. Custom character (254 78 [cc] [6 bytes] 253).. Pixel (254 112 [x] [y] 253).. Pixel (254 113 [x] [y] 253).. Byte (254 62 [x] [row] [byte] [4 dummy bytes] 253)..24 Chapter Command Model Number (254 48 253).. Firmware Version (254 49 253).. Reset (254 86 253).. Display (254 88 253).. Display Contrast (254 104 [contrast] 253).. RS232 port speed (254 57 [speed] 253).. screen as boot-up logo(254 106 253).. boot-up logo(254 105 253).. factory default boot-up logo(254 107 253).
5 Command On (254 66 253).. Off (254 70 253).. Brightness (254 65 [brightness] 253).. Command user Manual5CW12832 Key Hold On (254 50 253).. Key Hold Off (254 51 253).. Memory Command user Defined Character in Non-Volatile Memory (254 79 [cc] 253).. user Defined Character in System RAM (254 80 [cc] 253).. user Settings in Non-Volatile Memory (254 83 [ud] [4 bytes] [2 dummy bytes] 253).. user Settings from Non-Volatile Memory (254 84 [ud] 253).. Command ON General Purpose Output (GPO) (254 99 [gpo#] 253).
6 OFF General Purpose Output (GPO) (254 100 [gpo#] 253).. Status of General Purpose Input (GPI) (254 101 [gpi#] 253)..29 Chapter Command Charts and Graphic Command Command Mode Maximum user Manual6CW12832 DisplayChapter CW12832 is a graphical LCD which user can show both text and graphics at the same time via a connection of a computer/appliance/server. The module includes a set of simple commands that allows user to develop his own LCD environment columns 4 lines text display128 32 dots graphic displayText wrap.
7 Scroll and inverse capabilityBuilt in characters plus 16 user defined charactersCommunicate over RS232 or USB interfaceBaud rate speed selection between 9600 and 19200 bpsProgrammable on/off and brightness of the LED backlight Horizontal and vertical bar charts32 bytes reserved non-volatile memory spaces for user settings6 buttons keypad4 general purpose I/Os1 reed relay used as a host on/off switchFit in a standard " floppy drive and ConnectionOnly simple connection is required. CW12832 obtains power from the PC standard floppy power connector (Drawing 2).
8 user should take extremely care in connecting the power to CW12832 . Reversing the polarity of connector will result in burning the 1 shows how to connect a CW12832 to a Personal Computer, a 1U appliance or a Server Station. For serial CW12832 , user requires to connect a DB9 cable (Standard COM port cable) to-gether with a power cable (Standard Floppy Drive Power Cable) user Manual7CW12832 ConnectionPin1234 NameVCCTXDRX_DGNDCW12832 user Manual8 Drawing 1 Serial connection 2 Power DisplayUser should take extremely care if he intended to connect it with another type of power supply.
9 Please notice the pin assignments of the power connector before plugging the power into the CW12832 . Improper connection of the power will burn the bouncing reset switch SW1 is used to reset the micro-controller whenever necessary. Remote reset switch can also be found in JP1, please refer to the GPIO description in session ConnectionThe Connection of a USB CW12832 is much more easier. The USB version of CW12832 can be powered up by just connecting a USB cable. No other power source is required as the power comes from the USB cable itself.
10 The LCD is on once the USB cable is user Manual9 Drawing 3 USB connection DriverLinux driver for the USB version of CW12832 can be obtained at Type in the followings (only in Linux) to load the driver,# tar zxf # cd ld_pl2303_v0212# make# modprobe usb-ohci or modprobe usb-uhci# insmod # insmod : Although the stock version of Linux driver works, it has problem during high speed transfer. This driver fixes the problem. It is recommended to use the above driver instead of the stock Driver for WindowsLatest version of USB driver for CW12832 can be downloaded at In the website, search for latest driver for PL-2303.