Reply to topic  [ 1 post ] 
2004 Parallel LCD Module (HCMODU0039) 
Author Message
Site Admin

Joined: Sun Aug 05, 2012 4:02 pm
Posts: 670
Post 2004 Parallel LCD Module (HCMODU0039)
Image

Description:

The 2004 parallel LCD module (HCMODU0039) is the larger version of our popular 1602 modules (HCMODU0013 & HCMODU0038). The lager screen size allows for up to 4 lines of 20 character text to be displayed. Characters are displayed in white with a blue backlight in exceptionally clear contrast (set externally). Interface to the module can be made via an 8 bit parallel bus, or to save on digital I/O, the module can be configured to use a 4 bit bus. This module is also fully compatible with the standard Arduino LiquidCrystal library and so if using with the Arduino development environment, requires no additional libraries to work.

Please note that the attached picture demonstrates the module in operation and that the module does not come supplied with header pins.


Specification:

HD44780 / KS0066 IC
20 Characters * 4 Lines
Character LCD module
White Character
Blue Backlight
5V Logic compatible


Dimensions:
Image


Pinout:
Image


Example Arduino Sketch:
Code:
/* FILE:    ARD_2004_LCD_HCMODU0039_Hello_World_Example
   DATE:    13/06/4
   VERSION: 0.1

This is a simple example of how to use the Hobby Components 2004 LCD module
(HCARDU0039). To use this module you will require the standard Arduino LCD
library which is built into the Arduino development environment.

This code also demonstrates the correct pin assignment for the LCD. When you
run this program you should see a greeting message appear on the display.


DEVICE PINOUT:

LCD      ARDUINO

VSS      GND
VDD      +5V
VO       +5V VIA POTENTIOMETER
RS       D12
RW       GND
E        D11
D4       D5
D5       D4
D6       D3
D7       D2
A        +5V
K        GND


You may copy, alter and reuse this code in any way you like, but please leave
reference to HobbyComponents.com in your comments if you redistribute this code.
This software may not be used directly for the purpose of selling products that
directly compete with Hobby Components Ltd's own range of products.

THIS SOFTWARE IS PROVIDED "AS IS". HOBBY COMPONENTS MAKES NO WARRANTIES, WHETHER
EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ACCURACY OR LACK OF NEGLIGENCE.
HOBBY COMPONENTS SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR ANY DAMAGES,
INCLUDING, BUT NOT LIMITED TO, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY
REASON WHATSOEVER.

*/

/* Include the LCD Library */
#include <LiquidCrystal.h>


/* Create an instance of the LCD library. */
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);


void setup()
{
  /* Initialise the LCD */
  lcd.begin(20, 4);
}

/* Main program loop */
void loop()
{
  /* Output the test message to the LCD */
  lcd.setCursor(2,0);
  lcd.print("HOBBY COMPONENTS");
  lcd.setCursor(2,1);
  lcd.print("**HELLO WORLD**");
  lcd.setCursor(4,3);
  lcd.print("(HCMODU0039)");
 
  /* Do nothing */
  while(1);
}


Fri Jun 13, 2014 10:52 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD