element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
  • 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
Experimenting with Extreme Environments
  • Challenges & Projects
  • Design Challenges
  • Experimenting with Extreme Environments
  • More
  • Cancel
Experimenting with Extreme Environments
Forum Driving the LCD - share your experience
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experimenting with Extreme Environments to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 35 replies
  • Subscribers 39 subscribers
  • Views 3864 views
  • Users 0 members are here
Related

Driving the LCD - share your experience

Anthocyanina
Anthocyanina over 1 year ago

Hi! So, I've been working on the software for this challenge and have reached the point where i need to figure out the LCD. The datasheet has a character map and and the addresses for the position of each character. I don't have much experience with driving LCDs so I'm struggling with where to start. Have any of you figured out the LCD yet? 

I found a couple threads on the arduino forum that talk about this display, with people saying you could use the HD44780 libraries, or similar to drive it. I'll be trying that with an arduino board first, but still would like to hear about your experience with this display so far. 

Thank you!

  • Sign in to reply
  • Cancel

Top Replies

  • javagoza
    javagoza over 1 year ago in reply to BigG +5
    This one is even simpler.. github.com/.../cfah2004ac community.element14.com/.../IMG_5F00_1443.mov
  • javagoza
    javagoza over 1 year ago in reply to jc2048 +5
    jc2048 A quick adaptation of your script. Works! Thanks for sharing! from smbus2 import SMBus LCD_CLEARDISPLAY = 0x01 LCD_FUNCTIONSET_4LINE_5x8DOTS_BITMODE = 0x38 LCD_DISPLAYCONTROL_ON = 0x0C LCD_ENTRYMODESET_LEFT…
  • Anthocyanina
    Anthocyanina over 1 year ago in reply to shabaz +4
    update time! when i soldered the board to the LCD, which also served as an I2C breakout board, the flux residue was so hard to clean, i couldn't get it all out. I decided to remove that board, which i…
  • javagoza
    javagoza over 1 year ago in reply to Anthocyanina

    I have had it running without problems for more than 40 days straight. But I only have the display on that I2C bus with the internal pull-up and without a logic level converter. I also have a capacitive keyboard on another I2C bus with external pull-ups and the distances are a few centimeters, with the LCD on the stripboard and with the keyboard with cables. A try except block can help you recover from errors, but it is best to fix the source of the disconnection first. Are the rest of the devices on the bus without pull-up?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Anthocyanina
    Anthocyanina over 1 year ago in reply to shabaz

    update time! when i soldered the board to the LCD, which also served as an I2C breakout board, the flux residue was so hard to clean, i couldn't get it all out. I decided to remove that board, which i should have done in the first place, and what i saw on the bottom side was awful.

    shameful reveal:

    image

    so i redid the board:

    image

    while the new board's soldering job is still far from good, i at least was able to clean it much better than the other one (isopropyl acquired), and so i plugged everything back to the pi, and it ran uninterrupted for over 12 hours ( i moved the entire enclosure to another location, so i had to power it off). i then connected the sensor with the long cable back, and it's been running uninterrupted for a few hours already. 

    it took me way too long to consider changing that board, but it appears the problem lied there in that bath of corrosion and flux See no evilSee no evil

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 1 year ago in reply to Anthocyanina

    That's great news that it's working : ) 

    Just curious, are the wires enamelled? I couldn't tell from the photos.I too like using the separate pad perforated boards for prototypes. But normally use 30 AWG 'Kynar' or 'Tefzel' wire, which solders very well, but requires a very good wire stripper unfortunately, otherwise it's just frustration using it.

    This wire stripper is excellent for 30AWG wire, but the price is ridiculous. Ten years ago, it cost £36 when I bought it, and it still works as well as new, never needed to change the blades. But now the price is close to £100 : (

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • Anthocyanina
    Anthocyanina over 1 year ago in reply to shabaz

    the wires are bare copper, that's why there's an arch on the right of the board in the first picture, as another wire ran under that one. I use 0.5mm and 0.8mm bare copper wire since stripping became too tedious. I'll use heat-shrink tubing if i need a wire to cross over a bunch of others, also seen in the first picture.

    when the prototype is too complicated, depending on the complexity, i'll either use enameled wire and deal with the tediousness of stripping the enamel, or draw a PCB with sharpie and etch it, or design a PCB in kicad and etch it. 

    that stripper looks really nice, but yes, too expensive, wow! although, with blades lasting for 10 years, that price doesn't look that bad as a long term investment

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • beacon_dave
    beacon_dave over 1 year ago in reply to shabaz
    shabaz said:
    Ten years ago, it cost £36 when I bought it, and it still works as well as new, never needed to change the blades.

    I have the Hozan branded version which I bought around 40 years ago and it is still works as new. It was around £25 back then.

    The only thing I didn't like about it was the fiddly length gauge that screws onto the side of the jaws. Fine for a single length all the time but not if you want to constantly change it.

    • Cancel
    • Vote Up +2 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 © 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