Decoding Syma 107 RC signal (IR coaxial) with PIC18

Status
Not open for further replies.

Triode

Well-Known Member
I'd like to make a PIC18F1320, or any PIC 18, receive the signal from a syma remote. Someone on an RC forum decoded the transmission method as this:


I am not familiar with this encoding type, so I'm not sure where to start. I can read pulse widths since I have learned to capture PWM signals, but I figure this may be a job for the USART module, or some other existing peripheral or method. I have gathered that it is probably IR coaxial encoding and that UART may be able to read it.
 
Last edited:
If you receive the signal with a standard IR receiver and feed the resulting signal to the capture/compare pin, you will be able to use the CCP module to get the timings (as you already know). The decoding can be done in an interrupt. I would attempt to detect the start pattern first and see if you get the right number per second. Then go on to detect the individual bits. If you have a junebug then you already have the required hardware. I have somewhere posted a thread about reading IR remotes on here but can't find it.

Have fun,

Mike.
 
Thanks, that's the approach I was thinking of. I just wanted to make sure there wasn't a better way that I hadn't heard of. I'll post about how it goes.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…