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.
Click here to download the full size of the above Circuit.
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...
The circuit described here uses ultrasonic oscillations and operates based on the propagation velocity of these oscillations in the air. Thus, we can easily determine the distance of two points if the time within which the wave travels this distance is....
Sometimes the precious metals are hidden too deep and are not detected except with complicated devices. In many cases, however, small pieces of precious metal buried near the surface can be detected by relatively simple means. Everyone is very attractive to....
Many times for various reasons we forget or can not water the plants that we have in our homes. And many humidity sensors units just notify us with a beeping sound or with a flashing light, that the pot needs watering. But what if we are away from home? This....
The principle behind a metal detector is really very simple. Proof of this is the circuit that follows, in which it proves that the construction of a metal detector can be done in the minute, with few components that we find very easily everywhere. With the....
The sub-harmonic bass generator is a sound producing unit for guitars. The sound it produces looks very much like that of the bass guitar. The octave generator is sometimes quite unusual since it does not produce any of the usual ways of coloring the sound,....
In the past the sounding (sea bottom measurement) was done with the "bullet", that is, with a heavy lead object that the seamen plucked into the sea hung from a calibrated rope. As soon as the "bullet" reached the bottom, the depth appeared directly from the....
This Amplifier was designed to have the following specifications: Distortion less than 0.1% at full power of 100W even at 20KHz. Power has to be attributed to an extended bandwidth. The output transistors must be protected against short circuits. The power....
A series of LEDs serve to alert the gardener when plants need water. Using two conventional digital integrated LEDs and a series of LEDs, we make a very useful device for gardening. The device detects the amount of water in the pot and alerts the grower.....
The best human ear can capture sounds from 20Hz to 20KHz. These limits are known to be the broadest that can exist. Normally the normal limits range from 100Hz to about 13KHz and depend on the age and health of the individual. We for our measurements and to....