AC Signal...


Results 1 to 19 of 19

Thread: AC Signal...

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    You obviously have a death wish.

    The 16F84 has no A/D... and even if it did, it wouldn't help you.

    The attached schematic might increase your life expenctancy (or that of your PICs). C1 is a 10nF 1kV Disc Ceramic (good for 110-240vAC). It's there to limit the current going through IC1 which is an opto isolator like Cosmo's K1010. D1 a 1N4007 is there to stop the reverse-bias voltage killing the opto's LED emitter. The PIC's pin needs a pull-up to +Vdd, or use one of the weak-pull-up's on PortB. Add your own Fuses (if required and as appropriate to your application) on the AC Input line. 50mA is more than adequate.

    The PIC will see a pulse at the frequency of your AC supply. Check for it using COUNT or PULSIN or whatever method you prefer. No Pulse, No AC. I use this method (or variations of it) to detect AC Supply Phase Failure, Fuses Blown etc etc.
    Attached Images Attached Images  

Similar Threads

  1. Measuring p-p of a 1.5v to 12v ac signal?
    By sccoupe in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th October 2009, 16:22
  2. Decoding an incoming infrared signal: need advice
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 9th May 2008, 16:28
  3. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 14:19
  4. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  5. Rc signal help
    By geckogrotto in forum mel PIC BASIC Pro
    Replies: 42
    Last Post: - 27th August 2006, 00:10

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