remote code learning


Results 1 to 21 of 21

Threaded View

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


    Did you find this post helpful? Yes | No

    Default Re: remote code learning

    Bruce,

    Many of the IR protocols go back 40 years or more when both remotes and receivers were less refined. The overall length of the code is not as important as the bit times. For both PPM (e.g. NEC) and PWM (e.g. Sony) the difference between a 1-bit and 0-bit depends solely on the time between rising edges and the duration of a 1-bit is usually twice the duration of a 0-bit so differentiating them is very easy. The NEC protocol is detailed in the datasheet for their µPD6121.

    I haven't tested every protocol but have tested several using either a Pronto or a device I designed a few years back (when early PDAs had a CF slot) that sent IR codes. I found the receivers were very tolerant. I've done similar tests with various RF devices (X10, ceiling fans, garage door openers, etc.) with similar results. And, while not much of a factor for this discussion, most consumer IR receivers also have a fairly wide bandwidth (±5kHz) and this does come into play as many protocols are defined using cycles of carrier rather than time.

    Even biphase protocols like Philips RC5, etc. are forgiving as their timing is contained within the code..

    That said, when designing transmitters, I tried to keep them within ±10%.
    Last edited by dhouston; - 10th May 2011 at 20:41.

Similar Threads

  1. My code for TV remote and MIBAM for RGB control
    By idtat in forum Code Examples
    Replies: 4
    Last Post: - 12th January 2013, 20:52
  2. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. Please help ? RF Remote Source code
    By sorasit46 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th April 2007, 14:40

Members who have read this thread : 1

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