It's simple IR decoder based on PIC16F84A.
It uses RC5 commands for TV (system code = 0)
Commands 1,2,3,4,5,MUTE,VOL UP,VOL DOWN.
I use it to control 5 relays and ALPS Motor Pot in my preamp.
If you have question e-mail me boris_7@rambler.ru

If you guys want a simple vol remote for a preamp this is the cheapest and simplest idea:
Go to your nearest big toy store and find the cheapest remote controlled toy car with two buttons.They should be quite cheap costing something like 10 usd.Rip out the remote receiver module in the car which is a tiny pcb and keep the bright coloured handset.........
Much better than paying something like 50usd for ir modules plus extra for the handset,programming etc etc.

Or use a old keyless entry/car alarm. You should be able to find them cheap. Replacement remotes would be plentiful and the range would be awesome! Not to mention your remote would be super small..... one for every room??
Marc

Using a TC4469 myself to drive the pot and ULN2004 to drive the relays (via i2c io extender).

Progress on the preamp is slow.... I just recently got some alu top cover with holes in it to finish it off. Nearly complete (someday). But i'm thinking of changing to relays instead of a pot, which would mean a new pcb..

The codes are stored into the internal eprom of the pic in a table.
Table goes from 0 to 63 which is the number of codes for one address. If the location is filled with FF, the code is not used. If the location is filled with another value the code is used.

There is a 'jumptable' before the normal program which jumps to the different routines that handle the different codes. These goto commands are specifically located at a known address. Suppose the 'goto' command for cd-routine is at address '0F'. So in the eeprom we store 0F at a RC5 code. In my case the RC5 code '1' is used for cd. So we get:

- receive '1' from RC5 interrupt routine
- retreive the value at location 1 in the eeprom
- if value not FF, use it by poking it into the program-counter...

For changing codes you now only have to change the eeprom contents, you don't need to change the code or use a long routinge to check the received code with each possible value.

Originally posted by Boris_7 It's simple IR decoder based on PIC16F84A.
It uses RC5 commands for TV (system code = 0)
Commands 1,2,3,4,5,MUTE,VOL UP,VOL DOWN.
I use it to control 5 relays and ALPS Motor Pot in my preamp.
If you have question e-mail me boris_7@rambler.ru