2. SPC SERIAL LCD EXTERNAL SPECIFICATION

Size: px
Start display at page:

Download "2. SPC SERIAL LCD EXTERNAL SPECIFICATION"

Transcription

1 Smart Peripheral Controller Quick Start Trademarks & Copyright XT, AT, IBM, PC, and PC-DOS are trademarks of International Business Machines Corp. MS-DOS is a registered trademark of Microsoft Corporation. Pentium is a registered trademark of Intel Corporation. MetaLink ASM51 is copyright by MetaLink Corporation 1. INTRODUCTION Smart Peripheral Controller / SPC SERIAL LCD is CHARACTER LCD module controller which support 3 kind of communication lines that is I 2 C-bus, Synchronous Serial, or Universal Asynchronous Receiver/Transmitter (UART). The data communication protocols work serially so they take less cost and easy in cabling. Applications of SPC SERIAL LCD for examples are character monitor, display, etc. Complete sources and manual is in the Disk. 2. SPC SERIAL LCD EXTERNAL SPECIFICATION SPC SERIAL LCD has following external specification: Fully Compatible with DT-51 Minimum System Ver 3.0. Only needing 2 cable line for interface with microprocessor / other mikrokontroler. Can be use with I 2 C-bus, Synchronous Serial, and UART. Synchronous Serial work with TTL level. UART work with TTL or RS-232 level. Equiped with jumper for address setting, so it can be expanded up to 8 boards without additional hardware (I 2 C and Synchronous Serial). Compatible up to 40 x 2 LCD Module with HD44780 compatible driver. There are ready for use procedures for SPC SERIAL LCD applications. SPC SERIAL LCD Variant: - 8 x 2 LCD, without backlight - 16 x 2 LCD, with backlight - 20 x 2 LCD, with backlight - 20 x 2 Large LCD, with backlight - 20 x 4 LCD, with backlight - 24 x 2 LCD, with backlight - 40 x 2 LCD, with backlight 3. SPC SERIAL LCD VARIANT DDRAM ADDRESS 8 x 2 00H. 07H 40H. 47H 16 x 2 0FH 4FH 20 x 2 13H 53H 24 x 2 17H 57H 40 x 2 27H 67H 1

2 20 x 4 00H 13H 40H 53H 14H 27H 54H 67H 4. SYSTEM REQUIREMENTS Hardware: PC XT / AT Pentium IBM Compatible with Serial Port (COM1 / COM2). DT-51 Minimum System Board. Floppy Disk or CD-ROM Drive. Minimum 500 KB free hard disk space. Software: MS-DOS, PC-DOS operating system. ASM51 Assembler. Files in Disk/CD: EXPL_I2C.ASM, EXPL_I2C.HEX, EXPL_SS.ASM, EXPL_SS.HEX, LCDCHAR.INC, ENG_I2C.INC, ENG_SS.INC, SPC SERIAL LCD MANUAL.PDF, SPC SERIAL LCD QUICK START.PDF, and LCD MANUAL. 5. SPC SERIAL LCD HARDWARE 5.1. SPC SERIAL LCD LAYOUT 5.2. DT-51 MINIMUM SYSTEM AND SPC SERIAL LCD CONNECTION SPC SERIAL LCD is a Smart system. Beside can be connected with DT-51 Minimum System or with microprocessor system / other microcontroller, SPC SERIAL LCD can be connected also with computer. If you wish to connect SPC SERIAL LCD with other system we suggest you to study SPC SERIAL LCD schematic (see appendix A on SPC SERIAL LCD Manual). To connect SPC SERIAL LCD with DT-51 Minimum System, we recommend you to use flat ribbon cable. Connection by I 2 C-bus shown on the following table: I 2 C Bus DT-51 Minimum System PORT C & PORT 1 SPC SERIAL LCD J6 SCL Pin 15 (Port 1.6) Pin 15 SDA Pin 16 (Port 1.7) Pin 16 J2 Jumper (SCL/SDA) use for SDA (I 2 C-bus data input / output) and SCL (I 2 C-bus clock input) pull up resistor. 2

3 Important! If more than one SPC SERIAL LCD board are connected to I 2 C-bus, then only one of the boards J2 jumper (SCL/SDA) need to be mount. Connection by Synchronous Serial bus shown on the following table: Synch Serial Bus DT-51 Minimum System PORT C & PORT 1 SPC SERIAL LCD J4 SerIn Pin 13 (Port 1.4) SerIn (Pin 3) SerClk Pin 14 (Port 1.5) SerClk (Pin 2) J12 Jumper use for SerIn (Synchronous Serial bus data input / output), SerClk (Synchronous Serial bus clock input), and SerClr (Synchronous Serial bus reset) pull up resistor. Important! If more than one SPC SERIAL LCD board are connected to Synchronous Serial bus, then only one of the boards J12 jumper (SerIn, SerClk, dan SerClr) need to be mount. 5V DC power supply connected with J5 connector (Power). Pay Attention on the polarity. Don't inversed, because it can cause damage. Important! Ground (GND) reference between SPC SERIAL LCD module and DT-51 Minimum System must be the same COMPUTER AND SPC SERIAL LCD CONNECTION SPC SERIAL LCD provided direct interface with computer serial port. The connection shown on the following table: Serial/COM Port Pin 5 (GND) Pin 3 (TX) Pin 2 (RX) SPC SERIAL LCD J14 Pin 1 (GND) Pin 4 (TX) Pin 3 (RX) 5.4. BUZZER AND SPC SERIAL LCD CONNECTION SPC SERIAL LCD provide connector to buzzer which will buzz if ASCII code 7Fh sent to SPC SERIAL LCD. Buzzer condition is toggle. First sent will buzz the buzzer and second sent will turn off the buzzer. Buzzer connection is as follow: Buzzer SPC SERIAL LCD J13 Pin + Pin 2 Pin - Pin UART / SYNCHRONOUS SERIAL JUMPER SETTING Synchronous Serial and UART cannot be use both in the same time. To select Synchronous Serial or UART change J9, J10, J11 jumpers setting 3

4 J10-J11 J9 Communication Line Connector Synchronous Serial J4 1 UART TTL J4 1 UART RS-232 Note: => jumper mount (ON) => jumper unmount (OFF) Jumper orientation according to figure on section 5.1 J14 J4 connector can be use as UART TTL or Synchronous Serial interface. SPC SERIAL LCD connector J4 UART TTL Synchronous Serial Pin 1 Not Used SerClr Pin 2 TX (out) SerClk Pin 3 RX (in) SerIn 5.6. PROGRAMMED ADDRESS JUMPER SETTING Programmed Address on each SPC SERIAL LCD board determined by J3 Jumper Setting. J3 (A2) J3 (A1) J3(A0) Programmed Address (default) 111 Note: : jumper mount (ON) 5.7. SPC SERIAL LCD EXPANSION SPC SERIAL LCD can be expanded up to 8 boards. A few things need to be considered if using more than one SPC SERIAL LCD board: Every board must have a different programmed address determined by J3 jumper (A0/A1/A2). If more than one SPC SERIAL LCD board are connected to I 2 C-bus, then only one of the boards J2 jumper (SCL/SDA) need to be mount. If more than one SPC SERIAL LCD board are connected to Synchronous Serial bus, then only one of the boards J12 jumper (SerIn, SerClk, dan SerClr) need to be mount TESTING SPC SERIAL LCD WITH EXPL_I2C.HEX Hardware Setting Connect DT-51 Minimum System with SPC SERIAL LCD (see section 2.2) through I 2 C- bus. Connect DT-51 MinSys serial port and computer COM1/COM2 using serial cable. 4

5 Set SPC SERIAL LCD address to 7th programmed address (default, see section 2.6). Download Expl_I2C.HEX located in the disk Expl_I2C Program Process After program downloaded, INNOVATIVE word will appear on LCD first row and ELECTRONICS on second row. After delay a moment, LCD screen will be cleared and characters in the ROM character generator table will be displayed in sequences starting from LCD first row and first column TESTING SPC SERIAL LCD WITH EXPL_SS.HEX Hardware Setting Connect DT-51 Minimum System with SPC SERIAL LCD (see section 2.2) through Synchronous Serial bus. Arranged jumper setting, so communication line used is Synchronous Serial. (seet section 2.5) Connect DT-51 MinSys serial port and computer COM1/COM2 using serial cable. Set SPC SERIAL LCD address to 7th programmed address (default, see section 2.6). Download Expl_SS.HEX located in the disk Expl_SS Program Process After program downloaded, INNOVATIVE word will appear on LCD first row and ELECTRONICS on second row. After delay a moment, LCD screen will be cleared and characters in the character generator ROM table will be displayed in sequences starting from LCD first row and first column. 6. SPC SERIAL LCD SOFTWARE Time needed by SPC SERIAL LCD from power up until ready to operate (Start-up Time) = 600 ms. Please Read LCD manual contained in the disk as reference for character generator ROM code table (for WriteSingle and WriteString routine) and LCD instruction table (for CommandLCD routine) I 2 C-BUS ADDRESSING Register used for addresing: AddressI2C Communication using I 2 C-bus always started by address. Address divided into three part: fixed address, programmed address, and Read/Write (R/W). SPC SERIAL LCD always use fixed address 1110, Read/Write (R/W) value 1 if I 2 C Master (DT-51 MinSys / other microcontroller) want to read data from I 2 C Slave (SPC SERIAL LCD) and value 0, if I 2 C Master want to write data to I 2 C Slave, programmed address use for giving address to SPC module according to user wish. Programmed address arranged by changing jumper setting (see section 5.6), so the same I 2 C line with same fixed address ( 1110 ) can be use by 8 module in the same time by differentiate programmed address Command 5

6 m3 m2 m1 m0 Mode Control Write Single Character Write Multiple Character Locate DDRAM Locate CGRAM Set Contrast Read Data DDRAM Read Data CGRAM Read Address DDRAM Read Address CGRAM Command LCD Not Used 1 1 X X Not Used Command contain mode, which use for choosing next command to device according with the selected mode. Command has 16 mode possibilities, but on SPC SERIAL LCD only the first 11 modes used Control Register used for Control Mode: OutControl Control use for arrange LCD display. After sending control command, send control data which contain bit for setting Back Light (BL), Display/Cursor Shift (D/C), Shift Left (L), Shift Right (R), cursor movement Direction (Dir), Display On/Off (Dis), Cursor On/Off (Cur), and Cursor Blink (Blk). Control Data have the following rule: BL = 1 : Back Light On BL = 0 : Back Light Off D/C = 1 : Display Shift D/C = 0 : Cursor Shift L R = 00 : No Shift L R = 01 : Shift Right L R = 10 : Shift Left L R = 11 : No Shift Dir = 1 : Increment Dir = 0 : Decrement Dis = 1 : Display On Dis = 0 : Display Off Cur = 1 : Cursor On Cur = 0 : Cursor Off Blk = 1 : Blink On Blk = 0 : Blink Off Write Single Character Register used for Write Single Character Mode: OutCharacter Write Single Character use for writing a single character to LCD Write Multiple Character 6

7 Register used for Write Multiple Char Mode: Data Pointer (DPTR) Write Multiple Character use for writing a string or chain of character to LCD. Mode Write Multiple Character ended by sending Null ( 00h ) data to slave Locate DDRAM Register used for Locate DDRAM Mode: OutKolom dan OutBaris Locate DDRAM use for arranging cursor position on DDRAM or LCD display screen Locate CGRAM Register used for Locate CGRAM Mode: OutCursorCGRAM Locate CGRAM use for arranging cursor position on CGRAM Set Contrast Register used for Set Contrast Mode: OutContrast Set Contrast use for adjusting LCD contrast. After sending Set Contrast command followed with contrast data. Contrast data range is between 0 20 desimal (00H 14H). The greater the value, character will be fader Read Data DDRAM Register used for Read Data DDRAM Mode: InDataDDRAM Read Data DDRAM use for reading DDRAM data pointed by cursor. After this command, cursor position will be on DDRAM Read Data CGRAM Register used for Read Data CGRAM Mode: InDataCGRAM 7

8 Read Data CGRAM use for reading CGRAM data pointed by cursor. After this command, cursor position will be on CGRAM Read Address DDRAM Register used for Read Address DDRAM Mode: InAddrDDRAM Read Address DDRAM use for read current DDRAM cursor position. This Command will not affect cursor position Read Address CGRAM Register used for Read Address CGRAM Mode: InAddrCGRAM Read Address CGRAM use for read current CGRAM cursor position. This command will not affect cursor position Command LCD Register used for Command LCD Mode: OutCommand Command LCD use for send an instruction to LCD module according with LCD manual SYNCHRONOUS SERIAL-BUS ADDRESING Communication using Synchronous Serial-bus always started by address. Address divided into two parts: programmed address, and working mode or command. Programmed address use for giving address to SPC module according to user wish. Programmed address arranged by changing jumper setting (see section 5.6), so the same Synchronous Serial line can be use by 8 module in the same time by differentiate programmed address Command m4 m3 m2 m1 m0 Mode Control Write Single Character Write Multiple Character Locate DDRAM Locate CGRAM Set Contrast 8

9 Read Data DDRAM Read Data CGRAM Read Address DDRAM Read Address CGRAM Command LCD Not Used X X Not Used 1 X X X X Not Used Address contain mode, which use for choosing next command to device according with the selected mode Control Register used for Control Mode: OutControl Control use for arrange LCD display. After sending control command, send control data which contain bit for setting Back Light (BL), Display/Cursor Shift (D/C), Shift Left (L), Shift Right (R), cursor movement Direction (Dir), Display On/Off (Dis), Cursor On/Off (Cur), and Cursor Blink (Blk). Control Data have the following rule: BL = 1 : Back Light On BL = 0 : Back Light Off D/C = 1 : Display Shift D/C = 0 : Cursor Shift L R = 00 : No Shift L R = 01 : Shift Right L R = 10 : Shift Left L R = 11 : No Shift Dir = 1 : Increment Dir = 0 : Decrement Dis = 1 : Display On Dis = 0 : Display Off Cur = 1 : Cursor On Cur = 0 : Cursor Off Blk = 1 : Blink On Blk = 0 : Blink Off Write Single Character Register used for Write Single Character Mode: OutCharacter Write Single Character use for writing a single character to LCD Write Multiple Character Register used for Write Multiple Char Mode: Data Pointer (DPTR) Write Multiple Character use for writing a string or chain of character to LCD. Mode Write Multiple Character ended by sending Null ( 00h ) data to slave. 9

10 Locate DDRAM Register used for Locate DDRAM Mode: OutKolom dan OutBaris Locate DDRAM use for arranging cursor position on DDRAM or LCD display screen Locate CGRAM Register used for Locate CGRAM Mode: OutCursorCGRAM Locate CGRAM use for arranging cursor position on CGRAM Set Contrast Register used for Set Contrast Mode: OutContrast Set Contrast use for adjusting LCD contrast. After sending Set Contrast command followed with contrast data. Contrast data range is between 0 20 desimal (00H 14H). The greater the value, character will be fader Read Data DDRAM Register used for Read Data DDRAM Mode: InDataDDRAM Read Data DDRAM use for reading DDRAM data pointed by cursor. After this command, cursor position will be on DDRAM Read Data CGRAM Register used for Read Data CGRAM Mode: InDataCGRAM Read Data CGRAM use for reading CGRAM data pointed by cursor. After this command, cursor position will be on CGRAM. 10

11 Read Address DDRAM Register used for Read Address DDRAM Mode: InAddrDDRAM Read Address DDRAM use for read current DDRAM cursor position. This Command will not affect cursor position Read Address CGRAM Register used for Read Address CGRAM Mode: InAddrCGRAM Read Address CGRAM use for read current CGRAM cursor position. This command will not affect cursor position Command LCD Register used for Command LCD Mode: OutCommand Command LCD use for send an instruction to LCD module according with LCD manual UART SPECIFICATION UART communication line works with Baud Rate 9600 bps, 8 Data Bit, No Parity Bit, 1 Stop Bit, And No Flow Control. When UART communication line active, SPC SERIAL LCD function as data monitor going through UART line. Every data that come in will be displayed on LCD screen according with character generator ROM pattern table on LCD manual, except command opening character (see section 6.3.1) and command. SPC SERIAL LCD with UART communication line also support special command such as: clear screen (Ctrl-L) or 0Ch, line feed (Enter) or 0Dh Command All Command on UART communication always started by sending data byte with FEh value, which then follow with sending command mode. Time needed by SPC SERIAL LCD after WriteSingle & Read process until its ready to accept another command = 250 µs. Time needed by SPC SERIAL LCD after Command LCD mode until its ready to accept another command = 500 µs Command Mode m4 m3 m2 m1 m0 Mode Control Not Used Write Multiple Character 11

12 Locate DDRAM Locate CGRAM Set Contrast Read Data DDRAM Read Data CGRAM Read Address DDRAM Read Address CGRAM Command LCD Not Used X X Not Used 1 X X X X Not Used Command contain mode, which use for choosing next command to device according with the selected mode Control Control use for arrange LCD display. After sending control command, send control data which contain bit for setting Back Light (BL), Display/Cursor Shift (D/C), Shift Left (L), Shift Right (R), cursor movement Direction (Dir), Display On/Off (Dis), Cursor On/Off (Cur), and Cursor Blink (Blk). Control Data have the following rule: BL = 1 : Back Light On BL = 0 : Back Light Off D/C = 1 : Display Shift D/C = 0 : Cursor Shift L R = 00 : No Shift L R = 01 : Shift Right L R = 10 : Shift Left L R = 11 : No Shift Dir = 1 : Increment Dir = 0 : Decrement Dis = 1 : Display On Dis = 0 : Display Off Cur = 1 : Cursor On Cur = 0 : Cursor Off Blk = 1 : Blink On Blk = 0 : Blink Off Write Multiple Character Write Multiple Character use for writing a string or chain of character to LCD. Mode Write Multiple Character ended by sending Null ( 00h ) data to slave Locate DDRAM Locate DDRAM use for arranging cursor position on DDRAM or LCD display screen. 12

13 Locate CGRAM Locate CGRAM use for arranging cursor position on CGRAM Set Contrast Set Contrast use for adjusting LCD contrast. After sending Set Contrast command followed with contrast data. Contrast data range is between 0 20 desimal (00H 14H). The greater the value, character will be fader Read Data DDRAM Read Data DDRAM use for reading DDRAM data pointed by cursor. After this command, cursor position will be on DDRAM Read Data CGRAM Read Data CGRAM use for reading CGRAM data pointed by cursor. After this command, cursor position will be on CGRAM Read Address DDRAM Read Address DDRAM use for read current DDRAM cursor position. This Command will not affect cursor position Read Address CGRAM Read Address CGRAM use for read current CGRAM cursor position. This command will not affect cursor position Command LCD Command LCD use for send an instruction to LCD module according with LCD manual. 13

14 6.4. DRIVER AND ROUTINE SPC SERIAL LCD equipped with ENG_I2C.INC, ENG_SS.INC, and LCDChar.INC module, which will help user in programming. SPC SERIAL LCD use 89C51 microcontroller resources as follow: Internal RAM with address 2Eh 3Fh P1.6 and P1.7 P1.4 and P1.5 So they may not be use by user for other purpose, except user able to modify memory arrangement correctly. The following are routines that can be use: K10_Control Function : send control data to arrange LCD display SPC SERIAL LCD through I 2 C- bus. : AddressI2C, OutControl (contain control data) Method : Fill control data value to OutControl register as needed, and then call K10_Control sub-routine to send data through I 2 C. K10_WriteSingle Function : write a single character on current cursor position on SPC SERIAL LCD through I 2 C-bus. : AddressI2C, OutCharacter (contain character data) Method : Move cursor location to desired position with LocateDDRAM or LocateCGRAM command. Fill character data value to OutCharacter register as needed according with character generator ROM pattern table on LCD manual, and then call K10_WriteSingle sub-routine to send data through I 2 C. K10_WriteString Function : write a string or chain of character to SPC SERIAL LCD through I 2 C-bus. : AddressI2C, DPTR (contain pointer to first string data) Data String must be ended with Null ( 00h ) data. Method : Move cursor location to desired position with LocateDDRAM or LocateCGRAM command. Fill pointer to first string data to Data Pointer register as needed, and then call K10_WriteString sub-routine to send data through I 2 C. K10_LocateDDRAM Function : arrange cursor position on DDRAM or LCD display screen on SPC SERIAL LCD through I 2 C-bus. : AddressI2C, OutKolom (contain column data) & OutBaris (contai row data) Valid OutBaris value = 01H or 02H. Valid OutKolom value = 00H to 27H. Method : Fill column data to OutKolom and row data to OutBaris register as needed, and then call K10_LocateDDRAM sub-routine to send data through I 2 C. 14

15 K10_LocateCGRAM Function : arrange cursor position on CGRAM on SPC SERIAL LCD through I 2 C- bus. : AddressI2C, OutCursorCGRAM (contain CGRAM cursor position) Method : Fill position value to OutCursorCGRAM register as needed, and then call K10_LocateCGRAM sub-routine to send data through I 2 C. K10_SetContrast Function : send contrast data to adjust LCD contrast on SPC SERIAL LCD through I 2 C-bus. : AddressI2C, OutContrast (contai contrast data) Valid OutContrast value = 00H 14H. Method : Fill contrast data to OutContrast register as needed, and then call K10_SetContrast sub-routine to send data through I 2 C. K10_ReadDDRAMData Function : read DDRAM data pointed by cursor on SPC SERIAL LCD through I 2 C- bus. : AddressI2C Output : InDataDDRAM (contain DDRAM data) Method : Call K10_ReadDDRAMData sub-routine, DDRAM data on current cursor position will be save in InDataDDRAM register. After this command, cursor position will be on DDRAM. K10_ReadCGRAMData Function : read CGRAM data pointed by cursor on SPC SERIAL LCD through I 2 C- bus. : AddressI2C Output : InDataCGRAM (contain CGRAM data) Method : Call K10_ReadCGRAMData, sub-routine, CGRAM data on current cursor position will be save in InDataCGRAM register. After this command, cursor position will be on CGRAM. K10_ReadDDRAMAddr Function : read current DDRAM cursor position on SPC SERIAL LCD through I 2 C- bus. : AddressI2C Output : InAddrDDRAM (contain current DDRAM cursor position) Method : Call K10_ReadDDRAMAddr sub-routine, DDRAM cursor position will be save in InAddrDDRAM register. This command will not affect cursor position. K10_ReadCGRAMAddr Function : read current CGRAM cursor position on SPC SERIAL LCD through I 2 C- bus. : AddressI2C Output : InAddrCGRAM (contain current CGRAM cursor position) 15

16 Method : Call K10_ReadCGRAMAddr sub-routine, CGRAM cursor position will be save in InAddrCGRAM register. This command will not affect cursor position. K10_CommandLCD Function : mengirimkan instruksi ke modul LCD sesuai dengan tabel instruksi manual LCD pada SPC SERIAL LCD through I 2 C-bus. : AddressI2C, OutCommand (contain LCD command data) Method : Berikan nilai data command seusai dengan tabel instruksi manual LCD sesuai dengan kebutuhan pada Register OutCommand register as needed, and then call K10_CommandLCD sub-routine to send data through I 2 C. K10_Control_SS Function : send control data to arrange LCD display SPC SERIAL LCD through SYNCHRONOUS SERIAL-bus. : AddrSS, OutControl (contain control data) Method : Fill control data value to OutControl register as needed, and then call K10_Control_SS sub-routine to send data through SYNCHRONOUS SERIAL. K10_WriteSingle_SS Function : write a single character on current cursor position on SPC SERIAL LCD through SYNCHRONOUS SERIAL-bus. : AddrSS, OutCharacter (contain character data) Method : Move cursor location to desired position with LocateDDRAM or LocateCGRAM command. Fill character data value to OutCharacter register as needed according with character generator ROM pattern table on LCD manual, and then call K10_WriteSingle_SS sub-routine to send data through SYNCHRONOUS SERIAL. K10_WriteString_SS Function : write a string or chain of character to SPC SERIAL LCD through SYNCHRONOUS SERIAL-bus. : AddrSS, DPTR (contain pointer to first string data) Data String must be ended with Null ( 00h ) data. Method : Move cursor location to desired position with LocateDDRAM or LocateCGRAM command. Fill pointer to first string data to Data Pointer register as needed, and then call K10_WriteString_SS sub-routine to send data through SYNCHRONOUS SERIAL. K10_LocateDDRAM_SS Function : arrange cursor position on DDRAM or LCD display screen on SPC SERIAL LCD through SYNCHRONOUS SERIAL-bus. : AddrSS, OutKolom (contain column data) & OutBaris (contai row data) Valid OutBaris value = 01H or 02H. Valid OutKolom value = 00H to 27H. 16

17 Method : Fill column data to OutKolom and row data to OutBaris register as needed, and then call K10_LocateDDRAM_SS sub-routine to send data through SYNCHRONOUS SERIAL. K10_LocateCGRAM_SS Function : arrange cursor position on CGRAM on SPC SERIAL LCD through SYNCHRONOUS SERIAL-bus. : AddrSS, OutCursorCGRAM (contain CGRAM cursor position) Method : Fill position value to OutCursorCGRAM register as needed, and then call K10_LocateCGRAM_SS sub-routine to send data through SYNCHRONOUS SERIAL. K10_SetContrast_SS Function : send contrast data to adjust LCD contrast on SPC SERIAL LCD through SYNCHRONOUS SERIAL-bus. : AddrSS, OutContrast (contai contrast data) Valid OutContrast value = 00H 14H. Method : Fill contrast data to OutContrast register as needed, and then call K10_SetContrast_SS sub-routine to send data through SYNCHRONOUS SERIAL. K10_ReadDDRAMData_SS Function : read DDRAM data pointed by cursor on SPC SERIAL LCD through SYNCHRONOUS SERIAL-bus. : AddrSS Output : InDataDDRAM (contain DDRAM data) Method : Call K10_ReadDDRAMData_SS sub-routine, DDRAM data on current cursor position will be save in InDataDDRAM register. After this command, cursor position will be on DDRAM. K10_ReadCGRAMData_SS Function : read CGRAM data pointed by cursor on SPC SERIAL LCD through SYNCHRONOUS SERIAL-bus. : AddrSS Output : InDataCGRAM (contain CGRAM data) Method : Call K10_ReadCGRAMData_SS sub-routine, CGRAM data on current cursor position will be save in InDataCGRAM register. After this command, cursor position will be on CGRAM. K10_ReadDDRAMAddr_SS Function : read current DDRAM cursor position on SPC SERIAL LCD through SYNCHRONOUS SERIAL-bus. : AddrSS Output : InAddrDDRAM (contain current DDRAM cursor position) Method : Call K10_ReadDDRAMAddr_SS sub-routine, DDRAM cursor position will be save in InAddrDDRAM register. This command will not affect cursor position. K10_ReadCGRAMAddr_SS Function : read current CGRAM cursor position on SPC SERIAL LCD through SYNCHRONOUS SERIAL-bus. : AddrSS Output : InAddrCGRAM (contain current CGRAM cursor position) 17

18 Method : Call K10_ReadCGRAMAddr_SS sub-routine, CGRAM cursor position will be save in InAddrCGRAM register. This command will not affect cursor position. K10_CommandLCD_SS Function : mengirimkan instruksi ke modul LCD sesuai dengan tabel instruksi manual LCD pada SPC SERIAL LCD through SYNCHRONOUS SERIAL-bus. : AddrSS, OutCommand (contain LCD command data) Method : Berikan nilai data command seusai dengan tabel instruksi manual LCD sesuai dengan kebutuhan pada Register OutCommand register as needed, and then call K10_CommandLCD_SS sub-routine to send data through SYNCHRONOUS SERIAL APPLICATION EXAMPLE AND PROGRAM If you want to display a string HELLO which has label String1 start at second row and fith column on LCD with I 2 C-bus or Synchronous Serial-bus, then registers that have to be fill and the program listing is as follow: Program Listing with I 2 C-bus: MOV AddresssI2C,# B ;for programmed address 111 MOV A,#2 ;fill row value MOV B,#4 ;fill column value ACALL K10_LocateDDRAM ;call LocateDDRAM routine MOV DPTR,#String1 ;fill label String1 pointer ;to Data Pointer ACALL K10_WriteString ;call WriteString routine... String1 db HELLO,0 Program Listing with Synchronous Serial-bus: MOV AddrSS,# B ;for programmed address 111 MOV A,#2 ;fill row value MOV B,#4 ;fill column value ACALL K10_LocateDDRAM_SS ;call LocateDDRAM_SS routine MOV DPTR,#String1 ;fill label String1 pointer ;to Data Pointer ACALL K10_WriteString_SS ;call WriteString_SS routine... String1 db HELLO, PROGRAM STRUCTURE For user who want to build SPC SERIAL LCD application program using available routine then the following 3 drivers must be included : ENG_I2C.INC, ENG_SS.INC and LCDChar.INC ENG_I2C.INC is a driver, which always be use for every Smart Peripheral Controller (SPC) application using I 2 C-bus. ENG_SS.INC is a driver, which always be use for every Smart Peripheral Controller (SPC) application using Synchronous Serial Bus. LCDChar.INC is a driver, which always be use for every Smart Peripheral Controller (SPC) application. 18

19 Programming structure of SPC SERIAL LCD using MetaLink ASM51 Assembler is as follow: ; ;TEMPLATE FILE FOR SPC SERIAL LCD ;WITH DT51-MINSYS ; $MOD51 CSEG ORG 4000H LJMP START ORG 4100H $INCLUDE(ENG_I2C.inc) ;DRIVER FOR EVERY SPC PRODUCT ;WITH I2C BUS $INCLUDE(ENG_SS.inc) ;DRIVER FOR EVERY SPC PRODUCT ;WITH Sync. Serial BUS $INCLUDE(LCDChar.inc) ; DRIVER FOR EVERY SPC ;Character LCD PRODUCT START: MOV SP, #40H. ;USER MAIN PROGRAM.. END Important! Some type of character LCD is not fully compatible with SPC SERIAL LCD. A few commands will generate miss match data. For example: A character reading with ReadDDRAMData command on 16 x 2 LCD (packaged with SPC SERIAL LCD) will generate data 41H. But on 24 x 2 LCD (packaged with SPC SERIAL LCD), data generated is 14H. Thank you for your trust to use our product. If there are any difficulty, suggestion or question concerning this product please contact our technical support: support@innovativeelectronics.com 19

Trademarks & Copyright

Trademarks & Copyright Smart Peripheral Controller SERIAL LCD Trademarks & Copyright XT, AT, IBM, PC, and PC-DOS are trademarks of International Business Machines Corp MS-DOS is a registered trademark of Microsoft Corporation

More information

SLCD1-IC Serial LCD Processor

SLCD1-IC Serial LCD Processor SLCD1-IC Serial LCD Processor Diagram 1: LCD Pin 13 LCD Pin 14 1 2 18 17 LCD Pin 12 LCD Pin 11 N/C 3 16 8 MHz Osc DC 4 15 8 MHz Osc Ground 5 14 DC Serial Input True/Inverted 6 7 13 12 LCD Pin 6 LCD Pin

More information

LCD03 - I2C/Serial LCD Technical Documentation

LCD03 - I2C/Serial LCD Technical Documentation LCD03 - I2C/Serial LCD Technical Documentation Pagina 1 di 5 Overview The I2C and serial display driver provides easy operation of a standard 20*4 LCD Text display. It requires only a 5v power supply and

More information

LCD05 datasheet 1.0

LCD05 datasheet 1.0 LCD05 green displays LCD05 blue displays The I2C and serial display driver provides easy operation of a standard 20 x 4 or 16 x 2 LCD Text display. It requires only a 5v power supply and the two data connections

More information

CLCD1 Serial 1 wire RS232 LCD development board

CLCD1 Serial 1 wire RS232 LCD development board CLCD1 Serial 1 wire RS232 LCD development board Can be used with most 14 pin HD44780 based character LCD displays Use with 1,2,3 or 4 line displays. (Four line LCD shown above) Shown assembled with optional

More information

LCD03 - I2C/Serial LCD Technical Documentation

LCD03 - I2C/Serial LCD Technical Documentation LCD03 - I2C/Serial LCD Technical Documentation 2YHUYLHZ The I2C and serial display driver provides easy operation of a standard 20*4 LCD Text display. It requires only a 5v power supply and the two data

More information

DT-SENSE. UltraSonic and InfraRed Ranger (USIRR)

DT-SENSE. UltraSonic and InfraRed Ranger (USIRR) DT-SENSE UltraSonic and InfraRed Ranger (USIRR) Trademarks & Copyright AT, IBM, and PC are trademarks of International Business Machines Corp. Windows is a registered trademark of Microsoft Corporation.

More information

Programmer. User Guide

Programmer. User Guide Programmer User Guide Trademarks & Copyright Windows and Windows NT are registered trademarks of Microsoft Corporation. MCS-51 and Pentium are registered trademarks of Intel Corporation. AVR is registered

More information

Dual Interface LCD Display Controller

Dual Interface LCD Display Controller Dual Interface LCD Display & Keypad Controller Product specification Nov 2013 V0.a ByVac Page 1 of 11 Contents 1. Introduction... 3 2. Features... 3 3. BV4618, Comparison... 3 3.1.1. BV4618... 3 3.1.2....

More information

DT-ROBOT Line Follower

DT-ROBOT Line Follower DT-ROBOT Line Follower Trademarks & Copyright AT, IBM, and PC are trademarks of International Business Machines Corp. Pentium is a registered trademark of Intel Corporation. Windows is a registered trademark

More information

Basics of UART Communication

Basics of UART Communication Basics of UART Communication From: Circuit Basics UART stands for Universal Asynchronous Receiver/Transmitter. It s not a communication protocol like SPI and I2C, but a physical circuit in a microcontroller,

More information

LMB202DBC LCD Module User Manual

LMB202DBC LCD Module User Manual LMB202DBC LCD Module User Manual Shenzhen TOPWAY Technology Co., Ltd. Rev. Descriptions Release Date 0.1 Prelimiay release 2005-03-01 URL Document Name LMB202DBC-Manual-Rev0.1.doc Page 1 of 11 Table of

More information

Lab Experiment 9: LCD Display

Lab Experiment 9: LCD Display Lab Experiment 9: LCD Display 1 Introduction Liquid Crystal Displays (LCDs) provide an effective way for processors to communicate with the outside world. The LPC2148 board used in the lab is equipped

More information

LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS

LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide Copyright 2008 IMS CONTENTS 1 INTRODUCTION... 3 2 MODULE CONNECTION... 3 2.1 I2C/Serial interface connector...4 2.2

More information

Sitronix. ST7038i FEATURES GENERAL DESCRIPTION. Dot Matrix LCD Controller/Driver

Sitronix. ST7038i FEATURES GENERAL DESCRIPTION. Dot Matrix LCD Controller/Driver ST Sitronix FEATURES 5 x 8 dot matrix possible Support low voltage single power operation: VDD, VDD2: 1.8 to 3.3V (typical) LCD Voltage Operation Range (V0/Vout) Programmable V0: 3 to 7V(V0) External power

More information

melabs Serial LCD Firmware Version 1.1 3/5/07

melabs Serial LCD Firmware Version 1.1 3/5/07 melabs Serial LCD Firmware Version 1.1 3/5/07 The melabs Serial LCD (SLCD) can display serial data from either asynchronous RS232-style or synchronous I 2 C input. A range of baud rates from 2400 to 57,600

More information

LCD board. EB005

LCD board.   EB005 LCD board www.matrixtsl.com EB005 Contents About this document 3 Board layout 3 General information 4 Circuit description 6 Protective cover 6 Circuit diagram 7 2 Copyright About this document This document

More information

AN1745. Interfacing the HC705C8A to an LCD Module By Mark Glenewinkel Consumer Systems Group Austin, Texas. Introduction

AN1745. Interfacing the HC705C8A to an LCD Module By Mark Glenewinkel Consumer Systems Group Austin, Texas. Introduction Order this document by /D Interfacing the HC705C8A to an LCD Module By Mark Glenewinkel Consumer Systems Group Austin, Texas Introduction More and more applications are requiring liquid crystal displays

More information

SSD1803. Product Preview. 100 x 34 STN LCD Segment / Common Mono Driver with Controller

SSD1803. Product Preview. 100 x 34 STN LCD Segment / Common Mono Driver with Controller SOLOMON SYSTECH SEMICONDUCTOR TECHNICAL DATA Crystalfontz Thiscontrolerdatasheetwasdownloadedfrom htp:/www.crystalfontz.com/controlers/ SSD1803 Product Preview 100 x 34 STN LCD Segment / Common Mono Driver

More information

melabs Serial LCD Firmware Version 1.0 2/7/07

melabs Serial LCD Firmware Version 1.0 2/7/07 melabs Serial LCD Firmware Version 1.0 2/7/07 The melabs Serial LCD (SLCD) can display serial data from either asynchronous RS232-style or synchronous I 2 C input. A range of baud rates from 2400 to 57,600

More information

Lab Overview. Lab Details. ECEN 4613/5613 Embedded System Design Week #7 Spring 2005 Lab #4 2/23/2005

Lab Overview. Lab Details. ECEN 4613/5613 Embedded System Design Week #7 Spring 2005 Lab #4 2/23/2005 ECEN 4613/5613 Embedded System Design Week #7 Spring 2005 Lab #4 2/23/2005 Lab Overview In this lab assignment, you will do the following: Add a serial EEPROM and an LCD to the hardware developed in Labs

More information

16COM / 80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD

16COM / 80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD INTRODUCTION KS0070B is a dot matrix LCD driver & controller LSI which is fabricated by low power CMOS technology. It is capable of displaying 1 or 2 lines with the 5 7 format or 1 line with the 5 10 dots

More information

EDE700 Serial LCD Interface IC

EDE700 Serial LCD Interface IC EDE700 Serial LCD Interface IC EDE700 0=2400,1=9600 1 BAUD XMIT 18 Serial Transmit 0=Inverted,1=Standard 2 POLARITY RCV 17 Serial Receive 0=Diagnostic Mode 3 TEST OSC1 16 Oscillator Connection Connect

More information

Serial Interfacing. Asynchronous Frame

Serial Interfacing. Asynchronous Frame Serial Interfacing Serial Data Transfer used by keyboards, plotters, modems and other peripherals with low data transfer rates (low bandwidth) 2 Types: Asynchronous CPU and device are not using a common

More information

1602 SMART LCD DISPLAY MODULE HCMODU0122

1602 SMART LCD DISPLAY MODULE HCMODU0122 62 SMART LCD DISPLAY MODULE HCMODU22 Revision.. DISCLAIMER This document is provided "as is". Hobby Components Ltd makes no warranties, whether express, implied or statutory, including, but not limited

More information

TL0313. LCD driver IC. Apr VER 0.0. lsi. ( 5.5V Specification ) 65COM / 132SEG DRIVER & CONTROLLER FOR STN LCD. TOMATO LSI Inc.

TL0313. LCD driver IC. Apr VER 0.0. lsi. ( 5.5V Specification ) 65COM / 132SEG DRIVER & CONTROLLER FOR STN LCD. TOMATO LSI Inc. LCD driver IC Apr. 2001 VER 0.0 lsi 65COM / 132SEG DRIVER & CONTROLLER ( 5.5V Specification ) FOR STN LCD TOMATO LSI Inc. 1. INTRODUCTION The is a driver and controller LSI for graphic dot-matrix liquid

More information

LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F4580

LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F4580 LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F458 1. OBJECTIVES: 1.1 To learn how to interface LCD 16x2, Keypad 4x4 and 7Segment Display to the microcontroller. 1.2 To

More information

34COM/60SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD

34COM/60SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD 34COM/6SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD INTRODUCTION is a dot matrix LCD driver & controller LSI which is fabricated by low power CMOS technology It can display, 2 or 4 lines with 5 8 or 6 8

More information

16COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD

16COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD 6COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD INTRODUCTION The is a dot matrix LCD driver & controller LSI which is fabricated by low power CMOS technology It is capable of displaying or 2 lines with

More information

16COM / 40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD

16COM / 40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD INTRODUCTION KS0066U is a dot matrix LCD driver & controller LSI whichis fabricated by low power CMOS technology It can display 1or 2 lines with the 5 8 dots format or 1 line with the 5 11 dots format

More information

Parallel Display Specifications Revision 1.0

Parallel Display Specifications Revision 1.0 MOP-AL162A Parallel Display Specifications Revision 1.0 Revision History Revision Description Author 1.0 Initial Release Clark 0.2 Updates as per issue #333 Clark 0.1 Initial Draft Clark 1 Contents Revision

More information

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture Department of Electrical Engineering Lecture 4 The 8051 Architecture 1 In this Lecture Overview General physical & operational features Block diagram Pin assignments Logic symbol Hardware description Pin

More information

LCDs. Embedded Systems Interfacing. 20 September 2011

LCDs. Embedded Systems Interfacing. 20 September 2011 20 September 2011 How Polarizers Work How work How Color Work Other Technologies Reflective Nematic (no back light) Cholesteric Liquid Crystal Organic LED/Polymer LED Vacuum Florescent Display Display

More information

8051 Microcontrollers

8051 Microcontrollers 8051 Microcontrollers Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu March 8, 2016 Controller vs Processor Controller vs Processor Introduction to 8051 Micro-controller In 1981,Intel corporation

More information

中显液晶 技术资料 中显控制器使用说明书 2009年3月15日 北京市海淀区中关村大街32号和盛大厦811室 电话 86 010 52926620 传真 86 010 52926621 企业网站.zxlcd.com

中显液晶 技术资料 中显控制器使用说明书 2009年3月15日 北京市海淀区中关村大街32号和盛大厦811室 电话 86 010 52926620 传真 86 010 52926621   企业网站.zxlcd.com http://wwwzxlcdcom 4 SEG / 6 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD June 2 Ver Contents in this document are subject to change without notice No part of this document may be reproduced or transmitted

More information

GM 500A Mifare Read/Write Module V1.0 GM 500A Mifare 13.56MHz Read/Write Protocols Interface (I2C/UART) User s Manual

GM 500A Mifare Read/Write Module V1.0 GM 500A Mifare 13.56MHz Read/Write Protocols Interface (I2C/UART) User s Manual GM 500A Mifare 13.56MHz Read/Write Protocols Interface (I2C/UART) User s Manual CHAPTER 1. INTRODUCTION TO THE DMLPC2148A.Net DEVELOPMENT BOARD INTRODUCTION GM 500A Contactless card Read/Write module was

More information

EXL x240 Graphic LCD Smart Module 3,8 SHORT FORM TECHNICAL SPECIFICATIONS. Via di Corticella, Bologna, Italy

EXL x240 Graphic LCD Smart Module 3,8 SHORT FORM TECHNICAL SPECIFICATIONS.   Via di Corticella, Bologna, Italy 320x240 Graphic LCD Smart Module 3,8 SHORT FORM TECHNICAL SPECIFICATIONS www.exelmicroel.it Via di Corticella, 201 40128 - Bologna, Italy Tel: +39 051 6380211 Fax: +39 051 6380226 exelbo@exelmicroel.it

More information

Lab 3 LCD Mar

Lab 3 LCD Mar Lab 3 LCD Mar. 2016 1 Objective 1. To be familiar with advanced output devices that can be connected to microcontroller. 2. To be able to work with many input/output devices together. Alphanumeric LCD

More information

LCM NHD-0440CI-YTBL. User s Guide. (Liquid Crystal Display Module) RoHS Compliant. For product support, contact NHD CI- Y- T- B- L-

LCM NHD-0440CI-YTBL. User s Guide. (Liquid Crystal Display Module) RoHS Compliant. For product support, contact NHD CI- Y- T- B- L- User s Guide NHD-0440CI-YTBL LCM (Liquid Crystal Display Module) RoHS Compliant NHD- 0440- CI- Y- T- B- L- Newhaven Display 4 Lines x 40 Characters C: Display Series/Model I: Factory line STN Yellow/Green

More information

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter C8051F38X DEVELOPMENT KIT USER S GUIDE 1. Kit Contents The C8051F38x Development Kit contains the following items: C8051F380 Target Board C8051Fxxx Development Kit Quick-start Guide Silicon Laboratories

More information

Contents. Appendix. DT-51 serial cable connection

Contents. Appendix. DT-51 serial cable connection ppendix ontents DT-51 serial cable connection Serial ort onnector DT-51 Serial onnector DB9 Female DB5 Female DB9 Male 3 5 4 3 7 0 Trademarks & opyright 3 5 4 1. Introduction... 1 1.1 DT51 specifications...

More information

MRUC-20 Modul-R CAN Bus Network

MRUC-20 Modul-R CAN Bus Network MRUC-20 Modul-R CAN Bus Network BALOGH This manual is based on information available at the time if its publication. Every effort has been made to provide accurate and up-to-date information. This document

More information

IS-Dev Kit-1 Users Manual

IS-Dev Kit-1 Users Manual IS-Dev Kit-1 Users Manual Revision A IS-Dev Kit-1 Version 1.1 NKK SWITCHES 7850 E. Gelding Drive Scottsdale, AZ 85260 Toll Free 1-877-2BUYNKK (877-228-9655) Phone 480-991-0942 Fax 480-998-1435 e-mail

More information

LCD. Configuration and Programming

LCD. Configuration and Programming LCD Configuration and Programming Interfacing and Programming with Input/Output Device: LCD LCD (liquid crystal display) is specifically manufactured to be used with microcontrollers, which means that

More information

LCD2041 Technical Manual. Revision: 2.1

LCD2041 Technical Manual. Revision: 2.1 LCD2041 Technical Manual Revision: 2.1 Contents Contents ii 1 Getting Started 1 1.1 Display Options Available................................... 1 1.2 Accessories...........................................

More information

Product Information. Features. Table of Contents EA DIP162 DN3LW EA DIP162 DHNLED EA DIP162 DNLED EA DIP162J DN3LW

Product Information. Features. Table of Contents EA DIP162 DN3LW EA DIP162 DHNLED EA DIP162 DNLED EA DIP162J DN3LW LCD Module with included HD44780 controller Product Information EA DIP162 DNLED EA DIP162 DHNLED EA DIP162 DN3LW EA DIP162J DN3LW LCD Module with two 16-character rows 6.68mm in height Same as previous,

More information

BV4542. I2C or Serial 16x2 with Keypad interface

BV4542. I2C or Serial 16x2 with Keypad interface BV4543 I2C or Serial 16x2 with Keypad interface Date Firmware Revision February 2018 Preliminary 11 Feb. 2018 1.1.1 Updated how serial works 16 Feb. 2018 1.1.3 Sleep updated Introduction This is an I2C

More information

RFID: Read and Display V2010. Version 1.1. Sept Cytron Technologies Sdn. Bhd.

RFID: Read and Display V2010. Version 1.1. Sept Cytron Technologies Sdn. Bhd. PR8-B RFID: Read and Display V2010 Version 1.1 Sept 2010 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion

More information

ELE492 Embedded System Design

ELE492 Embedded System Design Overview ELE9 Embedded System Design Examples of Human I/O Interfaces Types of System Interfaces Use of standards RS Serial Communication Overview of SPI, I C, L, and CAN Class //0 Eugene Chabot Examples

More information

NetMedia 2x16 Serial LCD Display Module V1.5

NetMedia 2x16 Serial LCD Display Module V1.5 NetMedia 2x16 Serial LCD Display Module V1.5 Table of Contents: Pinout... 2 Interfacing... 3 LCD Control Codes... 4 Creating Custom Characters... 6 BasicX-24 Example Program:... 7 2x16 Specifications...

More information

ST Sitronix ST7565R. 65 x 132 Dot Matrix LCD Controller/Driver. Ver 1.3 1/ /11/25

ST Sitronix ST7565R. 65 x 132 Dot Matrix LCD Controller/Driver. Ver 1.3 1/ /11/25 ST Sitronix ST7565R 65 x 32 Dot Matrix LCD Controller/Driver Features Direct display of RAM data through the display data RAM. RAM capacity : 65 x 32 = 8580 bits Display duty selectable by select pin /65

More information

Laboratory 5 Communication Interfaces

Laboratory 5 Communication Interfaces Laboratory 5 Communication Interfaces Embedded electronics refers to the interconnection of circuits (micro-processors or other integrated circuits) with the goal of creating a unified system. In order

More information

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd. Display Real Time Clock (RTC) On LCD PR12 Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion

More information

Maxim > Design Support > Technical Documents > Application Notes > Microcontrollers > APP 4465

Maxim > Design Support > Technical Documents > Application Notes > Microcontrollers > APP 4465 Maxim > Design Support > Technical Documents > Application Notes > Microcontrollers > APP 4465 Keywords: MAXQ, MAXQ610, UART, USART, serial, serial port APPLICATION NOTE 4465 Using the Serial Port on the

More information

or between microcontrollers)

or between microcontrollers) : Communication Interfaces in Embedded Systems (e.g., to interface with sensors and actuators or between microcontrollers) Spring 2016 : Communication Interfaces in Embedded Systems Spring (e.g., 2016

More information

The modules in this lab room are 4 line by 16 character display modules. The data sheet/users manual for the module is posted on My.Seneca.

The modules in this lab room are 4 line by 16 character display modules. The data sheet/users manual for the module is posted on My.Seneca. LCD Modules A common output display device used with low cost embedded systems is a character LCD display. The displays are available as complete modules with a standard microprocessor parallel interface.

More information

16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD

16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD 6COM/4SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD INTRODUCTION is a dot matrix LCD driver & controller LSI which is fabricated by low power CMOS technology It can display, 2-line with 5 x 8 or 5 x dots

More information

US x 32 OLED/PLED Segment/Common Driver with Controller For 20x4 Characters.

US x 32 OLED/PLED Segment/Common Driver with Controller For 20x4 Characters. US2066 100 x 32 OLED/PLED Segment/Common Driver with Controller For 20x4 Characters http://wwwwisechipcomtw i 1 General Description WiseChip Semiconductor Inc US2066 US2066 is a single-chip CMOS OLED/PLED

More information

UNIT-3 PC HARDWARE OVERVIEW PART A

UNIT-3 PC HARDWARE OVERVIEW PART A UNIT-3 PC HARDWARE OVERVIEW PART A 1. What is the advance in PC design in various aspects? The PC design has undergone advances in various aspects: Microprocessor used. Peripheral devices supported. Hardware

More information

imcu7100evb User s Guide

imcu7100evb User s Guide Version 1.0 2011 WIZnet Co., Inc. All Rights Reserved. For more information, visit our website at http://www.wiznet.co.kr Copyright 2011WIZnet Co., Inc. All rights reserved. Table of Contents 1 Overview...3

More information

Serial Communications

Serial Communications April 2014 7 Serial Communications Objectives - To be familiar with the USART (RS-232) protocol. - To be able to transfer data from PIC-PC, PC-PIC and PIC-PIC. - To test serial communications with virtual

More information

LCM NHD-0440AZ-FSW -FBW. User s Guide. (Liquid Crystal Display Character Module) RoHS Compliant FEATURES

LCM NHD-0440AZ-FSW -FBW. User s Guide. (Liquid Crystal Display Character Module) RoHS Compliant FEATURES User s Guide NHD-0440AZ-FSW -FBW LCM (Liquid Crystal Display Character Module) RoHS Compliant FEATURES Display format: 4 Lines x 40 Characters (A) Display Series/Model (Z) Factory line (F) Polarizer =

More information

INTEGRATED CIRCUITS DATA SHEET. PCF2119x-2 LCD controllers/drivers. Product specification File under Integrated Circuits, IC12

INTEGRATED CIRCUITS DATA SHEET. PCF2119x-2 LCD controllers/drivers. Product specification File under Integrated Circuits, IC12 INTEGRATED CIRCUITS DATA SHEET File under Integrated Circuits, IC12 28. August 2000 CONTENTS 1 FEATURES 1.1 Note 2 APPLICATIONS 3 GENERAL DESCRIPTION 4 ORDERING INFORMATION 5 BLOCK DIAGRAM 6 PAD INFORMATION

More information

Parallel-to-Serial and Serial-to-Parallel Converters

Parallel-to-Serial and Serial-to-Parallel Converters Session 1532 Parallel-to-Serial and Serial-to-Parallel Converters Max Rabiee, Ph.D., P.E. University of Cincinnati Abstract: Microprocessors (MPUs) on a computer motherboard communicate in a parallel format

More information

8. SED1565 Series. (Rev. 1.2)

8. SED1565 Series. (Rev. 1.2) 8. (Rev. 1.2) Contents GENERAL DESCRIPTION...8-1 FEATURES...8-1 BLOCK DIAGRAM...8-3 PIN DIMENSIONS...8-4 PIN DESCRIPTIONS...8-2 DESCRIPTION OF FUNCTIONS...8-24 COMMANDS...8-48 COMMAND DESCRIPTION...8-57

More information

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 8051 Intermidiate Development Board Product Manual Contents 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 1. Overview 2. Features The board is built on a high quality FR-4(1.6

More information

Celeron EPIC Computer with GUI and Dual Ethernet SBC4685

Celeron EPIC Computer with GUI and Dual Ethernet SBC4685 Celeron EPIC Computer with GUI and Dual SBC4685 Features Ready to run Celeron/Pentium III computer Color flat-panel support Four serial ports CAN Bus interface PC/104 & PC/104-Plus expansion The SBC4685

More information

BV4531U. I2C or Serial 6 Way Relay

BV4531U. I2C or Serial 6 Way Relay BV4533 Date February 2018 11 Feb. 2018 Firmware Revision 1.0.4 Preliminary 1.1.0 Serial Updated I2C or Serial 6 Way Relay 3 Sep. 2018 1.1.0 I2C corrections, trigger is not used Introduction This is an

More information

DATA SHEET. PCF2113x LCD controller/driver INTEGRATED CIRCUITS Apr 04

DATA SHEET. PCF2113x LCD controller/driver INTEGRATED CIRCUITS Apr 04 INTEGRATED CIRCUITS DATA SHEET Supersedes data of 1996 Oct 21 File under Integrated Circuits, IC12 1997 Apr 04 CONTENTS 1 FEATURES 2 APPLICATIONS 3 GENERAL DESCRIPTION 4 ORDERING INFORMATION 5 BLOCK DIAGRAM

More information

Embedded Systems and Software. LCD Displays

Embedded Systems and Software. LCD Displays Embedded Systems and Software LCD Displays Slide 1 Some Hardware Considerations Assume we want to drive an LED from a port. The AVRs can either source or sink current. Below is a configuration for sourcing.

More information

LCD Micro Serial/I 2 C Interface Module for R.G.B backlights. Technical Data

LCD Micro Serial/I 2 C Interface Module for R.G.B backlights. Technical Data LCD Micro Serial/I 2 C Interface Module for R.G.B backlights Technical Data DS-LCDD5 Features Supports new LCD panels with RGB backlights*. Micro size (53 x 29mm) to piggy-back on the LCD module and form

More information

Real-Time Embedded Systems. CpE-450 Spring 06

Real-Time Embedded Systems. CpE-450 Spring 06 Real-Time Embedded Systems CpE-450 Spring 06 Class 5 Bruce McNair bmcnair@stevens.edu 5-1/42 Interfacing to Embedded Systems Distance 100 m 10 m 1 m 100 cm 10 cm "Transmission line" capacitance ( C) Distance

More information

EMERALD-MM-8P. 8-Channel Software Programmable Protocol. Serial Port PC/104 TM Module. User Manual V1.20

EMERALD-MM-8P. 8-Channel Software Programmable Protocol. Serial Port PC/104 TM Module. User Manual V1.20 EMERALD-MM-8P 8-Channel Software Programmable Protocol Serial Port PC/104 TM Module User Manual V1.20 Copyright 2005, 2008, 2011 DIAMOND SYSTEMS CORPORATION 555 Ellis Street Mountain View, CA 94043 Tel

More information

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC.

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC. MICROCONTROLLERS AND APPLICATIONS 1 Module 1 Module I Introduction to Microcontrollers: Comparison with Microprocessors Harvard and Von Neumann Architectures - 80C51 microcontroller features - internal

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many

More information

NORITAKE ITRON VFD MODULES GU128x18F-K612A2

NORITAKE ITRON VFD MODULES GU128x18F-K612A2 28 x 8 High Brightness Dot Graphic Display Single 5V DC Supply 2 ASCII Fonts ( 5 x 7 and x 4 ) Mixed Graphics and Text Display RS232 Serial Interface SPI Clock Serial Interface and 2 Pins Variable Active

More information

INTERFACING 16 2 LCD WITH 8051

INTERFACING 16 2 LCD WITH 8051 INTERFACING 16 2 LCD WITH 8051 LCD display is an inevitable part in almost all embedded projects and this article is about interfacing 16 2 LCD with 8051 microcontroller. Many guys find it hard to interface

More information

ET2640 Microprocessors

ET2640 Microprocessors ET2640 Microprocessors Unit -2 Processor Programming Concepts Basic Control Instructor : Stan Kong Email : skong@itt-tech.edu Figure 2 4 Bits of the PSW Register 8051 REGISTER BANKS AND STACK 80 BYTES

More information

ELEG3923 Microprocessor Ch.10 Serial Port Programming

ELEG3923 Microprocessor Ch.10 Serial Port Programming Department of Electrical Engineering University of Arkansas ELEG3923 Microprocessor Ch.10 Serial Port Programming Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Basics of Serial Communication Serial port programming

More information

Embedded Systems and Software. Serial Communication

Embedded Systems and Software. Serial Communication Embedded Systems and Software Serial Communication Slide 1 Using RESET Pin on AVRs Normally RESET, but can be configured via fuse setting to be general-purpose I/O Slide 2 Disabling RESET Pin on AVRs Normally

More information

Interfacing a Hyper Terminal to the Flight 86 Kit

Interfacing a Hyper Terminal to the Flight 86 Kit Experiment 6 Interfacing a Hyper Terminal to the Flight 86 Kit Objective The aim of this lab experiment is to interface a Hyper Terminal to 8086 processor by programming the 8251 USART. Equipment Flight

More information

RW1062 INTRODUCTION FUNCTIONS FEATURES. Crystalfontz. Thiscontrolerdatasheetwasdownloadedfrom htp:/www.crystalfontz.

RW1062 INTRODUCTION FUNCTIONS FEATURES. Crystalfontz. Thiscontrolerdatasheetwasdownloadedfrom htp:/www.crystalfontz. Crystalfontz Thiscontrolerdatasheetwasdownloadedfrom htp:/www.crystalfontz.com/controlers/ RW1062 INTRODUCTION RW1062 is a LCD driver & controller LSI which is fabricated by low power CMOS technology.

More information

BV4218. I2C-LCD & Keypad. Product specification. December 2008 V0.a. ByVac 2006 ByVac Page 1 of 9

BV4218. I2C-LCD & Keypad. Product specification. December 2008 V0.a. ByVac 2006 ByVac Page 1 of 9 Product specification December 2008 V0.a ByVac 2006 ByVac Page 1 of 9 Contents 1. Introduction...3 2. Features...3 3. Electrical Specification...3 4. I2C set...4 5. The LCD Set...5 5.1. 1...5 5.2. 2...5

More information

LK Technical Manual. Revision: 2.0

LK Technical Manual. Revision: 2.0 LK204-25 Technical Manual Revision: 2.0 Contents Contents ii 1 Getting Started 1 1.1 Display Options Available................................... 1 1.2 Accessories...........................................

More information

68 x 102 Dot Matrix LCD Controller/Driver 1. INTRODUCTION

68 x 102 Dot Matrix LCD Controller/Driver 1. INTRODUCTION Sitronix ST ST7579 68 x 102 Dot Matrix LCD Controller/Driver 1. INTRODUCTION The ST7579 is a driver & controller LSI for graphic dot-matrix liquid crystal display systems. It contains 102 segment and 67

More information

Engr. A. N. Aniedu Electronic and Computer Engineering Nnamdi Azikiwe University, Awka

Engr. A. N. Aniedu Electronic and Computer Engineering Nnamdi Azikiwe University, Awka Engr. A. N. Aniedu Electronic and Computer Engineering Nnamdi Azikiwe University, Awka INTRODUCTION Microcontroller vs General Purpose Microprocessor General-purpose microprocessors contains No RAM No

More information

USB to RS-422/485 Serial Adapter

USB to RS-422/485 Serial Adapter USB to RS-422/485 Serial Adapter User Manual Ver. 4.00 All brand names and trademarks are properties of their respective owners. Contents: Chapter 1: Introduction... 3 1.1 Product Introduction... 3 1.2

More information

ST Sitronix ST7565P. 65 x 132 Dot Matrix LCD Controller/Driver

ST Sitronix ST7565P. 65 x 132 Dot Matrix LCD Controller/Driver ST Sitronix ST7565P 65 x 132 Dot Matrix LCD Controller/Driver FEATURES Direct display of RAM data through the display data RAM. RAM capacity : 65 x 132 = 8580 bits Display duty selectable by select pin

More information

Cab Bus Communications Protocol

Cab Bus Communications Protocol Page 1 Overview of Controller Bus The controller bus connects up to 63 Hand-Held Cab Controllers to the Command Station. Data on the bus runs at 9600 bps with 8 data bits, no parity, 2 stop bits and meets

More information

Microcontroller basics

Microcontroller basics FYS3240 PC-based instrumentation and microcontrollers Microcontroller basics Spring 2017 Lecture #4 Bekkeng, 30.01.2017 Lab: AVR Studio Microcontrollers can be programmed using Assembly or C language In

More information

Mega128-Net Mega128-Net Mega128 AVR Boot Loader Mega128-Net

Mega128-Net Mega128-Net Mega128 AVR Boot Loader Mega128-Net Mega128-Net Development Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN 46268 (317) 471-1577 (317) 471-1580 FAX http://www.prllc.com GENERAL The Mega128-Net development board is designed

More information

INSTRUCTION MANUAL FOR AMCT-1

INSTRUCTION MANUAL FOR AMCT-1 INSTRUCTION MANUAL FOR AMCT-1 REVISIO N NO: 1.1 Customer s Approval: PREPARED BY (RD ENGINEER) CHECKED BY APPROVED BY SIGNATURE DATE Orient Display (N.A.) Ltd. 145 Royal Crest Court, Unit 42, Markham,

More information

MCS-51 Serial Port A T 8 9 C 5 2 1

MCS-51 Serial Port A T 8 9 C 5 2 1 MCS-51 Serial Port AT89C52 1 Introduction to Serial Communications Serial vs. Parallel transfer of data Simplex, Duplex and half-duplex modes Synchronous, Asynchronous UART Universal Asynchronous Receiver/Transmitter.

More information

Galep-Adapter DIL-40 => ISP-ASYNC/SYNC Article-No.:

Galep-Adapter DIL-40 => ISP-ASYNC/SYNC Article-No.: 1 of 10 -- English -- Adapter for MCU s, which are in system programmable. -- Deutsch -- Adapter für MCU s, die im System programmiert werden können. Illustration 1: ISP-ASYNC/SYNC-adapter 210915 Illustration

More information

ST Sitronix ST7565R. 65 x 132 Dot Matrix LCD Controller/Driver. Ver 1.7 1/ /06/01

ST Sitronix ST7565R. 65 x 132 Dot Matrix LCD Controller/Driver. Ver 1.7 1/ /06/01 ST Sitronix ST7565R 65 x 32 Dot Matrix LCD Controller/Driver Features Directly display RAM data through Display Data RAM. RAM capacity : 65 x 32 = 8580 bits Display duty selectable by select pin /65 duty

More information

Pmod modules are powered by the host via the interface s power and ground pins.

Pmod modules are powered by the host via the interface s power and ground pins. 1300 Henley Court Pullman, WA 99163 509.334.6306 www.store. digilent.com Digilent Pmod Interface Specification 1.2.0 Revised October 5, 2017 1 Introduction The Digilent Pmod interface is used to connect

More information

17 Hatidhar st. Ra anana 43665, Israel Fax: Tel: UDEC-1. Universal Debug Center User Manual & Quick Start

17 Hatidhar st. Ra anana 43665, Israel Fax: Tel: UDEC-1. Universal Debug Center User Manual & Quick Start 17 Hatidhar st. Ra anana 43665, Israel Fax: 09-7417422 Tel: 09-7417411 www.adcom.co.il UDEC-1 Universal Debug Center User Manual & Quick Start UM-004708-1 - Revision A Version Issued By Issue Date Comments

More information

LCD MODULE DEP Y

LCD MODULE DEP Y Display Elektronik GmbH LCD MODULE DEP 16216Y Product Specification Ver.: 5 15.11.2011 Contents 1. Module Basic Specification... 2. Mechanical Drawing... 3. Pin Definition... 4. Absolute Maximum Ratings...

More information

EECS 373 Design of Microprocessor-Based Systems

EECS 373 Design of Microprocessor-Based Systems EECS 7 Design of Microprocessor-Based Systems Matt Smith University of Michigan Serial buses, digital design Material taken from Brehob, Dutta, Le, Ramadas, Tikhonov & Mahal 1 Timer Program //Setup Timer

More information

LIN bus board datasheet EB

LIN bus board datasheet EB LIN bus board datasheet EB027-00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 7 Appendix 1 Circuit diagram

More information