Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to decode data coming from sony tv remote which use sirc protocol

Status
Not open for further replies.

robojacob

Junior Member level 3
Joined
May 20, 2011
Messages
29
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,493
hi. i am trying to use my tv remote for activate 5 relays. i know when a button on thee tv remote pressed which data is sending through tv remote. but problem when my receiver will receive this data how it will decode and recognize which data is send??? as far as i know it need capture and timer to decode signal coming from tv remote. but don't know how to use capture and timer to decode this signal and how is about programming.im using pic microcontroller and mikroc as compiler.please help me
 

Read here to understand how to decode the protocol:

Decoding the Sony IR protocol (SIRC) with a pic
picprojects.org.uk/projects/sirc/sonysirc.pdf
SB-Projects: IR Remote Control, Sony SIRC Protocol

You need to input the signal to the microcontroller. You can use input capture module. You could also use the change interrupt. You need to measure the time the output is high or low, using timer or software delay. Then, decode the entire signal (how to do this can be found from the above links) and decide what to do with the result.

Hope this helps.
Tahmid.
 
dear Tahmid,

i am also doing same Sony SIRC protocol decoder project. here i am trying to control RELAY by using 8051. in this project i am using SONY remote(SIRC protocol) controller to control the relays. already i have done this project by using PHILIPS(RC5 protocol) remote. but by using SONY remote i can not. some program code may be a wrong.i know protocol theory. in my project iam using TSOP1738 for receiving IR signals. i just want to save the "Commend" and "Address" values of each key from SONY remote. pls help me for this. pls give me a valuable tips to write a program.

thanku
 

Hi, the Sony remotes transmit data as 12bit number 7 bits command and 5 bits of device type. The logic 1 and 0 are encoded as about 1200us amd 600 us pulses. with a 2400us header. I have written a complete application in my free to download book in MikroBasic. you can download the book at https://www.scribd.com/doc/99929710/Beginnig-PIC-Programming
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top