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 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Blog RoadTest Internet of Holiday Lights: Apartment Lighting Extravaganza 3: LCD Screen Learning
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jdlui
  • Date Created: 30 Dec 2014 5:52 AM Date Created
  • Views 932 views
  • Likes 1 like
  • Comments 3 comments
  • RoadTest
  • iot_holiday_lights
  • apartment_extra
  • holiday
  • led
  • holidays
  • christmas
  • iot
  • arduino
Related
Recommended

RoadTest Internet of Holiday Lights: Apartment Lighting Extravaganza 3: LCD Screen Learning

jdlui
jdlui
30 Dec 2014

Slowly working away on my Arduino learning and project for the Internet of Holiday Things RoadTest. Running into some issues on the most basic learning steps such as making an LCD screen work. Maybe you have some suggestions? image

 

I got this LM041 datasheet & application note - Datasheet Archive from Robert Peter Oakes . It's sturdy built 16x4 display that seems to have weathered the ages quite well.

 

I went and bought a 10k ohm potentiometer and hooked everything up per the Arduino LCD Tutorial but I don't appear to be having much luck.

 

The thing that frustrates me most is that one of my past configurations did get my Hello World running but I managed to do something that removed it.

 

I am using the standard LiquidCrystal library and running example code such as AutoScroll and HelloWorld. As I write this I am cycling through the rest of the example codes and still seeing a lot of Greek letters.

 

image

One of the sketches causes  my text to come out in a jumble of Greek and Latin characters.

 

image

This sketch caused my text to display mostly Japanese!

 

I am currently trouble shooting this problem by removing different D Pins and seeing what happens.

 

All pins in is currently rotating the following characters: #, 3, C, S, c, s. This corresponds to the top 4 bits of the combination 0xxx, and the bottom 4 bits always being 0011.

 

image

All pins in

 

Removing DB7 and putting DB6 into Pin 2 is currently rotating the Japanese characters shown below. This corresponds to the top 4 bits with combination 1xxx, and the bottom 4 bits always being 1011. Note that appears that moving the DB6 connection to Pin 2 is causing the first bit in each nibble to hold at 1.


 

 

image

Removing DB7 from Pin 2, and connecting DB6 to Pin 2

 

Removing DB6 from Pin 3 and leaving DB7 in place seems to cause a display of t,u,v,w,l,),>,<. This corresponds to an upper nibble of 0111, and a lower nibble that is x1xx.

image

 

 

I am not quite sure what I should be doing to fix the issue but will tackle this more in the coming days. One thing to note is that these issues haven't exactly been 100% replicate-able so I apologize in advance if I have a few of the details wrong!

  • Sign in to reply
  • mcb1
    mcb1 over 10 years ago in reply to jdlui

    Jordan

    I'd be repowering the LCD.

     

    Why are removing pins?

    Yes its going to cause issues and not present the right characters.

    What are you trying to achieve.?

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jdlui
    jdlui over 10 years ago in reply to mcb1

    Hi Mark,

    I am using example sketches and still having many issues. During my experimentation with removing/swapping different pins, I am resetting the board after each change so the states should also be reset, right? Or should I fully remove power and then turn it back on?

     

    Thanks,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 10 years ago

    Jordan

    LCD's have very basic processors on board.

    They rely on a power reset when the configuration changes, and most libraries only use 4 of the 8 data lines.

     

    Removing wires without setting them high (or low) could easily cause them to be in an unknown state, so the display could easily get confused.

     

    There is an example which should get you up and running.

     

     

    mark

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