please dont rip this site

IR Remotes

Wagner Lipnharski says:

IR remote are not always PWM. The most widely used code, the RC5, is not PWM, but differential signal level, what confuse people to think it is pwm. If a person who never had deal with data communication look at the output wave form of a RC5 at scope, he will say it is pwm, but its not. Each bit transmitted in RC5 has the same length, and exactly in the middle of the bit it changes level. The level transition happens from one to zero if the bit is zero, from zero to one if the bit is one, so, the second half of the bit tells you what level the bit is.

Transmitting mixed bit levels will generate patterns that someone can thinks is pwm. Example, sending bits combination of 01010101 will generate a square wave with half the frequency than sending only ones or zeros... but this is just because bits zeros start with high level, and ones with low level.

bit 0:  -_
bit 1:  _-

0000 :  -_-_-_-_
1111 :  _-_-_-_-
0101 :  -__--__-
0011 :  -_-__-_-

Some other remotes use real PWM, with a double bit time for different level, they are not difficult, but demand some more work. RC5 is easy to decode, it is just as a serial data transmitted, you just need to produce a software serial reception routine, that samples the incoming data at the middle of the second half of each bit, it is the bit level.

The bit train represent identifiers. For example, some bits identify the equipment, as TV, Radio, Tape, CD, DVD, Laser Disk, and more. Other bits means the key pressed or function.

If you want to use a remote to control something else, go for Philips remotes, they use only 14 bits and low frequency modulation, even to sync at the scope :) so a 6 MHz uC can understand it perfectly.

See Wagners excellent tutorial on this at http://www.ustr.net/infrared/infrared1.shtml

Sony Data format

 12 bits 

  Bit zero: 

  400 
  +--+   +... 
  |  |   | 
  +  +---+ 
      800 

  Bit one: 

  400 
  +--+      +... 
  |  |      | 
  +  +------+ 
       1400 

  Frame: 
               400    400 
  --+          +--+   +--+      +--+ 
    |          |  |   |  |      |  | 
    +---2600---+  +---+  +------+  +... 
                   800     1400 

Sony IR remote to serial via PIC 16F84@

trinary nine bit serial protocol

James Cameron says:

The trinary nine bit serial protocol used by Motorola MC145026, MC145027 and MC145028 "remote control" chips is used in various consumer items such as remote controls, and in the older Marklin Digital model railway. The trinary bit (trit) encoding looks like this;

         _   _   _   _   _   _   _   _   _   _   _
Osc:   _| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |

           _____________   _________________
One:    |_|             |_|                 |_|

           _               _
Zero:   |_| |_____________| |_________________|

           _____________   _
Open:   |_|             |_| |_________________|

        |<--  t(pulse) -->|

        |<-------------  t(bit)  ------------>|

Each transmission consists of two nine trit words, both identical, for redundancy. The bits are sent lowest numbered bit first.

see also:


file: /Techref/io/ir/remotes.htm, 5KB, , updated: 2005/5/11 02:49, local time: 2024/11/17 08:14,
TOP NEW HELP FIND: 
18.118.10.36:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.ecomorder.com/techref/io/ir/remotes.htm"> IR Remotes</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to massmind.ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .