United Kingdom
Asked — Edited

I2c Lcd Displays

I have noticed that some of you are having problems with using I2C LCD displays so hopefully this may help.

User-inserted image

The serial displays I use are the LCD05

http://www.robot-electronics.co.uk/acatalog/LCD_Displays.html

Here is a script example of how to use it in I2C mode


#SayWait("LCD Demo")

first clear the screen and hide the cursor

i2cWrite(0,0xc6,0,12,4,19)

sleep(1000)

print at 1,3 first message

i2cWrite(0,0xc6,0,3,1,3,"The EZ-B is now")

sleep(2000)

next print at 2,2 second message

i2cWrite(0,0xc6,0,3,2,2,"displaying on LCD")


ARC Pro

Upgrade to ARC Pro

ARC Pro is more than a tool; it's a creative playground for robot enthusiasts, where you can turn your wildest ideas into reality.

United Kingdom
#1  

Thanks, this may come in very handy should my LCD I ordered from China about 3 weeks ago not turn up this week.

PRO
United Kingdom
#2  

Rich the command codes for the Chinese displays will probably be different, the LCD05 has a hybrid PCB (with a PIC microcontroller) on the back that handles the comms.

I can really recommend the LCD05 displays, that work well and are a good price.

United Kingdom
#3  

I bit the bullet and ordered one, hopefully it'll be here this week and I can get it mounted and set up. Just writing the scripts for it now in preparation:)