Raymond, I haven't done it for Pioneer brand I/R remotes, but I have for the Sony spec. What you're missing (and what's probably most important) is the modulation frequency (generally 32, 38 or 40 KHz - Sony uses 40 KHz). When I did it for the Sony, I created a 80 KHz Timer Interrupt and incremented a "Real Time Value" and toggled an I/O bit each time I entered the Interrupt Handler. In the mainline of the program, when I was sending a "1" (modulated at 40 KHz), I simply enabled the TRIS bit for the number of 80KHz "ticks" to send the pulse (the same thing was done for sending no signal at all). The I/R Tx LED was wired as a normal diode. I used the I/R Tx/Rx LED pair from Radio Shack to generate and receive the signal (receiving to debug it before I sent it to my stereo). This method really won't be that precise in terms of timing, but my Stereo likes it just fine! myke >I would like to build a wired remote control unit for a Pioneer Large screen TV > system. >I have to output 33 different pulse width signals, 67 bits long for each of the > different control >functions. Only 6 different pulse widths. > > 8580us 636us 636us 636us >example - __________ _____ _____ _____ > | | | | | | | | > | | | | | | | | > | | | | | | // | | > -------- ---- - // --------- > ----------------------- > 4200us 432us // 1504us 38008us > > | <--- START ---> | <------- SIGNAL ------------>|<------- STOP > ------->| > | <---------------------- 103 ms > -------------------------------------->| > >I want to use the PIC16F84 & a 24LC16B EEPROM that I have avail if possible. > >If someone out there has done this already I would appreciate any advice you > could give me, so I >won't reinvent the wheel. All comments welcome ! > >Thank you > >Ray Ward >rwards@gte.net > > "One must invoke enough raw truth to punch a hole in the world" - Darl Af