Measuring mains load


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    R6,R7,D7 together detect FS1 blown. Detect incoming AC pulse in software.

    Remaining components detect Loading. Designed for 40W approx. Change R2 to suit your application to give you less than 1v at your desired load. Use ADC or Comparator to measure if device is ON, OFF or sideways. Do not design above 2v input to PIC as protection Zener will start to conduct and distort measurement.

    Caution, PICs 0v rail is common with supply Neutral.
    Attached Images Attached Images  

  2. #2
    Join Date
    May 2008
    Posts
    46


    Did you find this post helpful? Yes | No

    Talking

    Thank you Melanie.

    Now I couple that with a transformer-less PSU and an opto-coupler, and I have an isolated sensor.

    Just one question. Is that meant to be GP0 or VSS?
    Last edited by Freman; - 12th June 2008 at 23:21.

  3. #3
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    In this example the junction of R3/R4 is connected to GP0 - it doesn't have to be - it can be any PIC pin with ADC or Comparator analog input.

    VSS and VDD are shown not connected - it is assumed you will know what to do with them. VSS would be connected to the Neutral (0v) line - that's the SUPPLY Neutral and NOT the LOAD Netural. VDD is connected to your +5v Supply which if derived from a transformerless source is ideal (see elsewhere on this forum for examples of that).

Similar Threads

  1. 7 Segment Displays and MAX7219
    By Bill Legge in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 31st October 2010, 18:30
  2. need help in lookup
    By malwww in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 6th June 2009, 14:30
  3. Replies: 22
    Last Post: - 9th April 2007, 15:25
  4. Shorter Subroutines for MAX7219
    By exelanoz in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th March 2007, 11:35
  5. Tach Project (binary counting)...
    By Netjammer in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 18th November 2004, 12:50

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