Home
        Low Cost Serial LCD/OLED
         Contents
1.                                                                                                       module   Pin Name Function  1 DGND Ground reference  2 VCC Output voltage  3 3V or 5V  for LCD OLED module  3 VR LCD contrast adjuster  4 RS Register Select  5 R W Read Write Selector  6 E Start data read write  7 DO Data pin O  8 D1 Data pin 1  9 D2 Data pin 2  10 D3 Data pin 3  11 D4 Data pin 4  12 D5 Data pin 5  13 D   Data pin 6  14 D7 Data pin 7  15 VCC Output voltage  3 3V or 5V  for LCD backlight  16 BLK Ground reference for LCD backlight  3  INTERFACE    SPC LOW COST SERIAL LCD OLED has the UART TTL and UART RS232  interfaces which can be used to receive or send data     3 1  UART Interface  UART communication parameters are as follows     e 38400 bps e No parity bit  e 8 bit data e No flow control  e    stop bit    Each data that enters via UART will be displayed on the LCD OLED screen  according to the Character Generator ROM pattern table on the LCD OLED  manual  except for command character and its parameters     All of the command sent via UART interface begin with 1 byte data that  contains  lt command gt   followed by  if needed  n byte command parameter    data     If the command sent is a command requesting data from the SPC LOW COST  SERIAL LCD OLED module  then the SPC LOW COST SERIAL LCD OLED will  send the data via TX line     Sending reading a data parameter response larger than 255 is sent in two  phases  One byte MSB data is sent read first and then fo
2.     PC    Smart PERIPHERAL OG ONTROLLER    Low GOST SERIAL  LGD OLED          Trademarks  amp  Copyright   AT  IBM  and PC are trademarks of International Business Machines Corp   Pentium is a registered trademark of Intel Corporation    Hyper Terminal is copyright by Hilgraeve Inc    CodeVisionAVR is copyright by Pavel Haiduc  HP InfoTech s r l     Table of Contents    1 dE  D E 3  1 1  el E DEE 3  1 2  SPC LOW COST SERIAL LCD OLED Variant DDRAM Address         3  1 3  Suggested Systemsin neiise sie rre s erae GENEE Eegen 3  2 Hrd watten arie AEAEE EANES EA AE Ea 4  2 1  Component LAV CUE seier dee   e EEN A  2 2  Connector and Jumper SettingS       cccescecessscsseessssscsssecsessessseres 4  3 Imerit dee Ee varo EAEE E a 5  3 1 VART Inte rhe TEMERE EENSEEEEEEEEEEEENE 5  3 2 COMMON E 6  3 2 1 Set X3 CD  Control ito eese D uiu ee e te PRU 6  3 2 2 Feferoij  RN REEL 7  3 2 3 Mtite DGatai dicente itera deo E AA ick eite ventus Cota tiv Ee ute ve E v ve lee 7  3 2 4 Read Address Dataasic intret esterne ey REM Fe eve 8  3 2 5 e Ee E E                                         8  3 2 6    Change Line    eerie reete saraso eS ieres Siasea oo Eoss aieas 9  KN EE 9  3 2 8  EDP BUZZER EE 10  4 Testing  Procedute   eege                                            10  5 Application and Program Examples            cccssssscccssssssscccccsssssccccecssccsesees 11  Attachment  A  SPC LOW COST SERIAL LCD  OLED Schematics                       sess 12    1 1    1 2    INTRODUCTION   Smart Periph
3.   As an application example  DT AVR Low Cost Micro System  LCMS  module is  used as master for displaying message on the SPC LOW COST SERIAL  LCD OLED module with UART TTL interface  The following are the connections  between modules     VIN  6 5V     12V              SPC LOW COST d  SESCH DT AVR  SERIAL LCD OLED  Gem  TX  PORTD 1  LCMS                            COM  Ground     GND  Ground     As the program example as in the above application  there is contoh_vart c in  the included CD DVD which is written using CodeVisionAVRO 2 03 9  evaluation     In the program  DT AVR LCMS will send Clear LCD screen command  display   WELCOME  text  and sound the buzzer  After 2 seconds  the screen will be  cleared again  Locate LCD command is sent before DT AVR LCMS writes the  message  Innovative  and  Electronics  consecutively while sounding the buzzer   After all of the messages have been sent  then the backlight will be blinked  twice       Thank you for your confidence in using our products  if there are difficulties  questions   or suggestions regarding this product please contact our technical support   support innovativeelectronics com       11    Attachment A   SPC LOW COST SERIAL LCD OLED Schematic                  VIN 6 5 I2VDC  xm  cl C4  10uE 35V 100uE 16V  I Q D  X LEDPWR  D    R  GSICT   I BUZZ  C5  eu O 1UE     NEAN  SE   PA2  RESET DW  vee   wee ie  RXR 2 PDO  RXD   VCSK SCK PCINT   Le  DD 3 PDI  TxD   MISO DO PCINT6  PB6 ERS  MAT      PAL XTAL2   MOSIDISDA PCINTS  PB
4.  c  N     I     REG SLCT     S       U2 ATTINY2313    r1  Li    U1 LD1117DTTR    J3  BUZZER       2 2  CONNECTOR AND JUMPER SETTINGS  VIN  J1  connector is a connector for module power supply  Power supply input  will be connected with voltage regulator                                                  Connector   Pin Name Function  n 1 GND Ground reference for power supply input  2   6 5 12VDC   Connected to power supply  6 5     12 VDC           REG SLCT  J2  jumper is used to select the output voltage from the voltage  regulator on the SPC LOW COST SERIAL LCD OLED           REG SLCT  J2  Jumper Output Voltage Value     jumper attached     s voc     jumper released     3 3 VDC                         LED PWR  D4  is the power supply input LED indicator   Variable Resistor R16 can be turned to adjust the LCD contrast     UART RS232  J4  RJ11 connector is a connector for UART RS 232 Interface     J4 Front view      Pin   Name   Function    5432       RX GND  TX    UART TTL  J8  connector is a connector for UART TTL Interface       Pin   Name   Function      1   GND   Ground reference          TX TTL  RX TTL    RX JMP  J    and TX JMP  J7  jumpers are used to select UART interface  voltage level used by SPC LOW COST SERIAL LCD OLED                 RX JMP and TX JMP jumpers UART Level Voltage  32 1  J7  O  UART TTL  J6  O   3 2 1  J7  E  UART RS 232  Hm                      LCD PORT  J5  connector a connector to connect SPC module with LCD  OLED                                  
5. S H3  A 2      PAO XTALI   OCIBPCINTS  PB4 Lee  ge       PD2  CKOUT XCK INTO   OCIAPCINT3 PB3   45 03  d 2    PD3  NTI   OCOA PCINT2  PB2 H2  E    PD4  T0   AINUPCINTI  PBL Ri   r 7     PDS OORT  AINO CINTO  PBO 220 BL  GND  ICP  PD6  ATTINY2313208I  C7  Q4 10K vcc  MMBT3906LT1 XIALI vec  VCC Yl  i 7 3728 MBZ emt Sg li  pd RS RX TIL      VR E RXD  EN XIAI2 d  DI RX232  Non 2 Di D3  Ne KS ZA Ne De  D7  J D6   SE Term  5    UARTRS232 x Lc  I8 C8 D2 ISP RST TX232  NSGND   100pF   NC ZINA148        ISP RST  ART TTL    S    D3 _ 1N4002    d       BLM3IPGI2ISNIL             Vin   5 Vout   3     lt   R15                                      12       Ll VCC IC          vcc  B  BUZZER 5V  hs  V  Q2  2K2 WM MMBI3904LT1  10K  R17  BLK  471R  R10 CL  Y Q3  2K2 UN MMBT3904LT1  10K    
6. eral Controller  SPC  LOW COST SERIAL LCD is a CHARACTER  LCD OLED controller module that supports UART interface level TTL and RS   232 line so that it can save and ease the cable works  Application examples  from SPC LOW COST SERIAL LCD OLED are character monitor  display   counter display  time display  etc     SPECIFICATION  SPC LOW COST SERIAL LCD OLED specification are as follows   e Requires power supply  6 5     12 Volts   e Equipped with 3 3 Volts or 5 Volts voltage regulator   e Equipped with UART TTL or RS 232 level   e Equipped with buzzer that can be controlled via UART  e Turning backlight on off via UART   e Compatible with up to 40x2 LCD Module that uses a HD44780 compatible  driver   e Compatible with OLED module display   e  LCD OLED variants supported by SPC LOW COST SERIAL LCD OLED     LCD 8 x 2  without backlight    LCD 16 x 2  with backlight    LCD 20 x 2  with backlight    LCD 20 x 2 Large  with backlight    LCD 20 x 4  with backlight    LCD 24 x 2  with backlight    LCD 40 x 2  with backlight    SPC LOW COST SERIAL LCD OLED VARIANT DDRAM ADDRESS       1 3     SUGGESTED SYSTEM   Suggested system for SPC LOW COST SERIAL LCD  OLED   Hardware    e PC    AT  Pentium   IBM  Compatible    e DVD ROM Drive and Hard disk     Software   e The files found in the CD DVD program   Datasheet  contoh vart c  and SPC LOW COST SERIAL LCD OLED Manual     2  HARDWARE  2 1  COMPONENT LAYOUT    D5 BAT85    VWLl xd Wi xl ONS    D3 1N4002     BIE  TEO    oO  5    l  0d 097   
7. fter the command is performed  then the  DDRAM CGRAM cursor position will be incremented  automatically     7                            Example to make a new character  a degree symbol       and will be accessed  via DDRAM address 0x00  then the first thing to do is to perform LOCATE  CGRAM command to the 0x00 address  The next step is to save the degree  symbol icon      on the specified CGRAM memory     For example the degree symbol      is made by the following data     00000000   0x00  00001111   0x0F  00001001   0x09  00001001   0x09  00001111   0x0F  00000000   0x00  00000000   0x00  00000000   0x00  User   0x09 0x03 0x00 0x00    Locate CGRAM command    OxOA 0x02 0x00  OxOA 0x02 OxOF  OxOA 0x02 0x09  OxOA 0x02 0x09  OxOA 0x02 OxOF  OxOA 0x02 0x00  OxOA 0x02 0x00  OxOA 0x02 0x00    3 2 4  READ ADDRESS DATA  Function Reads the data address on the DDRAM CGRAM  reads the  LCD OLED type  OxOB   lt  type  gt   parameter type can be filled with     1   Read data from DDRAM   to read the data pointed by the DDRAM cursor     2   Read data from CGRAM   to read the data pointed by the CGRAM cursor     3   Read DDRAM address   to read the DDRAM cursor address     4   Read CGRAM address   to read the CGRAM cursor address     5   Read LCD type    to read the LCD OLED type saved in the EEPROM    lt  result  gt   contains the requested data or address  Description              Command  Parameter    Response                         Example to find the DDRAM address of the current curso
8. into EEPROM so it  will not be erased when the SPC module is turned off   e Buzzer selection will not be saved into EEPROM  so the  buzzer will be turned off when the SPC module is turned   reset  or after LCD Setting command                 Example to set SPC module to use LCD OLED 16 x 2   User   Ox3F 0x01    4  TESTING PROCEDURE  1  Connect LCD OLED to SPC LOW COST SERIAL LCD OLED module via LCD   J5  connector   2  Adjust REG SLCT  J2  jumper so that it matched the LCD OLED voltage  3 3    5V    3  Connect the 9 Volt power supply to SPC LOW COST SERIAL LCD OLED  module   Power indicator LED will light up   Buzzer will sound for about 200ms   If the LCD is equipped with backlight  then the backlight will light up     eee    10          7  LCD OLED cursor will appear and blink on the Oth line and column  upper  left corner  which marks that the LCD OLED initialization has succeeded    8  When needed  adjust the VR LCD contrast adjuster so that the cursor  display is clearly visible    9  Connect SPC LOW COST SERIAL LCD OLED to PC serial port via RJ11  connector  J4     10  Set RX JMP and TX JMP  J6 and J7  jumpers so that it uses UART RS 232  level    11 Run the serial communication software on the PC  for example  Hyper  Terminal    and adjust baudrate and other communication parameters so  that it is compatible with SPC LOW COST SERIAL LCD OLED module    12 Type the characters that will be displayed on the LCD OLED via the  software     5  APPLICATION AND PROGRAM EXAMPLES
9. llowed by LSB data     Available commands and parameters can be seen in section 3 2     3 2  COMMAND SET  The following is the complete list of commands on the UART Interface     3 2 1  SET LCD CONTROL          Function  Command  Parameter    Response  Description          Control the LCD OLED function   0x08    lt  control  gt    contains 1 byte data control to control the LCD OLED  display  with the following bits configuration     MSB LSB  BL D C L R Dir Dis Cur Bik                                     The function of each bit     BL   1   Backlight On  default   BL   O   Backlight Off    D C   1   Display Shift  D C   O   Cursor Shift  default     LR   00  No Display Shift  default   LR   01   Display Shift to Right   LR   10  Display Shift to Left   LR   11  No Display Shift   Dir   1   Cursor Increment  default   Dir   O   Cursor Decrement   Dis   1   Display On  default    Dis   0  Display Off   Cur   1   Cursor On  default    Cur   0  Cursor Off    Blk   1   Blink On  default   Blk   O  Blink Off    e When the SPC module is turned on  reset  or after the LCD  Setting command  the control will be on default position                 Example to turn on the backlight  display  cursor  blinking  and cursor increment  direction  to the right  and no display cursor shift  then the control has a value    of Ox8F     6    User   0x08 Ox8F    3 2 2  LOCATE          Function Adjusts the cursor position on the screen  DDRAM  or CGRAM  Command 0x09    Parameter  lt  type  gt   para
10. meter type can be filled with     1   Locate LCD   to adjust cursor position on the LCD OLED screen     2   Locate DDRAM   to adjust cursor position on the DDRAM     3   Locate CGRAM   to adjust cursor position on the CGRAM      lt  column  gt   parameter column can be filled with desired column  position  the leftmost position is the Oth column  for Locate  LCD or can be filled with desired DDRAM CGRAM  address for Locate DDRAM Locate CGRAM     lt  line  gt   parameter line can be filled with desired line position  the  uppermost position are the Oth line  for Locate LCD or  must be filled with O for Locate DDRAM Locate CGRAM       Response  Description   e To find the allowed DDRAM and CGRAM addresses  can    be seen in HD44780 datasheet or the LCD OLED  datasheet                    Example to adjust the cursor position so that it is on the 5th column and Oth line   then after the Locate LCD command is sent  it is followed by column data with a  value of  0x05  and line data with a value of  0x00      User   0x09 0x01 0x05 0x00    3 2 3  WRITE DATA   Function Writes data to DDRAM or CGRAM  Command OxOA   Parameter  lt  type  gt    parameter type can be filled with     1   Write Data to DDRAM   writes data into DDRAM according to the address  pointed by DDRAM cursor     2   Write Data to CGRAM   writes data into CGRAM according to the address  pointed by CGRAM cursor            lt  data  gt    parameter data can be filled with 1 byte written data  Response  Description   e A
11. mmand  Whilst for  Read data from slot  command is  not needed must not be sent    e A maximum of 8 text slots  each is able to store up to 16  characters  except for the 7th slot that has a 15  characters text length    e For the 7th text slot  the 16th character is always filled  with a space character                       e The  Read data from slot  will display the texts starting  on the current cursor position    e When the text length saved in the slot is less than 16  characters  then the text data parameter can be added  with  OxOE   decimal unit 14  as the end of text mark    e The text saved in the slot will be saved into EEPROM so it  will not be erased when the SPC module is turned off                       Example to save text  012345 67 8 9  on the Oth text slot     User   OxOE 0x01 0x00 0x30 0x20 0x31 0x20 0x32 0x20  0x33 0x34 0x35 0x36 0x20 0x37 0x38 0x39    Example to save text  ABCDE  on the 1st text slot           User   OxOE 0x01 0x01 0x41 0x42 0x43 0x44 0x45 OxOE  Example to display text from the 1st text slot to LCD OLED   User   OxOE 0x02 0x01  3 2 8  LCD BUZZER SETTING  Function Determines LCD OLED type and controls buzzer  Command   OxOF     lt  command  gt   parameter command can be filled with     Parameter    O0 LCD 8x2   1   LCD 16 x 2  default   2   LCD 20 x 2   3   LCD 20 x 2 Large  4    LCD 20x 4   5     LCD 24 x2   6   LCD 40x 2    7   turns on buzzer  8   turns off buzzer       Response  Description   e LCD OLED type selection will be saved 
12. r position     User   OxOB 0x01  SPC    lt  result  gt     3 2 5  CLEAR LCD  Function Clears the LCD OLED screen display             Parameter 1       Description   e When this command is sent  then the LCD OLED display  will be cleared and DDRAM cursor will return to 0x00  position           For example  clearing LCD OLED display   User   OxOC    3 2 6  CHANGE LINE          Function Changes cursor line  Command OxOD   Parameter     Response         Description   e When this command is sent  then the LCD OLED cursor will   move to the next line and column position will be in the  Oth column    e  f the cursor is already on the bottommost line then the  cursor will return to the Oth line    e Make sure that the LCD OLED type had been set to  match the LCD OLED used so that this command can  function correctly                       Example to change the LCD OLED cursor position to the next line   User   OxOD    3 2 7  TEXT SLOT                   Function Save  display a series of text   Command OxOE   Parameter  lt  type  gt   parameter type can be filled with    1   Write data to slot   to save text on the slot   2   Read data from slot   to display the saved text on the LCD OLED    lt  slotNum  gt   parameter slotNum can be filled with byte data with a  value of O up to 7 according to the number of the desired  text slot   lt  textData  gt   parameter textData contains the saved text data   Response     Description   e Parameter textData is needed for  write data to slot   co
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
EVGA 100-BP-3788-B9 hardware cooling accessory  Petit mode d`emploi  1 - ソニー製品情報  Samsung NS190 Lietotāja rokasgrāmata  Transcend 2GB DDR2 Memory 200Pin SO-DIMM DDR2-533 Unbuffer Non-ECC Memory    Samsung Galaxy S Lietotāja rokasgrāmata(GINGERBREAD Ver.)  Sony SSC-CB461R surveillance camera  ACTIVAL HIGIENIZANTE USO AMBIENTAL  ZOOM LED PAR CAN    Copyright © All rights reserved. 
   Failed to retrieve file