0

I have interface a 1602 LCD to Arduino but nothing is displayed on the display, tried varying the contrast via the potentiometer, even tried to use PWM to vary the contrast automatically. The displays just flicker a few lines when connecting the V0 pin to ground. I am using the Hello World example

I tried 3 displays and a Nano, Uno and Mega but none seem to work. Not even black boxes. Any ideas on how to make it show something?

Edit: Code for the Hello world example

include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);"

void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  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(0, 1);
  // print the number of seconds since reset:
  lcd.print(millis() / 1000);
}

I wired it up according to this diagram:interfacing 1602 display to arduino

  • Please supply how you have connected the display, and the code you are using. – Hans Neve Mar 19 '16 at 8:11
  • @HansNeve I edited the post to include the information – Edmore M Gonese Digolodollarz Mar 20 '16 at 14:37

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.