Close.... I have seen this.
What I am after is whether I can or can't use the PIC pin to turn the 5v supply to the LCD (Vss / Vee) on and off.
Thank you.
Close.... I have seen this.
What I am after is whether I can or can't use the PIC pin to turn the 5v supply to the LCD (Vss / Vee) on and off.
Thank you.
Just connect display VDD to any output pin of pic.
To turn off display set to 0 all data and control pins for display, then set Vdd to 0. If output pins going to display isn't cleared, and Vdd is set to 0, that will probably damage LCD.
To power up display:
1. set Vdd pin to 1
2. FLAGS=0 'Clear PBP flags to enable LCD Init on first LCOUT command
3. PAUSE 1000 'Wait for display to turn on
4. LCDOUT $FE,1 'Clear and Init LCD
most pic chips can sink or source 20ma on each I/O pin subject to a maximum package limit .
some questions
1 what pic chip are you using ? and what other load('s) does it have
2 whats the max current requirement of the display ?
3 whats the minimum vcc for the display to function correctly ( there will be some volts lost in this process)
4 why not use a mosfet
2. 16x2 LCD usually need only 2-3mA for driving LCD without backlight. So it's not problem to drive LCD directly from pic.
3. Most LCD operate from 4.5 to 5.5V.
4. For most standard 16x2 LCD there is no need. But if you want, you could.
Bookmarks