Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
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
    20141216_185239.jpg
    4.6 MB · Views: 91
  • Code.txt
    6.1 KB · Views: 52

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
    20141217_170112.jpg
    3.7 MB · Views: 68
  • Updated Code.txt
    7.4 KB · Views: 64

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: 60

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top