PIC Beginner - Infrared Receiver and IR Protocol


Results 1 to 18 of 18

Threaded View

  1. #14
    Join Date
    Aug 2009
    Posts
    9


    Did you find this post helpful? Yes | No

    Thumbs up Two IR Protocol in one PIC

    I changed pin assign.

    The result is successfully done.

    I test ten different kind of DVD Remote. Key positions are changed but all are work well.

    Now I run my program for two different tasks using same key of two different remote (Sony and NEC Protocol).

    ** two ir protocol can use in same pic **

    Adouston,
    THANK YOU VERY MUCH for your kindly help.

    I read NEC protocol and compare code.

    Header is 9ms
    - no header found, restart
    If (stx<760) Then init
    Space between header and body is 4.5ms
    -wait space
    While PortA.2=1:Wend
    Each pulse is a 560µs long
    A logical "1" takes 2.25ms to transmit (pulse 560µs + space )
    a logical "0" is only half of that, being 1.125ms (pulse 560µs + space )

    Please let me know:
    1. How to calculate (pulse>100) is logic 1.
    2. and PULSIN_MAX 1140 . why do you use 1140

    I say again. Thanks.

    Moe.
    Last edited by komoe01; - 1st September 2009 at 09:55.

Similar Threads

  1. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 22:01
  2. PIC to PIC "wired" serial one-way communication - SERIN2/SEROUT2
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th April 2008, 21:02
  3. Infrared Receiver
    By emavil in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 8th December 2006, 02:03
  4. how to get pic to pic communication
    By kinsiro in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th August 2005, 18:12
  5. Can this IR Xmitter/Rcvr be improved?
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 24th August 2005, 12:27

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts