LCD05 datasheet 1.0

Similar documents
LCD03 - I2C/Serial LCD Technical Documentation

LCD03 - I2C/Serial LCD Technical Documentation

SC1602LC 16x2 Large Characters RS232 LCD Module. User s Manual. Large Viewing Area 99mm x 24mm. Large Character Size. 4.84mm x 9.66mm.

SC1602LCPro-YG ( Yellow Green Backlight ) SC1602LCPro-B ( Blue Backlight ) Large Character Size ( 4.88x9.66 mm )

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

Dual Interface LCD Display Controller

1602 SMART LCD DISPLAY MODULE HCMODU0122

melabs Serial LCD Firmware Version 1.1 3/5/07

Crystalfontz Technology * PRELIMINARY * 20x4 and 16x2 intelligent serial interface display command set

NetMedia 2x16 Serial LCD Display Module V1.5

melabs Serial LCD Firmware Version 1.0 2/7/07

CLCD1 Serial 1 wire RS232 LCD development board

NHD-0216K3Z-NS(RGB)-FBW-V3

LK Technical Manual. Revision: 2.0

ACS-LCD-128x64. LCD Graphic Display Terminal. General Description. Features. Typical Applications. Specifications. 22-Feb-08

BV4531U. I2C or Serial 6 Way Relay

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

BV4542. I2C or Serial 16x2 with Keypad interface

NHD 0216K3Z FL GBW. Serial Liquid Crystal Display Module

NHD-0220D3Z-FL-GBW-V3

BV4615. Dual Interface Zero Keypad. Product specification. Dec 2009 V0.a. ByVac Page 1 of 11

NHD-0220D3Z-FL-GBW-V3

LCD2041 Technical Manual. Revision: 2.1

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

NetMedia 2x16 Serial LCD Display Module V1.2

Integrated Serial LCD Module (ILM-216)

LCD4041. User Manual. LCD4041 rev 1 1

GRAVITECH GROUP

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

BV4505. IASI-Keypad Controller. Product specification. January 2009 V0.a. ByVac Page 1 of 13

GP1 LCD RS232 Terminal Kit 2003 by AWC

LCD0821. Technical Manual. Revision 3.0. PCB Revision: 2.0 or Higher. Firmware Revision: 5.0 or Higher

ZBasic. Application Note. Interfacing with the LCD03 Text Display. Introduction. Hardware Hookup

LK User Manual. LK rev 4 1

Parallax Serial LCD 2 rows x 16 characters Non-backlit (#27976) 2 rows x 16 characters Backlit (#27977)

RS232 Backer Board for Alphanumeric LCDs

BV4626 General Purpose I/O. Product specification. Mar 2010 V0.a. ByVac Page 1 of 13

ZVX719 Serial Input, Monochrome Video Adapter, 40 characters x 24 lines

LCM-100 LCD Module User s Manual

LK204-25/VK Technical Manual. Revision 1.5. Including LK , LK USB, VK , and VK USB. PCB Revision: 3.

420 Series RS232 Encoder Engineering Manual. Contents NOTICE

Page 1 of 7. Samtron/Samsung 20S204DA2

USB-I2C USB to I2C Communications Module Technical Specification

MOS-AV-162A Technical Manual. Revision: 1.0

420 Series RS232 only Encoder for Keypad Applications Application / Engineering Manual

VK Technical Manual. Revision 4.1. Including the VK USB. PCB Revision: 3.0 or Higher (Standard Model), 1.0 or Higher (USB Model)

LK162B-7T. Technical Manual. Revision 1.3. PCB Revision: 1.0 or Higher. Firmware Revision: 7.3 or Higher

Lab 3 LCD Mar

UniOP VT100 Terminal Emulation - Ver. 3.16

Designer Systems. LCD Micro Serial Interface Module for Alpha LCD panels. Technical Data

Parallax Serial LCD 2 rows x 16 characters Non-backlit (#27976) 2 rows x 16 characters Backlit (#27977) 4 rows x 20 characters Backlit (#27979)

C:\Users\Jacob Christ\Documents\MtSAC\ELEC74 Mt SAC - chipkit\homework Sheets.docx

BV4109. Serial LCD Controller. Product specification November ByVac 2006 ByVac Page 1 of 12

4511 MODBUS RTU. Configuration Manual. Solenoid / alarm driver. No. 9203MCM100(1328)

HMC1022 Digital Compass

BV4501 IASI Twin Relay. Product specification. December 2008 V0.a. ByVac Page 1 of 12

School of Computer Science Faculty of Engineering and Computer Science Student ID Number. Lab Cover Page. Lab Date and Time:

SLCD1-IC Serial LCD Processor

C:\Users\jacob\Documents\MtSAC\ELEC74 Mt SAC - chipkit\homework Sheets.docx

Mounting Dimensions / Viewing 2 Mounting Options 3. Wiring Configuration 4. Quick Set up Procedure 5. Changing Intensity 6.

J2 LCM Customer Display. Manual

REV2 Mifare RS-485 OEM Proximity Reader Data Sheet

4511 MODBUS RTU. Configuration Manual. HART transparent driver. No. 9107MCM102(1739) For 4511 devices from ser. no:

Fics-RT1. User s Manual

Technical Manual. Revision1.1. PCB Revision: 1.0 or greater Firmware Revision: 1.0 or greater

Models: TD3000 Series. Table Displays. 2 by 20 character display USER MANUAL

OK Technical Manual. Revision 1.1. PCB Revision: 3.0 or Higher (Standard Model), 1.0 or Higher (USB Model) Firmware Revision: 5.

QTERM-II USER'S MANUAL REVISION 14

E2 Modbus RTU Register Map Revision History Version Comments Author Date 1.02 Previous version PAE 11/06/ Revised to new format PAE 09/03/09

LK204-7T-1U. Technical Manual. Revision 2.7. PCB Revision: 1.0 or Higher. Firmware Revision: 5.0 or Higher


BV x64 Serial + I2C Graphic Controller. Product specification. Apr 2013 V0.a. ByVac Page 1 of 12

User Manual & Reference

S125 Multi-Purpose 125 KHz RFID Reader USER MANUAL. 9V/24V DC Operating Voltage, AC (optional) KHz RFID EM4100/2 Cards & Tags

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

I2C Interface for QL Emulators Part 1 Originally Published in QL Today, Vol 15, Issue 4, May-June 2011

Product Specification for SAB-S-MODBUS

1:N REDUNDANT SWITCHING UNIT REMOTE CONTROL TERMINAL

SCDM88-8x8 Serial LED Dot Matrix Display Module. Serial Interface. Serial Command Summary

SRF08 Ultra sonic range finder Technical Specification

CUSTOM MANUFACTURED IN U.S.A. BY RADIO SHACK, A DIVISION OF TANDY CORPORATION CAT. NO

LK202-25/VK Technical Manual. Revision 4.1. PCB Revision: 3.0 or Higher (Standard Model), 1.0 or Higher (USB Model)

BV4601. Serial & I2C Twin Relay. Product specification. Sep V0.a. ByVac Page 1 of 10

KNJN I2C bus development boards

OP Handheld Manual. BALOGH 7699 Kensington Court Brighton, MI (248)

LK USB Technical Manual. Revision: 1.0

Parallel Display Specifications Revision 1.0

I2C/TWI LCD1602 Module (Gadgeteer Compatible) (SKU: DFR0063)

MDX Matrix RS232 Control Protocol

Project Final Report Internet Ready Refrigerator Inventory Control System

E2 Modbus RTU Register Map

SY021 Portable Load/Force Meter User instructions

RPC Interface Specification November 2001 Introduction

This specification applies to VFD module(model No:20S207DA4) manufactured

1.3inch OLED User Manual

2. SPC SERIAL LCD EXTERNAL SPECIFICATION

Azur 650T Serial Control Protocol V1.0

Product RS stock no. Mitsubishi no. Description and features Display FX-40DU-E LCD display and function keys directly connected into FX PLC

SRF02 Ultrasonic range finder Technical Specification

RTD-500 Precision RTD Simulator. Operations Manual.

Transcription:

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 for either mode, freeing up pins on your processor. Many useful text formatting functions are provided and also the ability to put together custom characters into memory which can be called off as required. There is a 100 byte FIFO buffer to ensure a minimum of delay in writing to the display. The LCD05 controller is our new generation LCD display driver and adds additional features to our previous LCD03 driver while being fully compatible in both software and pin-out. Device Highlights Adjustable backlight and contrast with software commands 100 byte FIFO buffer Start-up screen can be personalised 20x4 or 16x2 screens can be used Keypad automatically scanned Array of useful commands Custom character generation 5 useable addresses for I2C Current consumption (typical) Display Backlight off Backlight on 20 x 4 green 5 ma 135 ma 16 x 2 green 5 ma 80 ma 20 x 4 blue 5 ma 55 ma 16 x 2 blue 5 ma 40 ma Serial/I2C Mode selection A single jumper link is used to select Serial or I2C mode. When the jumper is present (factory default) the module is in serial mode. When the jumper is removed the module is in I2C mode. The mode jumper is only checked as part of the power-up sequence, so make sure the display is off before changing modes. If you change the link position while the module is powered, nothing will change until next time you switch on. FIFO Because the I2C communications operate faster than the display can accept data, all commands and text you send to the display are placed in the FIFO (First In, First Out) buffer. This data is sent to the display as fast as it will accept it. The FIFO is 100 bytes in length and the number of free bytes can be returned in either mode. When sending lots of text to the display, you should check the number of free bytes so you don't overflow the buffer. If the buffer does overflow, the excess bytes are ignored. The FIFO buffer exists in Serial mode too, but at 9600 the display is fast enough and you are unlikely to need to check it. Page 1 of 6 Devantech Ltd, Mar 2013

Connections LCD03 Keypad Easy connection for a 3 x 4 keypad Just wire pins 2-8 to corresponding numbers in brackets above Page 2 of 6 Devantech Ltd, Mar 2013

I2C operation The I2C display is at an address of 0XC6. The SCL and SDA lines should have pull-up resistors on on the bus. You only require 1 pair of resistors for the whole I2C bus, not specifically for the LCD05. They are normally on the master controller and you may already have them. Anything between 1k8 and 10k should work. I2C registers The LCD05 has four registers, three being read only information registers. Register 0 is a dual purpose register, when written it is the command register where all of the instructions from the commands section should be sent, when read it returns the number of free bytes in the FIFO buffer. Register Read Write 0 Number of free bytes in FIFO buffer Command register 1 Keypad state Low byte x 2 Keypad state High byte x 3 Version x I2C commands Decimal Command Description 0 null (ignored) Ignored as a no operation 1 Cursor home Sets the cursor to the home position (top left) 2 Set cursor (1-80/32) Set cursor using the next byte, where 1 is the top left and 80/32 is the bottom right 3 set cursor (row, column) Sets cursor using two bytes, where first byte is the row and the second byte is the column 4 Hide cursor Stops the position cursor from appearing on the display 5 Show underline cursor Changes the cursor to the underline type 6 Show blinking cursor Changes the cursor to the blinking type 8 Backspace Deletes the preceding character from the current position on the display 9 Horizontal tab (by tab set) Moves the cursor position to next tab point set by command 18 (default tab space 4) 10 Smart line feed Moves the cursor down one line to the position beneath in the same column 11 Vertical tab Moves the cursor up one line to the position above in the same column 12 Clear screen Clears the screen and sets cursor to the home position 13 Carriage return Moves the cursor to the start of the next line 17 Clear column Clears the contents of the current column and moves cursor right by one column 18 Tab set Sets the required tab size, the following byte can be a size of between 1 and 10 19 Backlight on Turns the backlight of the LCD05 on 20 Backlight off (default) Turns the backlight of the LCD05 off 21 Disable start-up message Disables the display of setup information at power up 22 Enable start-up message Enables the display of setup information at power up 23 Save as start-up screen Saves current screen and displays it on power up 24 Set display type Sets which display is connected to the LCD05 (see changing display type below) 25 Change address First byte of sequence to change LCD05 address (see changing address below) 27 Custom char generator Allows 8 custom chars to be built. See custom char generator section 28 Double keypad scan rate Increases the frequency of the keypad scan to 20hz 29 Normal keypad scan rate Returns to the default keypad scan frequency of 10hz 30 Contrast set Byte following this command will be contrast level (0-255) 31 Brightness set Byte following this command will be brightness level (0-255) 32-255 ASCII chars Writes ASCII chars straight to the display Changing address The LCD05 software contains the facility to easily change the modules address on the I2C bus system in the range of 0xC6-0xCE ( even numbers only ). This is achieved by sending the following sequence: 0x19,0xA0,0xAA,0xA5 then 0xC6, 0xC8,0xCA,0xCC or 0xCE ( new address to map LCD05 at ) Current address is displayed every time the module is first powered as a default, this may be changed to no display or custom display by user command. Page 3 of 6 Devantech Ltd, Mar 2013

Serial operation The Serial mode operates over a link with a baud rate of 9600 bps (no parity, 2 stop bits) and 5v signals, Do NOT connect RS232 directly to the module - you will destroy it. Use a MAX232 or equivalent to convert the RS232 levels to 5v. Operation is with the same command set as the I2C mode with an additional set of commands to request data to be sent i.e. the software version. Serial commands Decimal Command Description 0 null (ignored) Ignored as a no operation 1 Cursor home Sets the cursor to the home position (top left) 2 Set cursor (1-80/32) Set cursor using the next byte, where 1 is the top left and 80/32 is the bottom right 3 set cursor (row, column) Sets cursor using two bytes, where first byte is the row and the second byte is the column 4 Hide cursor Stops the position cursor from appearing on the display 5 Show underline cursor Changes the cursor to the underline type 6 Show blinking cursor Changes the cursor to the blinking type 8 Backspace Deletes the preceding character from the current position on the display 9 Horizontal tab (by tab set) Moves the cursor position to next tab point set by command 18 (default tab space 4) 10 Smart line feed Moves the cursor down one line to the position beneath in the same column 11 Vertical tab Moves the cursor up one line to the position above in the same column 12 Clear screen Clears the screen and sets cursor to the home position 13 Carriage return Moves the cursor to the start of the next line 14 FIFO status Returns the FIFO status, the number of free bytes up to 100 15 Software version Returns a single byte module version 16 Keypad status Returns keypad input status, two bytes low byte first (see keypad input section) 17 Clear column Clears the contents of the current column and moves cursor right by one column 18 Tab set Sets the required tab size, the following byte can be a size of between 1 and 10 19 Backlight on Turns the backlight of the LCD05 on 20 Backlight off (default) Turns the backlight of the LCD05 off 21 Disable start-up message Disables the display of setup information at power up 22 Enable start-up message Enables the display of setup information at power up 23 Save as start-up screen Saves current screen and displays it on power up 24 Set display type Sets which display is connected to the LCD05 (see changing display type below) 25 Change address First byte of sequence to change LCD05 address (see changing address below) 27 Custom char generator Allows 8 custom chars to be built. See custom char generator section 28 Double keypad scan rate Increases the frequency of the keypad scan to 20hz 29 Normal keypad scan rate Returns to the default keypad scan frequency of 10hz 30 Contrast set Byte following this command will be contrast level (0-255) 31 Brightness set Byte following this command will be brightness level (0-255) 32-255 ASCII chars Writes ASCII chars straight to the display Page 4 of 6 Devantech Ltd, Mar 2013

Contrast and brightness set Contrast and brightness may be adjusted using software commands to vary the level between 0 and 255. Following a power cycle the LCD05 will automatically revert to a predetermined level for the display that is attached. Changing display type Because there are four variations of the LCD display that the LCD05 connects to a software command can be used to switch between them. Firstly a command of 24 must be issued, this is then followed by the display type attached: LCD style Byte 20 x 4 Green 3 20 x 4 Blue 4 16 x 2 Green 5 16 x 2 Blue 6 Custom char generator Custom characters can be generated by sending an 8 byte map. The first thing that must be done is to send a command of 27 to indicate that you intend to make a custom char. Next you have to specify the position in ram of one of the 8 available chars you intend to build, the 8 chars are mapped at positions 128-135. Then the pattern should be sent as below. How to calculate an 8 byte character pattern: 8 bytes are sent with the high bit masked on, the next two are ignored (x) and the final 5 bits show the line pattern. 4 3 2 1 0 Sent byte Byte 0 1xx00000 (128) Byte 1 1xx00100 (132) Byte 2 1xx01110 (142) Byte 3 1xx10101 (149) Byte 4 1xx00100 (132) Byte 5 1xx00100 (132) Byte 6 1xx00100 (132) Byte 7 1xx00000 (128) So to build the above arrow into location 128 you would send this sequence to the command register: 27 (char generate command),128 (location to be filled),128,132,142,149,132,132,132,128 Now the char is built into a memory location it can be called at any time as long as the module remains powered by simply sending the address between 128 and 135. Keypad input An added feature of the module is the ability to connect a 3 x 4 Keypad, the module will automatically scan the status of the keys at regular intervals. The result is then provided in two bytes for easy use, shown by the diagram below. Each bit represents the row and column of each button on the keypad. The second row is the keypad characters when using our keypad. High byte Low byte 0 0 0 0 4/3 4/2 4/1 3/3 3/2 3/1 2/3 2/2 2/1 1/3 1/2 1/1 # 0 * 9 8 7 6 5 4 3 2 1 Any key press will result in the corresponding bit in the byte being driven high. In I2C mode these bytes are available for reading from registers one and two. In serial mode, just send 16 to the LCD05 and it will reply with the two bytes as above with the low byte first. Page 5 of 6 Devantech Ltd, Mar 2013

Dimension data 20 x 4 LCD 16 x 2 LCD Keypad Page 6 of 6 Devantech Ltd, Mar 2013