First of all, I'd like to spend a minute complimenting you on your PIC Tutorial series. I'm a hardware guy trying to learn how to do my own assembly programming with PIC processors. I've been looking at various published books and online sites looking for a "course" that would start at the beginning and walk me through the processes and procedures. I hadn't found anything that I really liked until I found your series - this is the best tutorial I've seen. I'm still working my way through the actual circuit tutorials, but have completed several successfully. I'm anxious to see the intermediate and advanced sections completed and hope you are still planning on their completion. A few topics I'd really love to see would deal with interrupts, the UART, and PWMs. I'm really hoping that more topics are underway and we'll see more added to the PIC tutorials.
Similar to another post, I want to build an IR transmitter that is controlled through a serial port. I don't want to attempt to send the IR commands through on the TX data line, but rather want to send the necessary parameters to the PIC over a serial port and have the PIC take those commands and generate the desired IR output. For example, I want to feed it the frequency, then the various codes, and let the PIM generate the actual IR commands.
I'm taking this one step at a time. The first step is that I want to understand how to create the necessary signal driving the IR LED. For example, how would I best implement the attached graphic (I don't want to do it in hardware, but in firmware). I found your document describing the use of pulse width modulation to generate a carrier frequency, but in your code for the RC5 Decoder / Transmitter, it looks like you use another method.
Can you walk me through how you would implement this IR transmitter output? Or, is there another document I've not found that gives a good example of this?
Thanks so much and again, keep those tutorials coming - they're great!