Home
SC1602LC User`s Manual
Contents
1. RAFT User s Manual Function Code in decimal Read Inputs 254 14 Set Inputs Port As Keypad Port 254 15 Set Inputs Port As Pulled Up Inputs 254 16 Change LCD baud rate to 9600 254 30 Change LCD baud rate to 19200 254 31 Save settings to non volatile memory 254 32 Change Backlight Brightness 254 40 brightness Clear Selected row 254 45 selected row Clear Selected column 254 46 selected column Move cursor position 254 50 row column Turn On Off Individual Output 254 51 Port ID On or Off Show user s defined text 254 52 Text ID row User s predefine text 254 Text ID 16 Characters Define user s characters 254 100 64 Bytes Bitmap Data Cursor Control Column O Column 15 Cursor is the indicator of the current position where the next character to be displayed Cursor may be visible or hidden On power up cursor is hidden by default To turn on visible cursor send command 254 1 for underline type cursor or 254 2 for block blinking type of cursor Cursor can be hidden at anytime by sending command 254 3 To move cursor to the beginning of next row send control character 12 in decimal Note cursor is move to row O if current cursor position is at row 1 To move cursor home row O column 0 send control character 11 in decimal Cursor can be move to any position on screen by command 254 50 row column where row is O or 1 and column i
2. SC1602LC 16x2 Large Characters RS232 LCD Module SILIGON CRAFT Large Viewing Area 99mm x 24mm Features e 16x2 Large Characters LCD e RS232 Interface e Simple Serial Command e Wide Range Voltage Operation 9 15V e 8 User s Defined Characters e 10 User s Defined Text Line Hardware Connection Back View o 7 b 5 tr f gt L Power Supply 12V Nominal 2 LCD Contrast Adjust 3 Keypad Inputs Port TII User s Manual Large Character Size 4 84mm x 9 66mm Buffered received bytes eliminates delay requirement 4x4 Keypad Input Or 8 pulled up inputs program mable 8 Open Drain Output LCD Backlight with Brightness Control Programmable baud rate 9600 or 19200 ID AINT E GA NNNM 3 1 X M X1 x Open Drain Output Port 5 DB9 RS232 Connector WWW siliconcraft net SC1602LC 16x2 Large Characters RS232 LCD Module SILICON CRAFT User s Manual Communication Communication with SC1602LC is through RS232 at 9600 bps and 8 data bits no parity and 1 stop bit protocol 9600 8 N 1 The baud rate can be changed to 19200 bps with serial command explained later 9600 bps will be the default baud rate Displaying Text SC1602LC will display characters it received from its RS232 port All supported characters is listed below Examples Display ASCII character 1 Send hexadecimal 0x31 EE IRE E a PE WEB Display spec
3. ial character Q ii i 4 FEE m Send hexadecimal OxF4 esa Es A REH EJEJE EE coer Lael JETER ET C E WWW siliconcraft net SILIGON CRAFT SC1602LC 16x2 Large Characters RS232 LCD Module User s Manual User s Defined Characters Hex Decimal Row 1 OxOO O Row 2 OxOO 0 Row 3 OxOA 10 Row 4 Ox1F 31 Row 5 OxlF 3l SC1602LC allows user s to define 8 characters to be added to the character Row 6 OxOE 14 set listed above Each character is a 5x8 pixels matrix with each row repre Row 7 0x04 4 sented by a byte of data Row 8 0x00 O Thus each character consists of 8 bytes of bitmap data The defined characters need to be loaded to the LCD memory first before Bitmap Data Example they can be used Transmit decimal O to 7 to display custom character 1 to 8 respectively Control Characters Code Summa Function Insert Custom Character Backspace Send Cursor Home Move Cursor to the next row Clear display and send cursor home Move Cursor one position left Move Cursor one position right Turn On Underline Under Turn On Block Blinking Cursor Hide Cursor Turn On Backlight Turn Off Backlight Load User s Characters Disable Keypad Enable Keypad Turn On All Outputs Turn Off All Outputs Code in decimal 0 to 7 8 11 12 13 14 15 254 1 254 2 254 3 254 6 254 7 254 8 254 9 254 10 254 12 254 13 WWW siliconcraft net SC1602LC 16x2 Large Characters RS232 LCD Module SILICON C
4. iliconcraft net SC1602LC 16x2 Large Characters RS232 LCD Module SILIGON IGRAFT User s Manual Electrical Specification Power Supply 9 15VDC Nominal 12VDC Current Consumption 15mA Backlight Off 120mA Backlight On Operation Temperature Range 0 C to 709 C Storage Temperature Range 209 C to 859 C LCD Type STN Backlight Yellow Green LED Light Guide Maximum sink current on each open drain output 100mA Maximum voltage on each open drain output 33V Mechanical Dimension mm 122 00 0 50 l ee E po Ap a4 WWW siliconcraft net
5. n row O Changing the baud rate By default SC1602LC baud rate is set at 9600 bps To change it to 19200 bps send command 254 31 To set it back to 9600 bps send command 254 30 LCD will display Baud Changed each time the baud rate is changed Changes are immediate thus make sure the baud rate of the host controller is change too before sending com mand to the LCD Make setting non volatile LCD configurations baud rate backlight brightness input mode user s characters predefine text can be make non volatile retain after power down by sending command 254 32 LCD will display Settings Saved when this is done WWW siliconcraft net SC1602LC 16x2 Large Characters RS232 LCD Module SILICON CRAFT User s Manual SC1602LCApp Software This software can be downloaded from www siliconcraft net download to test and configure SC1602LC 1 SC1602LC Configure LCD Comm Port Settings Save Settings Onto Flash 9600bps C 19200bps mean Save Settings Mane te CD setting Keypad Status Send ASCII Text M M MI 7 Type the character to be displayed 1 T e GRE LILILIL vee js Clear de OOOO IR VL Seek 0 1 2 3 s s 7 Disable Keypad Load User s Characters Bitmap Select Predefine Text sj s Select Row Predefined Text nananana lox de e d e A e Bytes Sent Bytes Received Set LCD Baud Rate Input Mode on P1 9600 bps 19200 bps _ Keypad _ Pulled Up Inputs www s
6. s O to 15 WWW siliconcraft net SC1602LC 16x2 Large Characters RS232 LCD Module SILICON CRAFT User s Manual Backlight Control The LCD is illuminated by a Yellow Green LED light guide The backlight is turned on upon power up To turn it off send command 254 7 To turn it back on send com mand 254 6 Brightness can be control with command 254 40 brightness level where O is the minimum and 250 is maxi mum Open Drain Output Ports The module has 8 open drain outputs which can be indi vidually controlled Each output is capable of sinking 100mA of continuous on current It is controlled by command 254 51 Port ID On Off Where Port ID is O decimal for OUT1 and 7 decimal for OUTS On Off is H ASCII to turn it on and L ASCII to turn it off Output port is accessible via 5x2 pin header P2 Input Port 9 pins input port on P1 can be configured as 4x4 keypad inputs or 8 channels pulled up inputs Keypad Mode Default In this mode two bytes will be transmitted each time a keypress is detected Keypad is scan every 250ms Keypad can be disabled with command 254 9 When disabled no data will be transmitted when keypress de tected Keypad is enabled by command 254 10 Keypad is enabled by default Pulled Up Input Mode In this mode input pins is scan every 250ms and it status updated Input status can be retrieved with command 254 14 LCD will respon
7. se by transmitting two bytes indicating the status of inputs Header P1 Keypad Mode Connection WWW siliconcraft net SC1602LC 16x2 Large Characters RS232 LCD Module SILICON CRAFT User s Manual Keypad Return Code Return Code HEX OxFE OxFF OxFB OxFF OxF7 OxFF OxFD OxFF OxEF OxFF OxBF OxFF Ox7F OxFF OxDF OxFF OxFF OxFE OxFF OxFB OxFF OxF7 OxFF OxFD OxFF OxEF OxFF OxBF a 1 2 3 A 4 5 6 B 7 8 9 C OxFF Ox7F OxFF OxDF Input mode return two bytes STATUS 0 STATUS 1 Where lower nibble of STATUS O indicates IN1 to IN4 and lower nibble of STATUS 1 indicates IN5 to IN8 Header P1 Input Mode Connection WWW siliconcraft net SC1602LC 16x2 Large Characters RS232 LCD Module SILICBONIGRAFT User s Manual User s Predefined Text 10 memory locations is available to store commonly used text Each is 16 characters wide Text stored in these memory locations can be recalled and displayed on the LCD with command OxFE 0x34 text location row to be displayed Where text location is which text to be displayed 101 to 110 row to be displayed is O or 1 depending on which row you want the text to be displayed Example Text Stored in memory location 101 is SC1602LC Test To display this instead of sending the text string you can dis play the text by sending command OxFE 0x34 Ox65 OxOO to have SC1602LC Test displayed o
Download Pdf Manuals
Related Search
Related Contents
使用上の注意はカタログー取扱説明書をお読みください。 Dataram DRST3/16GB memory module New Features in ARCHLine.XP® 2007 Fujitsu ESPRIMO P910 E90+ E - Active srl 10-RN01-UM-01A 使用手冊(BK-U)(英)(文字檔 SMART System User Manual 高規格救急自動車 入札説明書等 (PDF:2061KB) AC4790 User Manual - Digi-Key SALLY - antisèche 01 - Fonctions principales Copyright © All rights reserved.
Failed to retrieve file