Go Down

Topic: LCD 1602 and i2c FC-113 not working (Read 3669 times) previous topic - next topic

Tensore79

Jul 28, 2015, 11:56 am Last Edit: Jul 28, 2015, 12:03 pm by Tensore79
Hello,

I have a problem with the I2C interface FC-113 for the LCD module 1602.

I wire GND-->GND, VCC-->5V, SDA-->A4, SCL-->A5

I load the example sketch:
Code: [Select]
#include <Wire.h>
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x20,16,2);  // set the LCD address to 0x20 for a 16 chars and 2 line display

void setup()
{
  lcd.init();                      // initialize the lcd
 
  // Print a message to the LCD.
  lcd.backlight();
  lcd.print("Hello, world!");
}

void loop()
{
}


And I get no response on the LCD.
Adjusting brightness I can just see black squares in the low line of the LCD

I tried changing 0x20 to 0x21 or 0x22 or . . . or 0x27 and also 0x38 and so on but it's all the same.
I tried also adding lcd.setBacklight(HIGH); or lcd.setBacklight(LOW); The LCD backlight actually switches on and off but not every time, just by chance!

I am using LiquidCrystal_I2C V2.0 by Mario H.


help!

MAS3

Did you do a search for FC-113 on Google ?
If so, you would have found a thread in this forum of a week ago.
It tells you that the address is 0x27.

But you could have also used a I2C scanner to find that.

The most popular library is that of F.Malpartida, perhaps you should try that one.
Have a look at "blink without delay".
Did you connect the grounds ?
Je kunt hier ook in het Nederlands terecht: http://arduino.cc/forum/index.php/board,77.0.html

floresta

Quote
Adjusting brightness I can just see black squares in the low line of the LCD
Your LCD is upside down.

Don

Go Up