LCD backlight controlled by software how to ?


Closed Thread
Results 1 to 5 of 5
  1. #1
    serandre's Avatar
    serandre Guest

    Default LCD backlight controlled by software how to ?

    Hello,

    I would be thankfull if someone could show me a schematic that uses an ouput pin of a PIC to turn on/off the LCD backlight. So if the pin is High(on) the backlights turns on and if the pin is Low(off) it turns off the backlight.

    I have measured the backlights and it eats lots of ma (about 200ma) it's too much to be leave on all the time, so a control by software would be so nice.

    Thanks!

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


    Did you find this post helpful? Yes | No

    Default

    The forum has a SEARCH facility...

    http://www.picbasic.co.uk/forum/showthread.php?t=794

  3. #3
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default If your PIC supports a HPWM use it.

    Hi,

    I generally use PIC18F452 for my designs. When I do not use the HPWM for other purposes I use it to drive the backlight. If the LCD is only a status indicator then it dims in normal conditions. Depending on the program flow (Alert/Menu) I increase the backlight. Saves power and my 5 volt regulator runs cool too.

    Sorry I looked up melanies thread after my post. So my post can be ignored as it says everything for itself.
    Last edited by sougata; - 11th April 2006 at 14:57.
    Regards

    Sougata

  4. #4
    Join Date
    Jun 2005
    Location
    Mumbai,India
    Posts
    43


    Did you find this post helpful? Yes | No

    Default "Cool" LCD backlight

    Most of the LCDs with backlight are having 2 LED pins and they consume
    100mA at 4.4Volts. Consider this with power consumption of LCD module which is just about 1mA !!!
    I think one should apply switching circuit to energise the LEDs and
    save the power. For example if we drive the -LED terminal with the BC639
    and some 10 ohm resistor to limit the current to 100mA then with 10% duty
    cycle the LCD backlight will be same as driven by direct +5V. Only disadvantage will be another ckt to produce this driving or use spare HPWM
    signal. I hope then the +5V regulators would run "cool".
    I have used circuit like this for LED displays and they appear so bright
    as directly driven.

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Personnally, i will never use the 5Volt line to drive the LCD backlight... i'll use the voltage at the input of the regulator (let's say 12 Volt) This signal will be send the the Anode (via resistor or not if the LCD already have some built in), and the cathode will be driven by a transistor (or mosfet, a spare ULNXXX or else driver) attach to a spare HPWM i/o of the PIC. Playing with the duty cycle, you can provide few interesting backlight intensity.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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. LCD Backlight Proper Wiring
    By DavyJones in forum General
    Replies: 11
    Last Post: - 26th July 2009, 23:01
  3. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 14:19
  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. Easy LCD BackLight
    By Melanie in forum Schematics
    Replies: 0
    Last Post: - 17th October 2004, 13:18

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