How to detect Line Voltage


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default Re: How to detect Line Voltage

    Hi Ionnis,

    There doesnt have to be too much heat dissipation. An opto like what Henrik suggested (my favourite in that category is PC814/817 for its compact 4 pin dip package) would need about 100K in series with mains. So, this resistor would dissipate slightly over half a watt; a 1 watt resistor should do fine.

    Also, you arent interested in any timing issues here, just the presence or absense of the signal. So, you can afford to have a slower changing waveform per cycle on the opto's output. In which case, you can increase the 100K further, perhaps right upto 220K, to reduce the dissipation even further.

    And, if you use an opto with just one diode, your series resistor would heat up even less.

    Regards,

    Anand Dhuru

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: How to detect Line Voltage

    And, if you use an opto with just one diode, your series resistor would heat up even less
    Nah, be careful there. In that case you'll need an external diode across the LED in the isolator since the LED can only take a couple of volts (6V for the PC817) in the reverse direction and then the current going thru that diode will have to go thru the resistor(s) as well. That's the main reason I suggested the dual LED isolator.

    If the PIC is isolated you could live with a voltage divider and a zener and then direct to the PIC input.

    /Henrik.

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: How to detect Line Voltage

    Anand: I have to make an extended research for the opto coupler that need the less current.

    Henrik: unfortunately it will not be isolated. The voltage divider would be a good option in that case.

    The other idea would be to use a small(?) relay with coil directly made for line voltage. But regarding the wasted power, it would be not so good one.

    Ioannis

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: How to detect Line Voltage

    Here is a schematic.

  5. #5
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: How to detect Line Voltage

    I would use a single led opto rather than a dual and put a 1N4004 diode and appropriate resistor in series with it.
    Dave Purola,
    N8NTA
    EN82fn

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