Reply to topic  [ 42 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Serial I2C LCD 1602 Module (HCARDU0023) 
Author Message

Joined: Wed Nov 06, 2013 6:38 am
Posts: 7
Post Re: YwRobot Serial I2C LCD 1602 Module (HCARDU0023)
I just got the same display, exactly like the photo posted and couldn't find any code that worked on the net. I'm new at programming so
there's no way I could do it. I saw the photo of the one with the Hobby Components URL on it an thought I hit the jackpot
so I:
1. connected the pullups to A4 & A5
2. and downloaded the zip file and copied the Keywords.txt and LiquidCrystal_I2C.h to the My Documents\Arduino\Libraries\LiquidCrystal_I2C folder 3. opened the IDE and selected Sketch\add file and selected the "ARD_LCD_HCARDU0023_I2C_Hello_World_Example"

Result: numerous compile errors.
I'm so new at this I'm probably doing something wrong.

Any thoughts?


Fri Nov 15, 2013 3:41 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 697
Post Re: YwRobot Serial I2C LCD 1602 Module (HCARDU0023)
There should be more files in the downloaded library folder. Most important of which is a file called LiquidCrystal_I2C.cpp

Check you have these files and that they have been copied to your My Documents\Arduino\Libraries\LiquidCrystal_I2C folder.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Fri Nov 15, 2013 6:41 pm
Profile

Joined: Wed Nov 06, 2013 6:38 am
Posts: 7
Post Re: YwRobot Serial I2C LCD 1602 Module (HCARDU0023)
I'm a bit confused about the libraries for the YwRobot I2C LCD.
I've found 3 different links , two of them point to a library called LCDI2C, the other to one called Liquidcrystal_I2C.
-------------------------------------------------------------------------------
https://bitbucket.org/pfeerick/web4robo ... controller
(LCDI2C)
-----------------------------------------------------------------
https://bitbucket.org/pfeerick/web4robo ... ?at=master
(LCDI2C)
-----------------------------------------------------------------------------------
https://bitbucket.org/fmalpartida/new-l ... /downloads
(Liquidcrystal_I2C)
--------------------------------------------------------------------------------------
As far as I can surmise, the procedure is unzip them and copy the folder to C:\Program Files\Arduino\Libraries (32bit)
or C:\Program Files (x86)\Arduino\Libraries (64bit).
Am I to assume that the only files really necessary in THAT folder are the *.h file and the Keywords.txt and ALL the
OTHER files (and there are many) can go anywhere temporarily but eventually get converted to a *.ino file in
My Documents\Arduino\Libraries ?
Are there any other instructions that are not explicitly stated or are they many assumptions about what the individual
downloading it knows in terms of what to do with the files ? I'm new at this so I don't know what is expected of me
when I download something like this. Would anyone care to enlighten me ?


Fri Nov 15, 2013 9:17 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 697
Post Re: YwRobot Serial I2C LCD 1602 Module (HCARDU0023)
Quote:
I'm a bit confused about the libraries for the YwRobot I2C LCD.
I've found 3 different links , two of them point to a library called LCDI2C, the other to one called Liquidcrystal_I2C.

You need to download the library that is attached to the first post in this thread. It is important to use this version, if your LCD is the same make as the one we sell, as libraries downloaded from elsewhere may not work correctly.
Quote:
As far as I can surmise, the procedure is unzip them and copy the folder to C:\Program Files\Arduino\Libraries (32bit)
or C:\Program Files (x86)\Arduino\Libraries (64bit).

Correct.
Quote:
Am I to assume that the only files really necessary in THAT folder are the *.h file and the Keywords.txt and ALL the
OTHER files (and there are many) can go anywhere temporarily but eventually get converted to a *.ino file in
My Documents\Arduino\Libraries ?

No, generally the entire contents of the folder, including the folder itself, must be copied to the libraries folder. The .cpp file is very important as it contains the actual code of the library.
Quote:
Are there any other instructions that are not explicitly stated or are they many assumptions about what the individual
downloading it knows in terms of what to do with the files ? I'm new at this so I don't know what is expected of me
when I download something like this. Would anyone care to enlighten me ?

The official Arduino website has some great tutorials and instructions on how to use the Arduino development environment. The following link will explain about how to install libraries: http://arduino.cc/en/Guide/Libraries

I recommend using the manual install method

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Sat Nov 16, 2013 10:36 am
Profile

Joined: Sat Nov 16, 2013 3:47 pm
Posts: 1
Post Re: YwRobot Serial I2C LCD 1602 Module (HCARDU0023)
Hi all.
The LCD display works very well.
The support service is excellent too.
Please,could someone post some code for the raspberry?
I followed the instructions as per tech2077 blog but I'm not so goo for let it works.
Tkank you very much.


Sun Nov 17, 2013 4:03 pm
Profile

Joined: Mon Sep 15, 2014 7:03 pm
Posts: 12
Post Re: YwRobot Serial I2C LCD 1602 Module (HCARDU0023)
Hi Andrew.
I've moved my post here to the general section.


Fri Oct 10, 2014 3:08 pm
Profile

Joined: Wed Oct 01, 2014 5:40 pm
Posts: 15
Post Re: YwRobot Serial I2C LCD 1602 Module (HCARDU0023)
Is there any difference between the library for this model and the library for the I2C 20 x 4 LCD display.?


Sun Nov 30, 2014 12:53 pm
Profile

Joined: Wed Oct 01, 2014 5:40 pm
Posts: 15
Post Re: YwRobot Serial I2C LCD 1602 Module (HCARDU0023)
Is there any difference between the library for this model and the library for the I2C 16 x 2 LCD display.?


Sun Nov 30, 2014 12:53 pm
Profile

Joined: Wed Feb 25, 2015 10:23 am
Posts: 3
Post Re: YwRobot Serial I2C LCD 1602 Module (HCARDU0023)
Awesome!!!
Setup in no time with the included library.
The examples included in the download were very helpful also.


Wed Feb 25, 2015 6:48 pm
Profile

Joined: Tue Jun 09, 2015 6:55 pm
Posts: 1
Post Re: Serial I2C LCD 1602 Module (HCARDU0023)
Hi,

For those new to the Arduino, note that the analog pins you need are marked A4 and A5.

Thanks
Simon


Tue Jun 09, 2015 7:13 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 42 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD