Showing posts with label 4017. Show all posts
Showing posts with label 4017. Show all posts

Wednesday, May 2, 2012

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 energised from a 6V battery, the decade counter CD4017 (IC2), which is configured as a toggle flip-flop, is immediately reset by the power-onreset 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 continously (car starts running). ResistorR8 limits the starting current.

When any key on the handset is depressed again, depressed again, the monostable is retriggered 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 modulated infrared beam for control function,  ambient light reflections will not affect the circuit operation. However, fluorescent tubelights with electronic ballasts and CFL lamps may cause malfunctioning of the circuit.


MOTION SENSOR FOR SECURITY LIGHT

Here is a system based on PIR motion detector module BS1600 (or BS1700) that can be used for security or corridor lighting in power-saving mode. The 12V DC power supply required for the motion detector and the relay driver is derived from 230V, 50Hz mains using a transformerless circuit as shown in Fig. 1.



The working of the circuit is simple. When you power-on the circuit after assembling all the components including the CFL, the CFL will glow for 10 seconds, turn off for 30 seconds, glow for 10 seconds and then turn off. Now the circuit is ready to work.

When any movement is detected, around 3.3V appears on the base of relay-driver transistor T1 and it conducts to energise relay RL1. As a result, Triac1 (BT136) fires to provide full 230V and light up the CFL. Another normally-opened contact of the relay (N/O2) is used here to hold the output until reset. If the switch is not in 'hold' position, the light will remain 'on' for about ten seconds (as programmed in the motion sensor). In short, when there is a movement near the sensor, the CFL glows for about ten seconds. It will remain 'on' if switch S1 is in 'hold' position.

Assemble the circuit on a general-purpose PCB and enclose in a suitable cabinet. Use a three-pin connector for connecting the PIR sensor in the circuit with correct polarity.

ULTRASONIC TRANSMITTER AND RECEIVER

Most ultrasonic transmitters and receivers are built around timer IC 555 or complementary metal-oxide semiconductor (CMOS) devices. These devices are preset-controlled variable oscillators. The preset value of the working frequency is likely to drift due to mechanical vibrations or variations in temperature. This drift in frequency affects the range of transmission from the ultrasonic transducer.


The ultrasonic transmitter and receiver circuits described here use CD4017 decade counter ICs.
The transmitter circuit (Fig.1) is built around two CD4017 decade counter ICs (IC1 and IC2), D-type flip-flop IC CD4013 (IC3) and a few discrete components. The arrangement generates stable 40kHz signals, which are transmitted by transducer TX.



                                                             Fig.1: Transmitter circuit

The crystal-controlled radio-frequency (RF) oscillator built around  transistor T 1 (BC549) generates an 8MHz signal, which serves as input to the first decade counter built around IC1. The decade counter divides the oscillator frequency to 800 kHz. The output of IC1 is fed to the second CD4017 decade counter (IC2), which further divides the frequency to 80 kHz.The flip-flop (IC3) divides 80kHz signal by 2 to give 40kHz signal, which is transmitted by ultrasonic transducer TX.Coil L is made with 36SWG enamelled copper wire that is wound 15 times around an 8mm-diameter plastic former as used for radio oscillators, which has a ferrite bead.The transmitter circuit works off 9-12V DC.The receiver circuit (Fig.2) is built around a single decade counter CD4017 (IC4) and a few discrete components. To check the working of the transmitter, it is necessary to down-convert the 40kHz signal into 4kHz to bring it in the audible range. By using the receiver, the 40kHz ultrasonic transmitter can be tested quickly. The receiver’s transducer unit (RX) is kept near the ultrasonic transmitter under test. It detects the transmitted 40kHz signal, which is amplified by the amplifier built around transistor BC549 (T2). The amplified signal is fed to decade counter IC4, which divides the frequency to 4 kHz. Transistor T3 (SL100) amplifies the 4kHz signal to drive the speaker



                                                              Fig.2: Receiver circuit
Use a 9V PP3 battery to power the receiver circuit.

House the transmitter and receiver circuits in separate small cabinets. If the 40kHz transducer under test is working, the receiver circuit produces audible whistling sound.

Sunday, July 17, 2011

Knight Rider


In the Knight Rider circuit, the 555 is wired as an oscillator. It can be adjusted to give the desired speed for the display. The output of the 555 is directly connected to the input of a Johnson Counter (CD 4017). The input of the counter is called the CLOCK line. 
The 10 outputs Q0 to Q9 become active, one at a time, on the rising edge of the waveform from the 555. Each output can deliver about 20mA but a LED should not be connected to the output without a current-limiting resistor (330R in the circuit above). 
The first 6 outputs of the chip are connected directly to the 6 LEDs and these "move" across the display. The next 4 outputs move the effect in the opposite direction and the cycle repeats. The animation above shows how the effect appears on the display. 
Using six 3mm LEDs, the display can be placed in the front of a model car to give a very realistic effect. The same outputs can be taken to driver transistors to produce a larger version of the display.