![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hello forum,
I've got a DEM16216 16x2 LCD module (http://www.cypax.com/pdf/DEM16216SYH-LY.pdf) and I got it up and running and I can write characters to it. The problem is about the contrast - I think. The LCD contrast input V0 is connected through a 330R to the wiper of a 10k pot. The V0 is bypassed with 100nF and the supply is bypassed with 10µF close to the module. The contrast is adjusted to max readability. The problem is after the LCD has been initialized, it sometimes, not everytime it is powered, but sometimes (approx. half the times) writes my characters in the display, and then everything disappears from the display after a few seconds. The other half of the times, the characters don't disappear. This is what happens when the display fails: 1. Power is applied. 2. LCD is initialized and characters is written to it. 3. LCD displays the characters, but the characters are a bit dim. 4. 2 seconds later, the characters disappears. This is what happens when the display is working: 1. Power is applied. 2. LCD is initialized and characters is written to it. 3. LCD displays the characters, but the characters are a bit dim. 4. 2 seconds later, the characters become clear, the dimming disappears and the characters stay on the display. I have made a video where I connect and disconnect the power (5V) so you can see what happens. At first, the display is working, and the characters are displayed. Then I disconnect the power and reconnect it, and the display fails. Then I disconnect the power again and reconnect it, and the display fails again. Third time power is applied, the display works and shows the characters, but still with dim characters in the first 2 seconds (this is not normal LCD behavior as far as I know). Link to video (2.5MB): http://www.futterama.dk/diverse/lcd.wmv Faster download here: http://www.snapdrive.net/files/318051/Forums/lcd.wmv Any ideas? Regards, Futterama Last edited by Futterama; 5th January 2008 at 11:08 AM. |
|
|
|
|
|
|
(permalink) |
|
Update: As for now, it is working. I turned up the contrast and it seems like it's stable now. The only thing I did was leaving the LCD on for an hour or so and turning up the contrast after that.
Do a LCD display need "breaking in"? |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Please remove the cap between pin3 and pin1. this behavior will go OFF. The voltage is charging the cap and after charging fully the pot value set by you is valid. After that the display is coming. Also, the backlit appears too bright and it likely to interfere with the contrast optically. Try adding another 5 to 10 ohms in series with pin15 (LED+). It will reduce the brightness and the backlit life will increase.
__________________
Regards, Sarma. Last edited by mvs sarma; 5th January 2008 at 01:51 PM. |
||
|
|
|
|
|
(permalink) |
|
sir futterama:
what MCU did u use for the LCD? i have a problem making it work with a zilog MCU, i can't make it display characters.. all i have been able to achieve is the LCD displaying black matrices.. an experienced member at i didn't initialize it correctly.. |
|
|
|
|
|
|
(permalink) |
|
I'm using a PIC18F2550. Any PIC will do. I'm using the CCS C-compiler. If you are using C, I can post my initialization code so you can get a few hints.
Are you using the exact same LCD module (DEM16216)? |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
The brightness as the photo showed was rather high. Nothing happens so immediately. You can better operate the LED current at around 60mA to prolong the life of the display- I felt. In your case is around 90% of the rated current.
__________________
Regards, Sarma. |
||
|
|
|
|
|
(permalink) |
|
I have another problem now. I left the project sitting there for a few days. Then I turned on the 5V power, and the display came on fine. After a few seconds, the whole display turns into garbage. The second row comes first, the garbage appears from left to right and covers the line. Then it comes from left to right on the first line. It covers the whole display in about 1 second. The connected MCU is doing nothing while this is going on.
Anyone knows what happens? Edit: Actually, the MCU seems to be the problem. If I disconnect the power from the MCU in the middle of the garbage coming on, it stops. Last edited by Futterama; 11th January 2008 at 09:03 PM. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Substituting a 16x2 LCD display for 16x1 LCD display? | Dawny | Electronic Projects Design/Ideas/Reviews | 19 | Today 08:58 AM |
| wind speed meter with direction using PIC16f877A, rotary encoder and LCD 16x2 | mokh | Electronic Projects Design/Ideas/Reviews | 13 | 15th October 2007 03:20 PM |
| Writing 2 Graphics Lcd Using Pic | cyprio7 | General Electronics Chat | 8 | 18th September 2007 02:07 AM |
| LCD Troubles | Kyle-s4h | Micro Controllers | 13 | 11th September 2007 12:30 PM |
| ignition module | induction1 | General Electronics Chat | 5 | 24th November 2003 11:34 PM |