Pages: [1]   Go Down
Author Topic: LCD Keypad Shield v2.0 only displaying on first left 8 caracters  (Read 191 times)
0 Members and 1 Guest are viewing this topic.
France
Offline Offline
Jr. Member
**
Karma: 1
Posts: 85
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all.

I'm back playing with my Arduino MEGA 2580 and its "LCD Keypad Shield v2.0" but I'm facing some problem.

It only displays the first left 8 caracters on line 0 and lone 1
The right area stays blind.

http://robotbase.en.alibaba.com/product/357645038-217010522/LCD1602_keypad_shield_v2_0_for_Arduino_compatible.html
The code I'm using :


Code:
/*
  LiquidCrystal Library - Serial Input
 
 Demonstrates the use a 16x2 LCD display.  The LiquidCrystal
 library works with all LCD displays that are compatible with the
 Hitachi HD44780 driver. There are many of them out there, and you
 can usually tell them by the 16-pin interface.
 
 This sketch displays text sent over the serial port
 (e.g. from the Serial Monitor) on an attached LCD.
 
 The circuit:
 * LCD RS pin to digital pin 12 ==> 8
 * LCD Enable pin to digital pin 11 ==> 9
 * LCD D4 pin to digital pin 5 ==> 4
 * LCD D5 pin to digital pin 4 ==> 5
 * LCD D6 pin to digital pin 3 ==> 6
 * LCD D7 pin to digital pin 2 ==> 7
 * LCD R/W pin to ground
 * 10K resistor:
 * ends to +5V and ground
 * wiper to LCD VO pin (pin 3)
 
 Library originally added 18 Apr 2008
 by David A. Mellis
 library modified 5 Jul 2009
 by Limor Fried (http://www.ladyada.net)
 example added 9 Jul 2009
 by Tom Igoe
 modified 22 Nov 2010
 by Tom Igoe
 
 This example code is in the public domain.
 
 http://arduino.cc/en/Tutorial/LiquidCrystalSerial
 */

// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);

void setup(){
    // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // initialize the serial communications:
  Serial.begin(9600);
 
  // Print a message to the LCD.
  lcd.setCursor(2, 1);
  lcd.print("hello, world!");
}

void loop()
{
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(1, 0);
  // print the number of seconds since reset:
  lcd.print(millis()/500);
 
 
}
But it does the same problem with different code.

I've got RS, E, D4, D5, D6, D7 respectively on pin 8, 9, 4, 5, 6 and 7.

Any idea what could be wrong ?
Would it be possible something blownup ?
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 35
Posts: 4299
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Any idea what could be wrong ?
Have you looked through the other recent threads in this section of the forum?

Here are a few to check out:

http://forum.arduino.cc/index.php?topic=226853.0
http://forum.arduino.cc/index.php?topic=227598.0
http://forum.arduino.cc/index.php?topic=227289.0

Don




Logged

France
Offline Offline
Jr. Member
**
Karma: 1
Posts: 85
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for this first reply. I'm having a look and meanwhile I didn't find yet my answer, it's interesting !

What I noticed from my LCD is when I power it up, I can see the caracter on the right hand side  for a very short period. They're dim, but I can notice they would like to appear but go off straight after.
Logged

Pages: [1]   Go Up
Jump to: