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 Arduino Project just not fully working looking for help.
  • 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 34 replies
  • Answers 2 answers
  • Subscribers 420 subscribers
  • Views 4698 views
  • Users 0 members are here
  • uno
  • arduino
Related

Arduino Project just not fully working looking for help.

mntlvr.66
mntlvr.66 over 12 years ago

Hello

I am trying to build a Distance measuring device using an Arduino UNO with a I2C LCD and Wiznet 5100 Ethernet shield and SD all combined.

I have succeeded in the W5100 part but when I add the I2C LCD library and the Wire library for the LCD,the SD part of the Ethernet  shield no longer works properly , as far as the web page is concerned. I am using "ajax" and my SD to display a dial on the web page but the part that fails, with no error codes of any kind is the web page dial. The dial will not load from the SD card. I know that I am trying to use 2 SPI devices along with a I2c device but loading the wire and the LiquidCrystal_I2C libraries and then trying the program the display has no data and neither does the web page as far as the dial goes.

Can anyone give me some insight as to why the SRF05 and the W5100 and SD and LCD don't get along. If I rem out the Wire and the I2C libraries the web page works just fine.

I have attached 2 files for my project, 1 is the code and the other is the htm file for the gauge.

 

I have uploaded the working sketch as far as the Ethernet and SD is concerned but This is only part of what I want. I would like to add the I2c LCD with its libraries and still have the Ethernet part still work.

Probably the best way to see what issue I am having is to bread board this project for youself and see if you can make it work with Ethernet card and SD card and I2C LCD. If you get it to work like I am trying then please let me know.

Thanks for I can use the help on this one.

 

Problem now solved.

Thanks much for all the insights.

 

Message was edited by:Bob Warren

  • Sign in to reply
  • Cancel

Top Replies

  • e14 Contributor
    e14 Contributor over 12 years ago +1
    I think this thread is a lesson to all of use really. Back in the day when programming on 286 based PC's with 640Kb RAM, the memory problem was forever an issue. My suggestion is to always use the "example…
Parents
  • Robert Peter Oakes
    0 Robert Peter Oakes over 12 years ago

    Most lightly it will be chip select lines conflicting , this is more viable based on you stating that if you don't load other libraries it works

     

    If you can try the other devices in the same way this would probably confirm my theory

     

    Hope this helps you in the right direction

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mntlvr.66
    0 mntlvr.66 over 12 years ago in reply to Robert Peter Oakes

    Peter

    Thank You for the insite.

    I certainly don't know of any other device that is using the same chipselectas the SD,which is pin 4 on the uno, but I am certainly not educated enough on the libraries that I am using to know if the I2C or Wire libraries use pin 4 for what they are required to do to make the LCD work.

    Hope you have a great day.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 12 years ago in reply to mntlvr.66

    If you can, post your setup, the boards and connections in as good a detail as you can, you will be amazed at what some of us in the community will spot in a good schematic and a matching code listing

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mntlvr.66
    0 mntlvr.66 over 12 years ago in reply to Robert Peter Oakes

    Peter

    I did post the Sonic_Depth_Testing "ino" file as an attachment also I attached the index16 "htm" file the SD drive uses.

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • mntlvr.66
    0 mntlvr.66 over 12 years ago in reply to Robert Peter Oakes

    Peter

    I did post the Sonic_Depth_Testing "ino" file as an attachment also I attached the index16 "htm" file the SD drive uses.

    Thanks

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