In this article, we will understand SONY SIRC Protocol, and we will decode this protocol. Afterward, we’ll find out the command and address. Only after getting a clear idea, you can make your own decoder yourself. In this article, we are getting an idea only, and in the next article, we’ll use it to do something. So, let’s start our SONY SIRC Protocol Decoding.

⚠️ Disclaimer ⚠️

Working with electricity involves serious risk. Ensure you have the necessary skills and take proper safety precautions before attempting any electrical projects. Proceed at your own risk — the author assumes no responsibility for any damage, injury, or issues resulting from the use or misuse of the information provided.

Advertisements

All content on this website is original and protected by copyright. Please do not copy or reproduce content without permission. While most of the resources shared here are open-source and freely accessible for your learning and benefit, your respect for our intellectual effort is appreciated.

If you find our tutorials helpful, consider supporting us by purchasing related materials or sharing our work — it helps keep the content flowing.

Need help or have questions? Leave a comment below — the author is always happy to assist!

About SONY SIRC Protocol:

There are three types of SIRC protocol, 12, 15, and 20bit types. All these types have a command and device word. The 20-bit version has only 8bit extended words. Within the bitstream, each word is sent LSB first like this pattern below:

The frame timing is based on multiples of a 600µS pulse with width T. Frames begin with a 4T start mark pulse. Each bit in the frame is represented by a 1T space followed by either a 1T mark (if the bit is 0) or a 2T mark (if the bit is 1). The frame timing is given below:

This pattern is repeated at an interval of 45ms. When a button is pressed in the SONY remote, it repeats each frame at least 3 times.

Modulation:

We have seen the protocol pattern and timing frame. But this signal can not be transmitted so far without modulation. That is why all the IR remotes use modulation in around 36KH ~ 40KHz. SONY SIRC is modulated around 38~40KHz.

Modulation is a mix of one carrier signal and a data signal like this:

SONY SIRC uses a 38~40KHz carrier signal and then the data according to the pattern of this protocol is combined with this carrier signal. An IR LED works as the transmitter.

The modulated signal for SIRC protocol:

In this way, the command and address are sent through the IR transmitter (IR LED). As modulation is used, a single battery can last a long time and a long distance can be achieved.

Example commands:

The table below shows the commands and addresses of different SONY SIRC Remotes:

Device AddressFunctionCommand
TV1Digit 09
VCR12Digit 1 0
VCR23Digit 2 1
LASER Disk6Digit 32
Surround Sound12Digit 43
Cassette/Tuner16Digit 54
CD Player17Digit 65
Equalizer18Digit 76
Digit 87
Digit 98
Channel +16
Channel –17
Volume + 18
Volume – 19
Mute20
Power 21
Reset22
Audio Mode23
Contrast +24
Contrast –25
Color +26
Color –27
Brightness +30
Brightness –31
Balance Left38
Balance Right39
Standby47

Note: Nowadays there are lots of smart TVs. Remotes of these smart TVs are multifunctional and commands are different. But the basic commands are the same.

Decoding:

The transmitted IR signal is received by a remote sensor. This sensor has a built-in IR detector and hysteresis comparator. As a result, the transmitted modulated signal is received as the SIRC pattern.

Both the IR diode and IR receiver IC can sense the IR signal. But the difference is, the IR Diode can not decode the pattern from the received signal. And each IR receiver IC has a built-in IR diode inside along with a hysteresis comparator.

The TSOP4838 IR receiver IC is the active low type and we need to use a pull-up resistor with the output pin.

As the output is active low so the output is inverted. To decode the pattern, a start signal is sensed at first.

Then rest of the signals is decoded.

Flow chart

In the next article, we will make a circuit to decode the SONY SIRC Protocol and will make a device that can be operated remotely with a SONY remote. Today, this article ends here.

I hope this article will be informative to you and you can make your own decoder now. Thanks for reading.

Liked this article? Subscribe to our newsletter:

Loading

or,

Visit LabProjectsBD.com for more inspiring projects and tutorials.

Thank you!

Check this out: 5 coolest multimeters you can buy


MKDas

Mithun K. Das. B.Sc. in Electrical and Electronic Engineering (EEE) from KUET. Senior Embedded Systems Designer at a leading international company. Welcome to my personal blog! I share articles on various electronics topics, breaking them down into simple and easy-to-understand explanations, especially for beginners. My goal is to make learning electronics accessible and enjoyable for everyone. If you have any questions or need further assistance, feel free to reach out through the Contact Us page. Thank you for visiting, and happy learning!

1 Comment

Joy · 17/03/2021 at 3:31 pm

Many Many thanks .

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *