+ Reply to Thread
Results 1 to 7 of 7

Thread: What does a comparator do ?

  1. #1
    jbelectric777 Newbie
    Join Date
    Mar 2007
    Location
    Penna
    Posts
    59

    Default What does a comparator do ?

    Hi all, I have a comparator LM339M, what is its main purpose ? It has 4 inputs and 4 outputs as well as a Vcc and ground connection. When do the outputs go high ? Can you explain the basics. I do'nt have a specific purpose intended for it, I just want to know when outputs 1-4 go high or low and when and why..... Thanks in advance.... Jim
    "Yesterday is History, Tomorrow's a Mystery"


  2. #2
    AllVol Good AllVol Good AllVol Good
    Join Date
    Nov 2005
    Location
    Tennesee, USA
    Posts
    957

    Default

    Quote Originally Posted by jbelectric777
    I just want to know ... Jim
    Check out this site for all you ever need to know: home.cogeco.ca/~rpaisley4/Comparators.html
    Creationists have a world of evidence

  3. #3
    HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent
    Join Date
    Feb 2006
    Location
    Florida
    Posts
    3,081

    Default

    Here is a great site that will help you to understand most electronic devices, and it's FREE.

    http://www.datasheetcatalog.com/

    The information comes straight from the manufacturers, its faster than posting a question, and you can depend on the acuracy.

  4. #4
    lord loh. Newbie
    Join Date
    Jan 2005
    Location
    India.
    Posts
    621

    Default

    Quote Originally Posted by jbelectric777
    Hi all, I have a comparator LM339M, what is its main purpose ? It has 4 inputs and 4 outputs as well as a Vcc and ground connection. When do the outputs go high ? Can you explain the basics. I do'nt have a specific purpose intended for it, I just want to know when outputs 1-4 go high or low and when and why..... Thanks in advance.... Jim
    LM339 sounds like an analog comparator... These have two inputs and one output...

    One of the input is called the non-inverting input (+) while the other is an inverting input (-)

    When the voltage at the + terminal exceeds that at the - terminal, the output is high.

    When the voltage at the - terninal exceeds that ath the + terminal, the out put is low.

    Ex:
    + = 2.5v
    - = 6v
    Output =Low...

    if
    + =5
    - =-6
    Output=High...

    There are also some digital comparators...

    Where two digital words are compared and the output is either 1 or 0...
    Bharath Bhushan Lohray.
    M.Sc. Electronics.

  5. #5
    cyb0rg777 Newbie
    Join Date
    Jan 2006
    Posts
    120

    Default

    I think 339 needs a pull up resistor to output positive.

    Here's the data sheet ,you should get used to reading them.

    http://downloads.solarbotics.com/PDF/LM339.pdf

    You can usually google for a device number and find a data sheet.
    Last edited by cyb0rg777; 8th April 2007 at 06:58 PM.

  6. #6
    Sam Jelfs Newbie
    Join Date
    Feb 2007
    Posts
    57

    Default

    LM339 is a current sinking comparator, so the outputs are either tied to ground, for a logic 1, or high resistance, for a logic 0.

  7. #7
    Ambient Newbie
    Join Date
    Jul 2006
    Location
    Massachusetts, USA
    Posts
    376

    Default

    It is basically a saturating op-amp. A little more complicated but that is pretty much what is happening.

    I always use this site when I come across a part I do not know: http://www.datasheetarchive.com/

+ Reply to Thread

Tags for this Thread