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
  • 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
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum Everbouquet MC16021E8 controller?
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 278 subscribers
  • Views 406 views
  • Users 0 members are here
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

Everbouquet MC16021E8 controller?

CalebCZ
CalebCZ over 14 years ago

Hi all, a long time ago, I bought several Everbouquet MC1602E-SYL alphanumeric diplays which employed Hitachi HD44780 controller. I used them with Atmel AVR MCUs in many my DYI projects and they worked fine, but I eventually used them all. When I tried to buy more, I found out that they are not manufactured anymore. According to the distributor, MC16021E8-SYL is the direct replacement, so I bought a few of them. Unfortunately, the displays are NOT the same, MC16021E8-SYL displays garbage if I connect it instead of  MC1602E-SYL. It appears that MC16021E8-SYL requires a slightly different initialization procedure or more relaxed signal timing (or something), because if I lower the MCU frequency and reset it several times in quick succession, the display *sometimes* initializes correctly and begins to work normally. Jugding from the displayed garbage, it appears that the MC16021E8-SYL fails to switch into 4-bit transfer mode.

 

Unfortunately, I can't find no official information about MC16021E8-SYL controller, timing information etc., not even at the Everbouquet official site. I will appreciate any help!

  • Sign in to reply
  • Cancel
  • KennyMillar
    0 KennyMillar over 14 years ago

    The data sheet at http://www.everbouquet.com.tw/Gener.htm will give you the commands and timings for the controller on that LCD module.

     

    I hope this helps!

     

    -Kenny M.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • KennyMillar
    0 KennyMillar over 14 years ago

    Further more....

     

    I think the timings and commands you need are:

     

    1. Wait >15 mS after Vdd settles.
    2. Send 0x30 to enable 4 bit mode
    3. Wait >4.1 mS
    4. Send 0x30 again
    5. Wait >0.1 mS

     

    Followed by whatever other setup commands you need.

     

    Again, hope this helps.

    Kenny M.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • CalebCZ
    0 CalebCZ over 14 years ago in reply to KennyMillar
    Strange, I have used exactly the same initialization sequence for the old MC1602E display and it worked fine... well, at least I think it is the same. I will check it out on a logic analyzer.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • CalebCZ
    0 CalebCZ over 14 years ago

    So I have finally solved the problem. And the solution was not trivial, so I will explain it here, maybe someone else will find it useful. I found two main differences in the display controller, and that's why the new MC16021E8 failed to work with the "old" software:

     

    1. Old good Hitachi HD44780 controller has one important function - if the R/S signal is toggled during two 4-bit data transfers, it aborts the transfer and any data received are discarded. The new controlled does NOT do that. The control software must therefore ensure that there is *always* even number of 4-bit communications to the display, otherwise data corruption will occur. The only exception to this rule is display initialization, which must be performed *exactly* as in the Everbouquet's datasheet.

     

    2. There are great differences in timings. And not only data bus timings, but also command timings (i.e. how long some commands take to execute). Again, datasheet timings must be met exactly, or display corruption will occur.

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