Serin serout problem


Closed Thread
Results 1 to 40 of 337

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    it is TO-220,
    by the way I once saw a sheet with all the packages types on the digi key web site, I cant seem to find it anymore. Would you have a similar sheet?
    But instead of using 7809 and 7805, I think I will use a 2amp or maybe a 3 amp regulator it wont cost more.
    k

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by lerameur View Post
    it is TO-220,
    by the way I once saw a sheet with all the packages types on the digi key web site, I cant seem to find it anymore. Would you have a similar sheet?
    But instead of using 7809 and 7805, I think I will use a 2amp or maybe a 3 amp regulator it wont cost more.
    k
    If you pull up a search on digikey for 'regulator', 'fixed', '5v', it should be able to show you pretty much all of the packages they have available.

    Quite frankly, there's got to be something else going on. 1 watt on a TO-220 7805 isn't that much...and again, quite frankly, if the regulator isn't shutting down, I don't think it's getting too hot to worry about. The datasheet I've got for the TO-220 case shows a temp rise of 65C/watt without a heatseak (junction to air) and a max operating temp of +125C. That tells me that something just short of 2watts is safe. You're dumping 1.54watts, 1.54 x 65 = 100C. That's hot, but not really that HOT...especially if you've got a heat sink on it which will really drop that 65C/watt number to something more normal-ish.

    In short, as long as it's not shutting down, you're good. If you're still worried about it, pull down a few datasheets and have a look at a thing called an 'external pass transistor'. Basically, you use the regulator to control the base of an external transistor which bypasses just enough juice to keep the regulator working and to basically do all the work for the regulator.

    If not that, go ahead and parallel a couple of 7805's. Just keep in mind that 7805-A might be set at a slightly higher voltage than 7805-B, so you need to put a small value/high wattage series resistor inline with each output, or in bad cases, you'll have to isolate each regulator's output from each other with an inline diode.

    Try it out...you won't hurt anything. At worst, they'll overheat and shut themselves off until they cool off...

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Every whichaway

    Hi Ken,
    I'm looking at your pictures and I have to ask, are you sure you have that regulator plugged in right, because if it's backwards it will still work (kinda) and will get hot. With the metal tab against the table and the leads pointing down, the terminals are numbered 123, 1 is input, 2 ground and 3 is output.
    JS
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  4. #4
    Join Date
    Oct 2006
    Location
    Cape Town SA
    Posts
    23


    Did you find this post helpful? Yes | No

    Default

    I come across many LCD's with incandescent globes inside them not LED's for the backlight, and designing the resistor for a 2.4V led will result in a whack of over-current. Just increase the series resistor to the backlight pins untill the display is only as bright as it really needs to be (try 150 ohms), this will certainly get you out of trouble with the regulator, and as they already advised you, feed it from the 'raw' side of the regulator not from the 5V regulated side. The backlight is completely isolated from the 5V rail of the LCD.

  5. #5
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    I actualy tried the 150 Ohm, and it gets hot just as fast.
    NO the regulator is installed correctlt, with the 12v pin (1) on the outside, far away of the IC.
    I cant play around too much with the circuit now, I will try it as is see, or get myself a 2amp regulator. Have to go to the store anyway to get an Lm331.
    thanks
    ken

  6. #6
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    HI
    I am back working on my remote control code. I previously had two input for A/D. I needed to add another for my voltage checker. I used port B7 for the an6. or pin 13 on my pic16F88. When I dont put in the pic chi I read a voltage, say 0.8 volt. But when I put in the chip I do not read any voltage.
    I tried the same circuit on a bread board and it do not do that. Could it be hardware or software. here is bit of the code:

    just read below
    Last edited by lerameur; - 4th February 2007 at 02:46.

  7. #7
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    I finally found where the problem lies but dont know how to fix it. The led blinks but after 4-5 blinks, with the subroutine , it stops. If I dont put a subroutine it keeps on blinking. here is my program.
    thanks

    INCLUDE "modedefs.bas"
    @ DEVICE PIC16F88 , HS_OSC , WDT_OFF , PWRT_ON , BOD_ON , LVP_OFF , PROTECT_OFF
    DEFINE OSC 20 'use external 20mhz crystal
    CMCON = 7 : ANSEL = 0 : ADCON1 = 7

    Define ADC_BITS 8 ' Set number of bits in result
    Define ADC_CLOCK 3 ' Set clock source (3=rc)
    Define ADC_SAMPLEUS 50 ' Set sampling time in uS

    ADCON1 = %00100010 ' Set PORTA analog and RIGHT justify result, ADCON1 = %10000010 for 10 bit
    ADCON0 = %10010010
    TRISA = %11111111 ' Set PORTA to all input
    TRISB = %10000000
    input1 var byte
    loop:

    ADCIN 6, input1
    pause 30

    if input1 > 255 then
    portb.3 =0
    else
    goto blinker
    endif
    goto loop

    Blinker:
    portb.3 =1 ' Turn on LED connected to PORTB.6
    Pause 500 ' Delay for .5 seconds
    portb.3 =0 ' Turn off LED connected to PORTB.4
    Pause 500 ' Delay for .5 seconds
    return

    end
    Last edited by lerameur; - 4th February 2007 at 03:20.

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 21:58
  2. PIC16f877 code crosses boundary @800h
    By inventosrl in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th April 2009, 23:03
  3. serout and serin problem
    By nicolelawsc in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th April 2006, 20:44
  4. Replies: 11
    Last Post: - 13th July 2005, 20:26
  5. SerIn and SerOut
    By Dwayne in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 21st July 2004, 16:54

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