Skip to main content

Understanding IR Remote Controls - Part 3

We talked about the basics of IR (Part 1) and the SIRC protocol (Part 2). Now let's see how RC 5 protocol works.

RC 5

RC 5 was introduces by Philips. It uses IR pulses modulated to 36 KHz. The logic level encoding is simpler than in SIRC.

RC 5 Logic Levels
Logic '0' is represented by an IR pulse of 0.9ms and then waiting 0.9ms. Logic '1' is the complete opposite, 0.9ms waiting and then 0.9ms pulse. Therefore, both '0' and '1' have a similar 1.8ms pulse width.

As in SIRC, a command in RC 5 is also sent as a data packet. Its structure is as follows.

RC 5 Data Packet

As you can see, RC 5 has 2 start bits, which are always '1'. The address part and the command part are 5 bits and 6 bits respectively. Their function is similar to those of SIRC. The bit marked as 'T' has a special purpose. If you press the same button of the remote several times, the 'T' bit will toggle between 0 and 1. If you press and hold the button, the value of the 'T' bit will remain the same as the command repeats.

The RC 5 protocol is especially popular among inventors because it's easier to implement. Remote control systems based on the RC 5 protocol are both common and cheaper than others. If you have a basic understanding of microcontroller programming, you will note that RC 5 is easy to implement using microcontrollers, which I will be testing out soon....

I will do a post on how IR sensors work soon.

Special thanks to Vidusara newspaper, from which I gained this knowledge.

Comments

  1. Do you think that having 'T' bit would make a significant difference in application of RC5 protocol compared to the SIRC protocol? If so, in what ways?

    ReplyDelete
  2. Well, using the 'T' bit, we can identify if a button was simply pressed and released or pressed and hold. So, a single button on the remote control can be assigned two different functions - one for simply pressing the button and one for pressing and holding. That effectively doubles the potential functionality of the remote.

    ReplyDelete

Post a Comment

Popular posts from this blog

Selecting the Correct Gauge Wires for your RC Models

When we are building RC models (aircrafts, multicopters etc.), something we typically overlook is what type of wires to use to distribute power in them. Usually, we try to reduce the weight of the model, so we tend to go with smaller wires. But, we cant expect to put in small circuit-wires and have them handle the amount of power needed. If you look at the wires that comes in the output leads of a Li-Po, or the wires that comes on a standard XT Jack, you'll notice that they're quite huge. Large gauge wires on a Li-Po and XT connectors These need to be huge to handle the amount of amperage that goes through them. So, we should also consider the amperage, and the length of wire needed when selecting the size (gauge) of the wires.

Make Your Own Jupmer Wires for Electronic Breadboard

Note: After starting the 'Tips and Tricks' section I wanted to do my own 'tutorial'. So, here's my first attempt of it. Hope you all find this useful, and sorry about the low quality of the photographs, my camera is just a 2MP. If you, like me, like to experiment with electronics, then you'd probably use an electronic breadboard (also known as protoboard or project-board). These allow you to construct and test circuits without the need to permanently soldering the components. The problem with these is that you have to use wires to connect the components across the bus lines. We normally use single core circuit wires for this purpose, but they tend to bend, break and get stuck in the breadboard when used repeatedly. This may cause short circuiting the bus lines and could be the failure of your circuit. A better option would be to buy a 'Breadboard Jumper Wire' kit, such as this. A Breadboard Jumper Wire Kit These have sets of wire of differ

What do the prop size numbers mean?

Have you been trying to shop for propellers - either online or at a hobby shop - and got confused of the numbering used to denote the size of the propellers? You see things like " 10 x 4.5 CW ", or " 8055 CCW ". What do these numbers mean? A 8 x 4.5 CW and CCW Propeller Set It's actually quite simple once you figure it out. The first number denotes the diameter of the prop (length from tip-to-tip). The second number denotes the pitch of the prop. Here, the pitch is denoted as a length, not a angle. Let's see how that works.