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

Clone IR signal...

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



Joined: 30 Sep 2011
Posts: 11

View user's profile Send private message

Clone IR signal...
PostPosted: Tue Oct 11, 2011 12:53 pm     Reply with quote

Hi there!!!

I have this project, I need to clone a IR signal from a common remote for later use.

Someone have done something like this. Please help.

I looked in the forum and found this code but I can't make it work.
http://www.ccsinfo.com/forum/viewtopic.php?t=18107&highlight=learner

Here is what i am using: PIC 18f4550, PNA4602, 16x2 LCD, PICKIT3, MplabX 7.02, CCS 4.120 compiler
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Tue Oct 11, 2011 2:49 pm     Reply with quote

this is NOT specific enough:

do you mean:
DUPLICATE the function of an IR control code generator?

or
SHARE the OUTPUT signal of an IR detector?

or
DECODE the output of a detector and share THAT ??

you can't get an answer to such a VAGUE question.
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Tue Oct 11, 2011 3:04 pm     Reply with quote

i think he means:

press a button on a IR remote
record the bit pattern
save the bit pattern
replay the bit pattern when he needs it, efectively cloning the original IR remote.


if you are trying to clone a specific brand of remote with a know protocol, you should first research the protocol to duplicate it.

you first need to filter the carrier frequency... there are special chips that do this... you get them easily and cheap.

if you want to clone any IR remote regardless of protocol, you need to capture bits indivitually measuring each bit's timing...

some remotes send data twice, you need to account for this..

also some remotes... like my cable box.... send data... then wait an incredibly long time before sending a few more bits...i belive it would be the equivalent of "enter".....so its harder to time bits as the data bits are REALLY short compared to the time delays between data and "enter"..... so your bit capturing loop will probably time out long before the "enter" bits show up...


GB
_________________
CCS PCM 5.078 & CCS PCH 5.093
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