In my last post , I promised an arduino board based remote control. This is the post you have been waiting for. Now the InduinoX comes with an IR emitter too (don't you just love this board?)! The IR emitter is connected to analog pin 0. So you can start transmitting the remote signal you previously discovered. Before we go too far, make sure you have read the primer on IR remotes . My TV remote sends out the signal in the sony protocol as observed from my gnuplots and oscilloscope. You know now that according to Sony protocol, a 1 is represented by 1200ms of high and 600ms of low, while a 0 is represented by 600ms of high and 600ms of low. Also the signal is to be prefixed with a header, which is 2400ms high signal followed by a 600ms of low. So lets write some code to send the header, 0 and 1 first. #define HEADER_ON 2400 #define HEADER_OFF 600 #define BIT_1_ON 1200 #define BIT_1_OFF 600 #define BIT_0_O...
Life is complex, it has a real part and an imaginary part.