LCD on/off


Closed Thread
Results 1 to 6 of 6

Thread: LCD on/off

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by lerameur View Post
    still get some very dim light back light.
    That dim backlight is the result of the Digital inputs bleeding thru the ESD protection diodes on the HD44780, and providing a voltage on the VDD to the LCD. Even though the switch is Open. This will also power the LCD itself. (to some extent)

    If you remove power to the LCD, you must also remove the digital levels from the inputs.

    If you have an extra pin on the PIC, you can use it to detect when the switch is turned off. Then set all LCD data,RS,E outputs to High-Z (input).

    When it senses that power has been restored, it can then set 'FLAGS = 0' to force an Initialization again. You only want to do that once per Power-up of the LCD.

    But frankly, it would be better to control the LCD's power with the PIC, instead of a switch. A single transitor on an output PIN will do the job.

    A pushbutton can be used to turn on the LCD, then after a period of time, the PIC can turn it off again by itself. Then, by having this control, it knows exactly when it needs to turn off the Digital lines too.

    HTH,
    DT

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    But frankly, it would be better to control the LCD's power with the PIC, instead of a switch. A single transitor on an output PIN will do the job.
    Most LCDs (not including backlight) draw far less than 25mA, don't they?
    Why can't the PIC pin itself supply the power for the LCD? Maybe a 2nd pin handles the backlight.

  3. #3
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default Melanie's Marketing Tip #1 for increased sales...

    Most modern LCD's draw uA and not mA (excluding the Backlight). I usually control the Backlight with a spare PWM pin from the PIC so that the user can set their own comfort level for the intensity (do a search on the forum for Easy LCD Contrast or Easy LCD Backlight). Just turning the Backlight to OFF (switching-off the PWM in my case) is enough to reduce LCD Power Consumption by 99.99% and then gives you the right to claim that your product is energy friendly, contributes to saving the planet, reduces worldwide CO2 emissions, is the preferred product of purchase by Tree Huggers, Penguins and Panda's etc etc. Marketing department just loves this crap... the rest of your gizmo can suck your local Power Station dry, but switching that Backlight is the one visible thing that gives the end-user the perception that you're ECO-friendly. If you've got it, flaunt it - after all, you've nothing to lose!

Similar Threads

  1. Is this code not initialising the LCD properly?
    By Platypus in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 30th January 2010, 19:14
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 19:54
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts