View previous topic :: View next topic |
Author |
Message |
churrinfunflais
Joined: 30 Sep 2011 Posts: 11
|
Clone IR signal... |
Posted: Tue Oct 11, 2011 12:53 pm |
|
|
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
|
|
Posted: Tue Oct 11, 2011 2:49 pm |
|
|
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
|
|
Posted: Tue Oct 11, 2011 3:04 pm |
|
|
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 |
|
|
|