Sorry Josh i can't remember how i did it exactly coz it was long time ago , but what i remember is that i measured the signal of the remote control on the receiver end by using a digital storage scope , i figured out the format of the signal and i compared over 10 types of sat remotes , the code was quite intresting and i will post it also with the other stuff when i dig through my old archive . I'm planning of rewritting the whole project with hi-tech c , i did it in mplab asm at the time , no changes will be made to the hardware coz i had no problems with it so far . I think i may have used RB0 int for counting the dish position pulse from the sensor (16 bit counter) and used RB4 pin change interrupt for measuring the IR pulse widths to decode the key , i used TMR0 to measure the width of the IR pulses of course and u have to give it a margin of error . I tested it intensively and got the right key pressed every single time . ----- Original Message ----- From: "Josh Koffman" To: Sent: Saturday, December 01, 2001 8:00 PM Subject: Re: [PIC]: IR remote control > That sounds great Mahmood, I'm looking forward to it. Just out of > curiousity, how did you handle the incoming signal? Did you just poll, > or use the CCP or TMR modules? > > Thanks, > > Josh > -- > A common mistake that people make when trying to design something > completely foolproof is to underestimate the ingenuity of complete > fools. > -Douglas Adams > > Mahmood Elnasser wrote: > > > > Hi all > > I designed a satellite dish positioner 4 yrs ago , using pic16c84 and > > opto-isolator , i made the infra red link utilizing the satellite's ir > > reciever chip ( which is quite cheap ) and some software to decode the > > buttons . i will post it on the list when i get home , 2 - 3 weeks time . it > > uses only one pin of the pic which makes it great if u want to interface a > > keypad to your project and u r pushed for pins . > > the circuit worked beautifully and i managed to convert my cheap receiver > > into a full positioner version which was over double the price at the time . > > and i still use it today with my digital sat receiver . > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu