+ Reply to Thread
Results 1 to 6 of 6

Thread: LCD screen power supply

  1. #1
    elsey.jack Newbie
    Join Date
    Jul 2009
    Location
    Detroit
    Posts
    33

    Default LCD screen power supply

    Hello everyone,

    I am using an LCD screen to display the temperature. I have a PICAXE (i.e., a PIC) microcontroller talking with the LCD screen. The prototype that I built on a breadboard worked perfectly.

    I assembled the final version on protoboard last night, but now I am getting strange behavior from the microcontroller! When the cables to the LCD are connected the microcontroller won't interface with the computer and seems to reset itself erratically when powered up. (Nothing is displayed on the LCD screen either.) The microcontroller works fine if the cables to the LCD screen aren't connected.

    I double checked all my wiring and soldering. Everything seems to be connected to where it is supposed to be.

    The things that changed between the breadboard prototype and the protoboard version are as follows.

    1. Switched 7805 voltage regulators. I didn't want to use the one I had in the prototype so I got another one from Radioshack. It seems to function correctly, supplying 4.97 V.

    2. Switched power supply from a AC-DC 5V adapter to 6 AA batteries. In the breadboard prototype I had two capacitors to smooth out the output voltage from the 7805 regulator. I had a 100 uF capacitor on the input pin and a 10 uF capacitor on the output pin. These capacitors aren't present in the protoboard version.

    Could it be the lack of capacitors? Strangely, the circuit began to work when I took a 10 uF capacitor and held it between the input pin and ground of the 7805 regulator.

    Thanks,
    Jack


  2. #2
    birdman0_o Excellent birdman0_o Excellent birdman0_o Excellent birdman0_o Excellent birdman0_o Excellent birdman0_o Excellent
    Join Date
    Feb 2009
    Location
    Montreal, Quebec
    Posts
    1,064

    Default

    The datasheet of the 7805 requires that you use a 100nf and a 220nf capacitor with the regulator (First page of DS)
    http://www.datasheetcatalog.org/data...tor/LM78XX.pdf

    You should give that a try
    Mike
    My website: www.ElectroBird.net

  3. #3
    elsey.jack Newbie
    Join Date
    Jul 2009
    Location
    Detroit
    Posts
    33

    Default

    Quote Originally Posted by birdman0_o View Post
    The datasheet of the 7805 requires that you use a 100nf and a 220nf capacitor with the regulator (First page of DS)
    http://www.datasheetcatalog.org/data...tor/LM78XX.pdf

    You should give that a try
    Isn't that only required though if you are an AC-DC adapter?

  4. #4
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,791

    Default

    Quote Originally Posted by elsey.jack View Post
    Could it be the lack of capacitors? Strangely, the circuit began to work when I took a 10 uF capacitor and held it between the input pin and ground of the 7805 regulator.
    Yes, the two capacitors round a 7805 are absolutely essential, if you leave them out you WILL have problems, perhaps not immediately, but certainly in the future (depending on supply, load, temperature etc.).

    So nothing 'strange' you left out a vital component, and it worked when you added it.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  5. #5
    Electronworks Newbie
    Join Date
    Aug 2009
    Posts
    102

    Default

    The input capacitor is essential, especially if you are going to change from one 7805 to another.

    I had the same problem - 7805 giving out 6V. Put a 47uF on the front end and all was hunky dory. Looking at the Vin signal, there was a lot of ac, even though I was running from a bench power supply. 47uF removed this.

    Also, time for dumb question of the week: what was the output of your 5V power supply.....?

    If it was only 5V then the 7805 will not have had enough drop across it to regulate. If it was >7V then it would have been OK.

    6 batteries will generate your >7V

    Bill Naylor
    www.electronworks.co.uk
    Electronics Design Consultancy

  6. #6
    elsey.jack Newbie
    Join Date
    Jul 2009
    Location
    Detroit
    Posts
    33

    Default

    Quote Originally Posted by Electronworks View Post
    The input capacitor is essential, especially if you are going to change from one 7805 to another.

    I had the same problem - 7805 giving out 6V. Put a 47uF on the front end and all was hunky dory. Looking at the Vin signal, there was a lot of ac, even though I was running from a bench power supply. 47uF removed this.

    Also, time for dumb question of the week: what was the output of your 5V power supply.....?

    If it was only 5V then the 7805 will not have had enough drop across it to regulate. If it was >7V then it would have been OK.

    6 batteries will generate your >7V

    My problem occurred after I switched from the 5V power supply to batteries. I thought I only needed the capacitors to keep the output voltage smooth, but I guess I was wrong. I'll try installing some capacitors to see if that fixes my problem.

+ Reply to Thread

Similar Threads

  1. LCD Power Supply
    By karyoker in forum Repairing Consumer Electronics
    Replies: 119
    Latest: 11th February 2010, 08:19 AM
  2. 5v and 3.3v power supply for LCD and PIC
    By cyrusthevirus in forum Electronic Projects Design/Ideas/Reviews
    Replies: 30
    Latest: 24th July 2009, 06:14 PM
  3. Replies: 2
    Latest: 7th December 2008, 12:20 PM
  4. Creating Power Supply with LCD
    By hugoender in forum Electronic Projects Design/Ideas/Reviews
    Replies: 8
    Latest: 17th June 2008, 04:35 PM
  5. Need help with lcd power supply
    By dirtyb15 in forum General Electronics Chat
    Replies: 3
    Latest: 25th May 2008, 10:17 PM

Tags for this Thread