CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Sony TV remote decoder using PIC16F73

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
karthickiw



Joined: 09 Aug 2007
Posts: 82
Location: TN, India

View user's profile Send private message Send e-mail

Sony TV remote decoder using PIC16F73
PostPosted: Mon Aug 20, 2007 10:34 am     Reply with quote

hai,

how decode the sony TV remote using PIC16F73. please give sample coding
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Mon Aug 20, 2007 10:55 am     Reply with quote

Ya know, I'm wondering if it would be possible to place a sticky for new users stating that we are not here to do their student projects for them. Maybe, let them know that we're here to assist but that they, first, need to put in some kind of effort on their own project.

We get periods when several people simply log on and ask for code. They don't give any examples that they have tried or show any effort of their own. Maybe I'm just in a foul mood because my EX called me this morning. Evil or Very Mad

Karthickiw, we're here to assist you. You need to do a little research of your own first. If you don't know where to start then simply state that fact. We'll point you in the right direction. If you're a student, the best way for you to learn is trial and error. You'll never learn anything if things are handed to you.

Ronald, a bit pizzed off. Mad
karthickiw



Joined: 09 Aug 2007
Posts: 82
Location: TN, India

View user's profile Send private message Send e-mail

about code
PostPosted: Mon Aug 20, 2007 7:58 pm     Reply with quote

thank you sir. ok i try my own, please give some idea about the decoding the TV remote signal.
newguy



Joined: 24 Jun 2004
Posts: 1903

View user's profile Send private message

PostPosted: Mon Aug 20, 2007 8:09 pm     Reply with quote

Search the Code Library. There are several examples of IR remote decoders. Also remember that google is your friend.
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Tue Aug 21, 2007 12:13 am     Reply with quote

rnielsen wrote
Quote:

I'm wondering if it would be possible to place a sticky for new users stating that we are not here to do their student projects for them

School is about to start up again. Responders to students questions might want to consider posting their GPA in their online profile. That way students can make informed decisions about the person choosing to do their homework for them.
mickent



Joined: 18 Feb 2007
Posts: 22
Location: TN, USA

View user's profile Send private message

PostPosted: Tue Aug 21, 2007 3:58 am     Reply with quote

One good thing about spoon feeding students is that when they get into the work force they will be useless; leaving more work for those of us that took the hard road.
_________________
Mick
rberek



Joined: 10 Jan 2005
Posts: 207
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Tue Aug 21, 2007 7:35 am     Reply with quote

Being useless, that might mean they end up being our managers Wink
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Tue Aug 21, 2007 7:45 am     Reply with quote

LOL Laughing
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Tue Aug 21, 2007 8:00 am     Reply with quote

So THAT's how my manager got there! Wink

I had one manager say: Those who can't do, teach. Those that can't teach, administrate.
Steve H
Guest







PostPosted: Tue Aug 21, 2007 7:42 pm     Reply with quote

Oh.... You guy's are killing me, too funny...

Opps, here comes the boss - everybody look busy!

;-)

Steve H.
raham



Joined: 09 Oct 2007
Posts: 1

View user's profile Send private message

Re: Sony TV remote decoder using PIC16F73
PostPosted: Tue Oct 09, 2007 6:39 am     Reply with quote

karthickiw wrote:
hai,

how decode the sony TV remote using PIC16F73. please give sample coding



try the link of forum
http://www.ccsinfo.com/forum/viewtopic.php?t=26226&highlight=sony
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Tue Oct 09, 2007 9:58 am     Reply with quote

Quote:

Being useless, that might mean they end up being our managers.

That´s the point!. They have a rare special skill to do not know even that the
Earth is turning but this doesn´t matter... they are manager.
For which reason a future manager can concern how the hell, things happens
inside a silly PIC? Idea


Humberto
Gerhard



Joined: 30 Aug 2007
Posts: 144
Location: South Africa

View user's profile Send private message Send e-mail

PostPosted: Tue Oct 09, 2007 2:18 pm     Reply with quote

I started programing on the pic about a month ago and yes i am a student and yes i did get the same type of coments in the begining. Firstly just tell the people if you know anything and if you dont;s, as has been said, they will point you in the right direction.
What i have learned in the past month on pics because of trial and error no other student will be able to match. SO JUST TO MAKE MY POINT.
THANKS TO ALL YOU PROFESIONALS THAT ACTUALLY KNOW WHAT GOES ON THAT ARE WILLING TO BE FRUSTRATED BY OUR SILLY QUESTIONS.
densimitre



Joined: 21 Dec 2004
Posts: 45

View user's profile Send private message

PostPosted: Tue Oct 09, 2007 9:00 pm     Reply with quote

Hi

Take a look on this..

1.- http://picmania.garcia-cuervo.com/Experimentos_IR.php#DecoProt
2.- Googling for:

// sony.c - Serial <==> Sony IR Remote conversion
// Version 1.0
//
// Robert Poor
// MIT Media Laboratory
// January, 2000

3.- ////////////////////////////////////////////////////////////////////////////////
//Análisis:
// - Protocolo IR: SIRCS =>device word(5) + command word(7) =>12 bits
// Trama: envío en modo LSB
// T: 0,6ms
// Start Bit: 4T(1)+T(0) => 2,4ms+0,6ms
// 1 Lógico : 2T(1)+T(0) => 1,2ms+0,6ms
// 0 Lógico : T(1)+T(0) => 0,6ms+0,6ms
// - Procedimiento:
// Analizar los tiempos altos (1) de la trama IR recivida, para evaluar si se
// trata de un 1 o un 0, respectivamente. Desechar los tiempos T(0).
// Para lograr lo anterior, se hará uso del TMRO con DIV_16 (16us@4MHz), y la interrupción
// de RB0, en ambos flancos. Primero se detectará el paso de L_TO_H, setear TMR0=0,
// luego setear interrupcion de H_TO_L, al activarse obtener el valor de TMRO, tras
// lo cual se verificará si se trata del start bit, un 1 o un 0 lógico. Contar
// hasta obtener 12 bits.
// Como los datos son recividos en formato LSB, al decodificar cada bit debe ejecutarse la instruccion:
// shift_right(&Cmd, 2, 1/0) ==> desplazar a la derecha el largo de 2 bytes (12 bits de WORD),
// el bit 1 o 0, según corresponda. Cmd corresponde a un long que almacena el comando.
// Se puede optar por recivir los primeros 7 bits y desechar los 5 siguientes.
// - Valores:
// .TMR0(2,4ms)=2,4ms/0,016ms=150 ==>rango aceptable : 110/180 o >100
// .TMR0(1,2ms)=1,2ms/0,016ms= 75 ==>rango aceptable : 60/ 90
// .TMR0(0,6ms)=0,6ms/0,016ms= 37.5 ~ 38 ==>rango aceptable : 20/ 50
// 8.2208Mhz==>Tc=0,16us
//


Best Regards
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group