All you will need is a wall power supply block with dc output greater than 8V and no more than 35V or a 9V battery to plug into CN1. Note: It is best to use the 5V power supply circuit as it not only correctly regulates the dc voltage but it protects your PIC chip. The input voltage can go up to 35V without damaging the You would not want to use that high voltage for very long if using reasonable current as the would have to get rid of the excess power as heat.
|Published (Last):||23 January 2011|
|PDF File Size:||3.7 Mb|
|ePub File Size:||16.7 Mb|
|Price:||Free* [*Free Regsitration Required]|
It will be also, very usefull if the fourth channel will be for mute. I hope that my poor english is enough for you to understand my needs and, please help me with a hex file that should be doing what I need.
Thank you very much for any help and please, find enclosed the schematic and hex file witch come with schematic and all the four channels are toogle.
The circuit above illustrates using the IR receiver module along with a PIC12F 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. I use a single 3. Setup instructions to program the controller and record the desired keys.
Step 1 - Remove power and install a jumper wire from the input pin4 toground. 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 may want to install LEDs and resistors on the 4 outputs to verify correct operation.
Simple 3 Button On-off With 12f629 (mikroC)
Tutorial 11 - 629/675/683 IO & ADC Demo
PIC 12F629 IR Remote .hex file
Beginning Programming; 12F629