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
    About the element14 Community
  • 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 Have a question on Arduino? Ask our expert Simon Monk
  • 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
  • Replies 437 replies
  • Subscribers 445 subscribers
  • Views 20589 views
  • Users 0 members are here
Related

Have a question on Arduino? Ask our expert Simon Monk

patkelly
patkelly over 14 years ago

This thread has been closed to new questions.

However, we welcome you to Post Your Question about Arduino in the element14 Community Arduino group.  You'll find many fellow members and experts who have just the answer you're looking to find! 

 

Thank You, Your Friends at element14 Community

 

 

 

Expertise: imageArduino, .NET Gadgeteer, IOIO, embedded computing, open source hardware


About Simon: Simon is an author, writing books for TAB/McGraw-Hill and O'Reilly. He is best known for his Arduino books: 'Programming Arduino' and '30 Arduino Projects for the Evil Genius'.

 

Simon has a BSc. in Cybernetics and Computer Science and a PhD. in Software Engineering. He spent several years as an academic before he returned to industry, co-founding the mobile software company Momote Ltd.

 

If you need help on anything about Arduino, please post your question here!


 

If your not already, you'll need to login or register to ask your question - just click reply

 

The specified item was not found.

  • Sign in to reply
  • Cancel

Top Replies

  • mcb1
    mcb1 over 13 years ago in reply to aml +2
    Aml I presume you have set the board to UNO under tools, along with the Com port. Have you tried at least the first 10 bullet point s under the link see http:// (You can also select it under hlep on the…
  • simon.monk
    simon.monk over 14 years ago in reply to e14 Contributor +1
    @ jagadeshwaran http://arduino.cc/en/Hacking/Bootloader?from=Main.Bootloader
  • simon.monk
    simon.monk over 14 years ago in reply to e14 Contributor +1
    @ang. This isn't really a task for an Arduino. It does not have nearly enough memory to store a whole image and manipulate it like that. I would not be surprised to find some PC application that would…
  • ntewinkel
    ntewinkel over 14 years ago in reply to sheltoncyril

    Hi Shelton,

     

    Yes, it should be possible to build your own.

    This blog shows details on what they did to make a line following robot, and includes a diagram of how the sensor works, with a circuit diagram.

    http://www.ermicro.com/blog/?p=1097

     

    Hope that helps image

     

    Cheers,

    -Nico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • sheltoncyril
    sheltoncyril over 14 years ago in reply to ntewinkel

    thanks a lot !!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • sheltoncyril
    sheltoncyril over 14 years ago in reply to sheltoncyril

    i also have an arduino, can it be used to make a line followin robot??

    an arduino uno

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago

    I need to drive an I2C liquid crystal display (FEC: 206-3203) using an Arduino mini-pro, as part of the control system of an item of equipment to be manufactured in small quantities. I had hoped that using ready made libraries would speed the development, but it seems maybe not as much as I had hoped.

     

    It seems that the LiquidCrystal_I2C library I downloaded is not suitable to drive this display - does anyone know of one that is suitable?

     

    Failing that I need to choose the best way forwards. One approach would be to wire in an ISP connector and program it all in C. (I am not yet a very experienced C programmer but have coded several embedded projects including one using I2C. My core skills are power electronics and analogue.) Another approach would be to stay with Arduino code and use the I2C library to write display drivers using Sketch. This might be quicker if it works, but is it likely to hit a roadblock somewhere forcing me to start again and use C?

     

    In either case there will have to be some trial and error because the data sheet for the display is only almost clear on how to use it.

     

    Can you suggest another and better approach to try?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • simon.monk
    simon.monk over 14 years ago in reply to e14 Contributor

    Have you tried the I2C LCD library that comes with the Deuligne LCD deisplay?

     

    http://shop.snootlab.com/lang-en/snootlab-shields/135-deuligne.html

     

    You may find that you can adapt the C for this library to work with your Arduino sketch if the messages are different.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago in reply to simon.monk

    I tried this library, and its own Hello World demo gave me an error message at compilation:

     

    C:\Programs\Arduino\libraries\Deuligne/Deuligne.h:68: error: conflicting return type specified for 'virtual void Deuligne::write(uint8_t)'

    C:\Programs\Arduino\hardware\arduino\cores\arduino/Print.h:48: error:   overriding 'virtual size_t Print::write(uint8_t)'

     

    If I could make the display respond at all, I imagine that would be about half the work of the entire project done.

     

    I don't have time now to learn enough about C++, as distinct from C, to have a reasonable chance to correct this code, so:

     

    The remaining question is whether it is better to write the display initialisation and subroutines to write to the display in Sketch, or whether it is better to wire in an ISP header and program it all in C, building on bits of code I have already written. Have you any insight into which is more likely to work out better?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • simon.monk
    simon.monk over 14 years ago in reply to e14 Contributor

    Arduino sketches are just C, occasionally using C++ but only as libraries. Also, if you have written functions in C, you can just paste them into your sketch.

     

    I would forget about trying to integrate any of you other code until you have got the simplest possible hello world example working with just the screen and an Arduino board.

     

    If you have the datasheet for the I2C screen and know what kind of messages it expects, then use the Arduino Wire library (http://www.arduino.cc/en/Reference/Wire) to send it those messages.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago

    Absolute noobie - please accept my ignorance - looking to learn. Question regarding results of Uno and LCD w/I2C Controlled + Keypad Shield kit (Adafruit PID# 772)

    Assembled LCD assembly w/o any apparent problems. Shield sits well ontop of UNO.  Uploaded the Adafruit specified "Hello World" sketch. Upon applying power (8x1.5 alkaline AA) the LCD screen lights a bright blue for app 0.5 sec then goes dark.  The words "Hello World" display faintly, along with the counter which increments 1 per second.

    Question one:  Is the blue background that initially displayed, supposed to remain lit?

    If I press the "Select" buttion, the blue screen illuminates, the word "Select" is displayed, and the counter continues to increment.

    Question 2:  Is this what is supposed to occur?

     

    I'm sure there are more queries to come, but need to wrap my head around this first.

     

    Thanks.

     

    Ken

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • billabott
    billabott over 14 years ago in reply to e14 Contributor

    Welcome to The 'Duino Zone.  The chances of finding someone to help with experience with your exact equipment or probliem is much greater over at the vendor's forum.

    Even LadyAda endorses this policy when she says: "If you need help getting other LCDs to work, please contact the place you purchased it from, they'll be happy to help!"

     

    PhotoImportant Info
    imageimage

    Never the less, I will endevor to assist you.


    Point number ONE:  Zee little orange pot on zee right hand side is for adjusting zee contrast of zee LCD display screen.  You should gently  adjust it as needed.

     

    Point number TWO:  One or more of your batteries could  be bad, which usually results in diminished voltage level and/or current capacity.

     

    Point number THREE:  According to the data sheet for the HD44780 you are over driving the display voltage wise.  It says: Power supply for LCD drive VCC –V5 = 11 V (max).  That might be confusing but the other way that is said is easy to understand:  Wide range of liquid crystal display driver power is 3.0 to 11V

    Your battery power pack is 8*1.5=12 V.  I would find a way to cut back on the voltage a bit; I think it will help the display to last longer.

     

    Point number FOUR:  The data sheet for the I2C port expander chip makes mention that the chip will function as intended when the circuit design meets these requirements:

    Operating voltage:

    - 1.8V to 5.5V @ -40°C to +85°C

    - 2.7V to 5.5V @ -40°C to +85°C

    - 4.5V to 5.5V @ -40°C to +125°C

    And I don't see any voltage regulator chips installed on that shield.  The user guide should have indicated to you the appropriate input voltage.

     

    Point number FIVE:  IMHO, optimum care and feeding of this shield calls for 4.5 volts.  That is only three 1.5 volt cells and the shield will even function reliably under most conditions with only 3 volts. 


     

    And just so you know:

     

    -=Syntax Matters=-

     


    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • simon.monk
    simon.monk over 14 years ago in reply to billabott

    See that little trimmer above the switch. Turn it with a screw-driver it should adjust the screen contrast.

     

    Did you load a sketch onto your Arduino? What were you expecting it to do?

     

    As to the other questions - Billabot is right - join the Adafruit forum, they are pretty good.

     

    Explore!

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<>
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 © 2026 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube