Custom Search
Showing posts with label Infra Red Switch. Show all posts
Showing posts with label Infra Red Switch. Show all posts

Friday, April 18, 2008

Infrared Toy Car Motor Controller

This add-on circuit enables remote switching on/off of battery-operated toy cars with the help of a TV/ video remote control handset operating at 30–40 kHz. When the circuit is energized from a 6V battery, the decade counter CD4017 (IC2), which is configured as a toggle flip-flop, is immediately reset by the power-on reset combination of capacitor C3 and resistor R6. LED1 connected to pin 3 (Q0) of IC2 via resistor R5 glows to indicate the standby condition. In standby condition, data output pin of the integrated infrared receiver/demodulator (SFH505A or TSOP1738) is at a high level (about 5 volts) and transistor T1 is ‘off’ (reverse biased).
The monostable wired around IC1 is inactive in this condition. When any key on the remote control handset is depressed, the output of the IR receiver momentarily transits through low state and transistor T1 conducts. As a result, the monostable is triggered and a short pulse is applied to the clock input (pin 14) of IC2, which takes Q1 output (pin 2) of IC2 high to switch on motor driver transistor T2 via base bias resistor R7 and the motor starts rotating continuously (car starts running). Resistor R8 limits the starting current. When any key on the handset is depressed again, the monostable is re triggered to reset decade counter IC2 and the motor is switched off. Standby LED1 glows again.

This circuit can be easily fabricated on a general-purpose printed board. After construction, enclose it inside the toy car and connect the supply wires to the battery of the toy car with right polarity. Rewire the DC motor connections and fix the IR receiver module in a suitable location, for example, behind the front glass, and connect its wires to the circuit board using a short 3-core ribbon cable/shielded wire. Note. Since the circuit uses modulated infrared beam for control function, ambient light reflections will not affect the circuit operation. However, fluorescent tube lights with electronic ballasts and CFL lamps may cause malfunctioning of the circuit.

Thursday, January 3, 2008

Infrared Remote Control for operates on 115 volts AC


This circuit will allow you to turn on any piece of equipment that operates on 115 volts ac. The receiver circuit is based on the Radio Shack infrared receiver module (MOD), part number 276-137. It is also available from some of the other sources listed on my Links page. The MOD accepts a 40khz IR signal that is modulated at 4 khz. When a signal is received the MOD will go low. The sensitivity of the MOD is set by different values for R1 and C1. The values for R1 may need to be as high as 10,000 ohms and for C1 40uf. This will prevent the unit from turning on under normal lighting conditions. You will need to experiment with the values that work best for you. The output of the 4013 chip a flip flop toggles on and off with the reception of a IR pulse. The output of the 4013 turns on the MOC optical coupler which in turn switches on the triac and supplies power to the AC load.

Infra Red Switch

Description:

This is a single channel (on / off) universal switch that may be used with any Infra Red remote control using 36-38kHz. (This is a very common remote handset frequency).
Notes:
Any "button" of any remote control may be used to work this universal switch. The button must be pressed for about one and a half seconds (determined by R3 and C2) before the relay will operate. The circuit will remain in this state (latched) until reset. To reset, any button is pressed on the remote handset and held for a short duration.
For example, if you were watching TV, you could press and hold any button on the TV remote to trigger the circuit. In order not to change channel, you could press the button of the channel you are watching. You can connect anything to the relay, for example a lamp, but make sure that the relay contacts can handle the rated voltage and current.

Circuit Operation:
IC1 is an Infra Red module. IR modulated pulses are received and buffered by this IC. It has a standard TTL output, the output with no signal is held high by R1. One gate of a CMOS inverter drives LED1 as a visible switching aid. Another gate buffers the signal and applies it to the time constant circuit, comprising R3,C2,R4 and D1. C2 charges via R3, and discharges via R4, D1 prevents quick discharge via the low output impedance of the CMOS buffer. The time taken to charge a capacitor is the product of resistance and capacitance, more commonly known as the RC time constant. At one RC a capacitor will only charge to 63% of the supply voltage. It takes 5 RC's for a capacitor to reach 99% charge. In this circuit the capacitor charge has to reach the logic threshold of the CMOS invertor. As the power supply is 5 Volts, the input threshold is around 3.6V, which takes about 3RC's or about 1.5 seconds. Once reached the inventor triggers the 555 timer and operates the flip flop. A simulation of received pulses, filtering and output pulse is shown below. Note that this is not from the actual circuit ( in which case the reconstructed pulse would be high for the duration of the 555 monostable) but only a spice simulation.

The pulses are further buffered and contain "jaggered edges" as shown above. These edges are produced by the modulated IR data, and have to be removed. This is achieved using a 555 timer wired as a monostable, IC3, having an output pulse duration R5, C4. A clean output pulse is produced to activate the bistable latch, IC4. This is a D type flip flop, built with a TTL 7474 series IC and configured as a bistable. Any version of the 7474 may be used, i.e. schottky 74LS74, high speed 74HCT74 etc. The input is applied to the clock pin, the inverted output fed back to the data input and clear and preset lines are tied to ground. For every pulse the relay will operate and latch, the next pulse will turn off the relay and so on. Note that quick turn on and off of the relay is not possible. The output pulse is set at about 2.4 seconds. and input delay by R3, C2 set about 1.5 seconds.

Parts List:
R1 3k3
R2 1k
R3 22k
R4 220k
R5 1M
R6 3k3
B1 12 V
D1 1N4148
D2 1N4003
Q1 B109
LED1 CQX35A
IC1 IR1 available from Harrison Electronics or TSOP1838 or similar
IC2 4049
IC3 CA555
IC4 SN74HCT74 or SN74LS74
IC5 LM7805
Relay 12 Volt coil with changeover contact
C1 100u
C2 22u
C3 100n
C4 2u2