Need Some Help Using a GLCD on EasyAVRv7

Status
Not open for further replies.

Utku1

Newbie level 5
Joined
Dec 15, 2014
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
82
Hello,

I am trying to use a GLCD, a WDG0151-TMI-V#N00 on my EasyAVRv7 board and I realized that I might need some help. The MPU I have is an ATmega32. Problem is, nothing works. For example I can't even tell if the GLCD is open or not in the photograph that I attached. I am attaching a picture of my development board in case if I have erroneous pin configurations. Also, I am attaching a file containing my code. Thank you very much in advance.

Regards
 

Attachments

  • 20141216_185239.jpg
    4.6 MB · Views: 138
  • Code.txt
    6.1 KB · Views: 70

GLCD - Timing Problem

Hello,

I am trying to use a GLCD, a WDG0151-TMI-V#N00 and I think I have a timing problem. I have to write my code in AVR assembly language and although I made the delay time 5 micro seconds between signal enable/disables (as in the code given in this page), still nothing shows up on the screen. Might it be because I am using a development board and it takes a long time for the signal travel from the MPU to GLCD? I would be very grateful if you could help me. Thank you very much in advance.

Regards
 

the link you give is have code for other mac GLCD might not same as like your GLCD.Anyways From your code I think you need to check the REST/RST pin status in your code and initialization of lcd pins like CS and Enable pin initialization missing and one more thing after turn on GLCD you need to clear the GLCD I think REST pin status issue might be problem of your not getting display on.

And try to do setting with your port setting with your hardware as it cant be seen in the picture attached.
 

Thanks. Actually I did forgot to configure the reset pin. Although it is done now, the problem persists. I am uploading the updated version of my code and a picture showing the MPU - GLCD pin connections.
 

Attachments

  • 20141217_170112.jpg
    3.7 MB · Views: 92
  • Updated Code.txt
    7.4 KB · Views: 85

I think the handling of CS1 and CS2 is not proper and I don't know much about the assembly coding but I attached C code which have all the functions hope this might helpful to you

One more thing try to check the busy condition for the GLCD this give you idea that where your code stuck..
 

Attachments

  • mylcd.zip
    79.1 KB · Views: 83

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…