PIC10F200 Automated IR Light Switch


Results 1 to 8 of 8

Threaded View

  1. #5
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Darrel,

    Had to find some use for those itty-bitty 10F surface mount samples I had.

    The whole board with regulator, PIC, resistor, etc, fit onto the back of the IR detector. Just ran wires off to the LED.

    With 15mA through the LED I'm getting around 4' trip distance. You could get a lot more than that with higher LED current or a small array of LED's.

    Now the wife wants one for triggering some aggravating "someone left the toilet seat up again" message...;o}.

    P.S. Nice job on the instant interrupt routines. Handy stuff.

    Note: In the above comments, so no one gets confused, this;
    ; goto Pulse above is 1uS once Cycles = 0, so it takes 8uS after the LED
    ; is off before we test the IR detector output
    should read 10uS after the LED is off. I moved the bsf IRLED up a tad to adjust the LED duty-cycle.

    You can just move this up or down to adjust it as needed. Just spaced out changing the comment text.
    Last edited by Bruce; - 11th February 2006 at 00:36.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. PIC16F877A pwm use for IR transmission
    By mcbeasleyjr in forum General
    Replies: 0
    Last Post: - 11th July 2009, 18:51
  2. automated 4-stroke kill switch using PIC
    By mitchf14 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 14th January 2009, 21:08
  3. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19
  4. Light switch sensing
    By George in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 20th July 2006, 22:56
  5. how to get pic to pic communication
    By kinsiro in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th August 2005, 17:12

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