Hi everyone,
I was able to make a nokia3310 LCD works using mikroc and pic16f877. I use the codes and schematic found in this forum.
But as my program becomes bigger, the LCD display becomes erratic.
My simulation using proteus is working ok but when i put it in actual circuit, LCD will not display.
Sometimes the LCD display characters on various parts of the screen as i increase the voltage of my variable power supply. But the supply to the circuit is fix at 5Vdc using LM7805.
When the program is small it displays ok. Attach is the oscilloscope response using small program and big program. Anyone here who have encountered this type of problem?
1. Does Oscillator speed causes this? I use 20Mhz crystal, I also use 8Mhz, 4Mhz - same problem.
2. Microcontroller not capable? i use only 50% of RAM and ROM.
3. Does LCD needs filtering? I put up to 1000uF across the 5v supply.
4. There are settings in the LCD initialization that I miss?
I also observe in the oscilloscope that when i supply power to the circuit, it respond normally but after 1 sec the abnormal oscilloscope response will takes place. Hope someone here can help.
Looking forward for your response. Thanks