Forum >Arduino Uno (SMD) Ethernet Shield + I2C LCD ERROR
General

Arduino Uno (SMD) Ethernet Shield + I2C LCD ERROR

userHead macs 2013-08-22 10:48:01 6258 Views2 Replies
HI,
I'm trying to use a LCD I2C (DRF0063) with Arduino Uno and Ethernet Shield.
As soon as I execute lcd.init() Arduino stucks and don't proceed with code execution.
If I remove the ethernet shield from arduino, all goes fine.
Any tips?

Here is my code:
Code: Select all
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2);
void setup()
{
Serial.begin(9600);
Serial.println("Serial INIT");
lcd.init();
Serial.println("LCD INIT");
}
void loop()
{
Serial.println("Hi");
delay(1000);
}
2013-08-23 03:34:58 Hi Greg!
Thanks for your reply.
In this unit, there is not jumper cats. The adress is fixed, somehow, and the adress is printed on PCB of LCD controller.
Is not a problem with the upload I think, cause if don't execute lcd.init(), the arduino don't gets stuck.
I'll try with another ethernet shield I have, maybe is hardware related.
userHeadPic macs
2013-08-22 21:36:17 Hi?macs
Whether it happened during your uploading the code to the Arduino?
You know when we upload the code ,we need "TX"&"RX".If these two serial port are occupied by the Ethernet Shield, it  can't work.
by the way ,I saw the address (0x27).Don't forget to take off the Jumper Cap :D
userHeadPic Grey.CC