| ||
PAGE 2 of 2 - Scanning the output of an RC5 compatible Philips remote control Luckily, i happen to have an old Philips remote control which supports both the RC6 and RC5 protocols. The primary protocol it uses is RC6, but it can be switched to RC5 by pressing a button on its side.
This is a snapshot of the first signal that i captured. There are actually two packets of IR data sent by the control captured in the screen. The interval between these packets is 89 mSec. Actually, it should be 100 mSec (as the Philips specifications), but obviously a shorter interval still works: Then i decreased the mSec/div of the oscilloscope to "zoom in" the signal. Here is a real-life RC5 signal sent by a Philips remote control: The packet duration appears to be 23.2 mSec but it is not 100% correct, because there is another half period at the end of the transmitted signal which is not measured, so if we add up another half signal (1.7/2=0.85) we come up with the correct packet length (almost). Keep in mind that the precise durations as per Philips specifications are usually not 100% followed due to technical difficulties. Now, here is something interesting. Can you decode the previous screenshot of the signal? If this is the first time that you try to do it it might be hard... Here is a little help:
If you haven't found it, the bits are "11000101000000", which means 1 for start-bit, 1 for field-bit, 0 for toggle-bit, the address is 101 (00101) which means VCR and the data is 0 (000000). Actually, this screenshot is taken when i pressed the button "0" on the remote control. Here are two screenshots to see the toggle bit changing. I press the same button twice (button 0): Finally, here is a set of screenshots with different buttons pressed. I tried to maintain the same toggle bit for all screenshots, because i wanted to indicate only the change in the last 6 data bits. To do so, i had to press each button twice to invert and re-invert the toggle bit...
As for the carrier frequency... To capture the carrier frequency i had to change the receiver setup. Instead of an integrated IR receiver (TSOP chip) i used a simple IR diode. The diode has no filters, so the signal which appears on the oscilloscope is the pure signal being transmitted by the IR LED of the remote control:
Comments
|
|
Contact
Forum
Projects
Experiments
Circuits
Theory
BLOG
PIC Tutorials
Time for Science
RSS
Site design: Giorgos Lazaridis © Copyright 2008 Please read the Terms of services and the Privacy policy |