Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
United Kingdom
Asked — Edited

I2c Lcd Displays.

I've searched here and google and found information on I2C but what I think I need is an idiot's guide as it's all a little beyond me to be honest.

Basically I received my LCD today which I thought was Serial but turns out it's I2C with the IIC backpack board (I believe that's the right terminology).

Which I thought would be fine as EZB has it's I2C port but for the life of me I cannot get it to display anything.

The address is 0x27 but that is all I know. When I try the I2CWrite(0,0x27,"Hello World") command in EZ-Script it doesn't display anything. Depending on the text sometimes it will light up other times it will turn off the light. I assume it's not quite that simple?

I've was given the Arduino code for it but that's of little use other than indicating to me that perhaps I need to specify the character positions, backlight status etc.

Is there any idiots guide to this stuff? Or better still, does anyone know how to get the LCD working?

Details are;
Arduino IIC/I2C/TWI 1602 Serial LCD Module Display
It has a backpack board that has YWRobot Arduino LCM1602 IIC V1 on it.

Or, can it be connected to a digital port and sendserial used?

#1  
give datasheet! i need a datasheet so i can read the protocol
United Kingdom
#2  
I don't have it, that's half the problem. I've requested it.

The LCD Display datasheet is available here if it's of any help?

Edit: I found the old post about the same display so will play with that tomorrow... managed to get the cursor to move but no text display (yet). Might just look at getting a different LCD...
#3  
Starting in an artoo dee too soon...and the ultimate wall e....both need screens.....any help on a specific model would be awesome.
United Kingdom
#4  
I can tell you not to bother with the one I purchased, there are far too many combinations of codes to try, the most obvious ones don't do anything worthwhile. Choose Serial over I2C, it's supposed to be easier.
#5  
so can serial be plugged into a digital or analog port?

there is a videoon youtube, an ultimate wall-e the guy gothte battery sticker to be an actuall working screen.....puts up battery animation of the logo of the co. that made wall-e

not sure how he did it ill post a link tonight.

also, the dome for the r2.....i dont want to just use LED lights with some special refletive paper....i want a freakign little rectangular screen....does any one now what screens we can us ewiththe EZB?
United Kingdom
#6  
Serial can be plugged in to Digital ports from what I have read, I don't have one yet though so not 100% certain how they work but going from what I have read they are easy to use with the SendSerial command.

I2C work but you need the datasheets and need to know what data to send to make it do what you want it to do, it's not straightforward and confused the hell out of me for a couple of days before I threw in the towel and throw the I2C LCD display in the bin.

However, what do you think I am talking about when I say LCD display? You may be at cross purposes... I am talking about the small 2 or 4 line, 16 character, alpha numeric displays similar to those on a DVD player/entertainment centre/old phone not an LCD monitor type display... that, as far as I know, would require an on-board PC or wireless sender and VGA or HDMI input to the screen...
#7  
yeah 3 lines rectangle more tthan likely in green.....yeah ill need one of those, but ill also need the LCD mini screens that sparkfun sells....like 2.5 by 2.5 screen with color and everyhitng....im assuming because it works with an Arduino, it will work with EZB

ill post some links tonight and maybe the man himself can clarify.
United Arab Emr
#8  
I just started to play with one of the LCD I have ordered long time ago. It is I2C and Serial
I can tell you that in both cases you need the DataSheet to know the Command Codes.
I2C you need Extra the default address.
Ex. I2CWrite(0,0x4c, "H") is the command with I2C address to display "H"
Same with Serial :
SendSerial(d0, 9600, "H") usind d0 port.

both need Command prefix & Command Code to Control the display
Ex:
0XFE is the code used before any control Command
0X14 is used to Clear the Display

Serial statement : SendSerial(d0, 9600, 0xFE, 0x14).
I2C Statement : I2CWrite(0,0x4c, 0xFE, 0x14)

Last , you should be careful that for Serial connectivity RX to TX and TX to RX , Where I2C connectivity SCL to SCL and SDA to SDA

I hope this breif explanation can help.

I did not see big difference with my LCD model between Serial and I2C

I used :
Serial LCD 20x4 Blue White

I did order other models that are cheaper and waiting for the delivery , hoping not to face any problems.