EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
You are here: Home / Topics / Bug in displaying LCD128*64 using Atmega1280 after reset

Bug in displaying LCD128*64 using Atmega1280 after reset

|

Microcontroller › AVR › Bug in displaying LCD128*64 using Atmega1280 after reset

  • This topic has 4 replies, 3 voices, and was last updated 10 years, 1 month ago by AJISH ALFRED.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 7, 2012 at 2:10 pm #1870
    suneetha
    Participant

    Hi, My project includes 128*64 LCD on Atmega1280 kit.LCD displays different options,switch is used to select options and display another set of data accordingly which shows another options again. 
    Problem is when I Switch OFF and ON the kit, before showing main screen, it flashes last displayed content and then the main screen. I included lcd clear function in all the cases….but not sure why it is displaying so….It happens with above two level of selections..Please help me what changes I need to make.

    July 7, 2012 at 9:29 pm #8218
    AJISH ALFRED
    Participant

    Hi Suneetha,

    It happen because the data displayed last time is still there in the ‘display data registers’ of the 128*64 GLCD module. Usually GLCD module have a reset pin. You can design the circuit so that the GLCD get reset while you press the OFF button. You can also control the reset pin with your code, but I’m not sure it will work out. Better you manually reset the GLCD using a seperate switch.

    Please post the part number of the GLCD and your complete circuit, so that somebody can help you more regarding this problem.

    July 9, 2012 at 1:31 pm #8222
    Anonymous
    Guest

    Hi Ajish Alfred,

     

    Thanks a lot for your reply.I modified my code and am able to rectify my problem. What made it display previous contents after Power reset is….My initialisation code have chipselect, displayON and then clear LCD function.So after power reset,all those functions are executed making old message appear once.. then clearing the LCD.

    July 9, 2012 at 1:34 pm #8223
    suneetha
    Participant

     

    Hi Ajish Alfred,

     

    Thanks a lot for your reply.I modified my code and am able to rectify my problem. What made it display previous contents after Power reset is….My initialisation code have chipselect, displayON and then clear LCD function.So after power reset,all those functions are executed making old message appear once.. then clearing the LCD.

    July 9, 2012 at 8:53 pm #8227
    AJISH ALFRED
    Participant

     

    My Pleasure. Feel free to update here if you face any further issues with your project.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Circuit Problem August 14, 2022
  • Beam Break Sensor August 14, 2022
  • Drill speed controller fault August 14, 2022
  • uc3843 Buck-boost August 14, 2022
  • Right channel distortion on vintage fisher rs-2010 August 13, 2022

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools