Debbie Hynes wrote: >Just an update on that IR decoding question from yesterday. With sincere thanks >to all who helped out! > >I'm now getting pretty good waveforms captured direct from the IR controller's >beam into my PC's line i/p & displayed on screen with Cool Edit 2000. See >attachement irc001.gif which shows the initial few bits. > >I've logged the zero crossings, the pulses measure 600 usec wide. They're >bunched in groups : there's one lot of 8 with 600usec spacing, another lot of 6 >with 600 usec spacing, 2 lots of pairs with 600 usec spacing & the rest come >singly with approx 2.2msec spacing. I count 33 pulses in all. > >I guess next stage is to figure out a subroutine to dupe the sequence. This one >sez "POWER ON" to a VCR. If the programme works, I'll feel confident to lash >out on an IR controlled digital cam. > Usually, the highs are fixed in length and the lows are one of two lengths. They are the one's and zero's. Sometimes lows are fixed & highs change. Create a bit banging serial routine that does them 8 bits at a time but instead of just highs & lows, you're encoding the short & long marks. Also, remember that you'll have to do the space between pulse trains & send the whole sequence at least twice for the equipment to recognise it as valid data. Do you get what I mean? Hope this helps. :-) David... -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu