element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum how to install "I2CLCD.h"
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 4 replies
  • Answers 1 answer
  • Subscribers 402 subscribers
  • Views 358 views
  • Users 0 members are here
  • help
  • arduino
Related

how to install "I2CLCD.h"

Former Member
Former Member over 12 years ago

Ref:

I2C Keypad Controller

http://www.byvac.com/bv3/index.php?route=product/product&product_id=73

ByVac I2C Keypad Library

 

Hello

For my system, to use a LCD and a KEYPAD using I2C, i need to install the I2CLCD.h header files.

How do I do that.

I have an Arduino Ethernet board.

Thanks

Henk

 


  • Sign in to reply
  • Cancel
Parents
  • bobcroft
    0 bobcroft over 12 years ago

    Henk,

                   I also use that product and the library.  You need to install the ByVac library either into the existing libraries folder or in a folder of your own.  If you find the Arduino folder then underneath it are various sub folders, one called libraries, you can install the ByVac library there.  Alternatively there will be a folder called something like mysketches where your Arduino sketches are stored.  You can create a sub folder under the sketches folder, I called mine libraries, and install the ByVac library in the folder you create.

     

    The latter method of creating a separate folder for libraries that you add is that they are kept separate from the standard Arduino folders.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to bobcroft

    Thank you bobcroft, for the fast response.

    Question:

    There are several files,  I2CLCD.cpp,I2CLCD.pde and I2CLCD.h.

    Do I have to copy them ALL into the new mysketches/libraries folder ?

     

    Have a nice sunday

    Henk

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bobcroft
    0 bobcroft over 12 years ago in reply to Former Member

    Henk,

     

    The files that go into the library are those ending in .ccp and .h.  The .pde file is the 'sketch' that contains the program code you wish the Arduino to run.  The newest version of the Arduino IDE is version 1 (there may be sub version numbers too like 1.0.1) this version uses the file extension of .ino.  It is better, if you are new to Arduinos to try and use the newest version, in my opinion anyway.

     

    I did a bit of research into the ByVac part you have, the BV4506.  This is a 3 * 4 key pad interface and not an LCD interface, therefore the I2CLCD files are not required for this interface.  I am guessing you have an older library for this part because the makers ByVac have now made the BV4506 obsolete and I could not access the library for it.  If you were to use this part to interface the key pad to the Arduino then you would need to interface the LCD in some other way.  There is a standard library in the Arduino libraries folder for LCD's.

     

    The part I have is the BV4618 which is a combined key pad and LCD interface.  If you are able to I would buy one of these and then you can interface both key pad, 3*4 or 4*4 and an LCD to the Arduino.  You can also drive the interface with serial from Arduino or PC or I2C so it is more versatile  Once you have gained confidence with the BV4618 then you could go back and maybe use the 4506 for another poject.  I am happy to help where I can with the BV4618 because I have one and in fact I am using it for my current project.

     

    My set up for the files is as follows;

     

    C:\Arduino1\MySketches\Libraries\BV4618_I\examples.

     

    The folder BV4618_I  contains a sub folder called Examples and the .cpp and .h files.  The I on the end of BV4618 denotes this is the I2C library as opposed to the BV4618_S which is the serial library.

     

    The standard libraries supplied with Arduino are in the  C:\Arduino1\Libraries folder.

     

    When you make changes to the Arduino libraries you need to close the IDE and re-open it for the changes to be recognised by the IDE.  When correctly installed you should be able to open 'File' in the Arduino IDE and then click on Examples and you should see the BV4618_I folder listed and with in this folder will be the ino files.

     

    If you modify the example files you have to save them with a new name because the original files are read only.  Thus you might call your file myBV4618test.ino and save it in the MySketches folder.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to bobcroft

    Many thanks for your information bobcroft

    A little bit late, but out of my heart.

    Henk

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 12 years ago in reply to bobcroft

    Many thanks for your information bobcroft

    A little bit late, but out of my heart.

    Henk

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube