IR 4 channels remote control with PIC12F629

  
The circuit above illustrates using the IR receiver module along with a PIC12F629 microcontroller to decode 5 individual IR remote control keys so the circuit will only toggle one of the 4 outputs when a particular key is pressed. The 5th key is assigned to the master clear function that toggles off the 4 outputs. Works with most hand held IR remote controls that send a single data stream. However, some remotes send multiple groups of data and only the first set of 40 bits or less will be recognized. This may result in the circuit responding to more than one key, or a single key may control more than one toggle switch.
IR 4 channels remote control with PIC12F629 - schematic

In most cases this problem can be resolved by selecting an alternate function on the remote such as (TV, DVD, SAT, AUX, Etc.). Circuit power supply is not critical and should operate on any voltage from 2 to 5 volts DC. I use a single 3.6 volt recharageable lithium battery such as found in cell phones. Setup instructions to program the controller and record the desired keys. Step 1 - Remove power and install a jumper wire from the input (pin 4) to ground. Step 2 - Turn on 5 volt power to the circuit and the activity LED will flash 3 times and remain on. Step 3 - Remove the jumper from pin 4 and the activity LED should flash three more times and remain on. Step 4 - Press the desired keys in sequence to record the keys. The first key must be pressed twice to allow the program to establish the timing on the first press. So to program keys 1 to 5 you would press 1,1,2,3,4,5. At each keypress, the indicator should flash 3 times and remain on. Step 5 - At this point, the indicator light should be out and you can test each key to verify it toggles the correct output. The data is stored in no-volitile EEPROM so when the circuit is re-booted without the jumper it should be ready to use with the existing programed data. For test purposes, you...



Leave Comment

characters left:

New Circuits

.