IR help


Results 1 to 8 of 8

Thread: IR help

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by geckogrotto View Post
    By sampleing the pulsetrain you mean like this?
    COUNT GPIO.4, 1, Pulsedata
    There are both DIY and commercial devices that will do this. Of course, most folks who post here are wheel reinventors.

    By sampling the pulsetrain I mean checking the pin every 25µS (or less) and setting a bit in an array to indicate its state. You end up with something like...
    • 11111100000111000111000000111000111000000000000000
    which is an image of the pulsetrain where each digit represents a 25µS sample.

    IR receiver modules are active low, so you'll get an inverted output with 0s where there's IR and 1s where there's none.
    Last edited by dhouston; - 10th June 2007 at 13:58.

Similar Threads

  1. Replies: 17
    Last Post: - 12th April 2014, 02:17
  2. PIC16F877A pwm use for IR transmission
    By mcbeasleyjr in forum General
    Replies: 0
    Last Post: - 11th July 2009, 18:51
  3. Plz help in completing RC-5 IR remote lamp dimmer project
    By vu2iia in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd April 2008, 08:44
  4. PIC10F200 Automated IR Light Switch
    By Bruce in forum Code Examples
    Replies: 7
    Last Post: - 3rd May 2007, 11:40
  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