error in lm358 comparator circuit

Discussion in 'General Electronics Chat' started by Avicreats, Apr 17, 2013.

  1. Avicreats

    Thread Starter New Member

    Jan 18, 2013
    Hello everyone,I am designing an signal conditioning unit. Everything is working except the comparator circuit.I have used an lm358 ic to compare the voltage.
    The supply voltage is 24 and 0.The inverting input is set as 5 volt as reference and non inverting input is varying from 0 to 10v.
    i hav learned that if voltage is less than 5v, the output must be 0 and if it is more than 5v,then op must be 24.
    But the output is varying like when input is around 9v then output is 22v,8v then output is 20v,and varying(floating output).can anyone help me in this.
  2. tubeguy

    Well-Known Member

    Nov 3, 2012
    It would help if you could post a schematic of your actual circuit.