dear goodwin,
thanks for the information.i have some decoder code which works at 4MHz and is working perfect with some sony remote.if anybody have some encoder source code which works at 4mhz please share with me.i dont have any lab set up to write one ,for calculating bit period and all .am using a pic 16 series mc .Thank you very much.
dear goodwin,
thanks for the information.i have some decoder code which works at 4MHz and is working perfect with some sony remote.if anybody have some encoder source code which works at 4mhz please share with me.i dont have any lab set up to write one ,for calculating bit period and all .am using a pic 16 series mc .Thank you very much.
Sony use SIRC, NOT RC5 (they are COMPLETELY different).
If you want SIRC there is code in my tutorials - it's also pretty trivial to convert the transmit routines to RC5 as well - I've modified it for RC6 various times, which is an enhanced version of RC5.
Check out the PICList, loads of code there - I do have 16 bit routines I've used many times, they came from the PIC Source Book, whoich was released free on the net at Dontroinics.
Check out the PICList, loads of code there - I do have 16 bit routines I've used many times, they came from the PIC Source Book, whoich was released free on the net at Dontroinics.
hi nigel,
I converted your code to RC5 and is working fine with good range, but when am using the pwm motor control source, the range is decreasing. I think its the problem of my hardware. I saw your stepper motor circuit, i didn't connect any diode between emitter & collector.I connected only across the load. I am using a 3v dc brushed motor,can you tell me any suggestions. thank you very much