Zero crossing detector with hysteresis

Discussion in 'The Projects Forum' started by prdp, Jun 5, 2012.

  1. prdp

    Thread Starter New Member

    May 15, 2012
    1
    0
    hi,
    i am tying to make a Zero crossing circuit with hysteresis using LM311, can any one please tell me what power supply (Vcc+ & Vcc-) should i use to make the its output suitable for inputting to microcontroller (or what current & voltage magnitude is suitable for microcontroller). & how to calculate the value of positive feed back resistor.

    I have attached the cirsuit here with

    Thank y:)u in advance.
     
  2. crutschow

    Expert

    Mar 14, 2008
    12,977
    3,221
    There's no attachment.
     
  3. upand_at_them

    Active Member

    May 15, 2010
    246
    29
    If the signal is small (like from a radio headphone jack) you can skip the comparator and make the ZCD right at the microcontroller with a few components (cap, resistors, diodes).

    Many microcontrollers already have comparators too.
     
    Last edited: Jun 5, 2012
Loading...