Thursday, August 21, 2008

Electronic Scoring Game





You can play this game alone or with your friends. The circuit comprises a timer IC, two decade counters and a display driver along with a 7-segment display. The game is simple. As stated above, it is a scoring game and the competitor who scores 100 points rapidly (in short steps) is the winner. For scoring, one has the option of pressing either switch S2 or S3. Switch S2, when pressed, makes the counter count in the forward direction, while switch S3 helps to count downwards. Before starting a fresh game, and for that matter even a fresh move, you must press switch S1 to reset the circuit. Thereafter, press any of the two switches, i.e. S2 or S3. On pressing switch S2 or S3, the counter’s BCD outputs change very rapidly and when you release the switch, the last number remains latched at the output of IC2. The latched BCD number is input to BCD to 7-segment decoder/driver IC3 which drives a common-anode display DIS1. However, you can read this number only when you press switch S4. The sequence of operations for playing the game between, say two players ‘X’ and ‘Y’, is summarised below:
1. Player ‘X’ starts by momentary pressing of reset switch S1 followed by pressing and releasing of either switch S2 or S3. Thereafter he presses switch S4 to read the display (score) and notes down this number (say X1) manually.
2. Player ‘Y’ also starts by momentary pressing of switch S1 followed by pressing of switch S2 or S3 and then notes down his score (say Y1), after pressing switch S4, exactly in the same fashion as done by the first player.
3. Player ‘X’ again presses switch S1 and repeats the steps shown in step 1 above and notes down his new score (say, X2). He adds up this score to his previous score. The same procedure is repeated by player ‘Y’ in his turn.
4. The game carries on until the score attained by one of the two players totals up to or exceeds 100, to be declared as the winner.
Several players can participate in this game, with each getting a chance to score during his own turn. The assembly can be done using a multipurpose board. Fix the display (LEDs and 7-segment display) on top of the cabinet along with the three switches. The supply voltage for the circuit is 5V

Wiper Speed Control




A continuously working wiper in a car may prove to be a nuisance, especially when it is not raining heavily. By using the circuit described here one can vary sweeping rate of the wiper from once a second to once in ten seconds. The circuit comprises two timer NE555 ICs, one CD4017 decade counter, one TIP32 driver transistor, a 2N3055 power transistor (or TIP3055) and a few other discrete components. Timer IC1 is configured as a mono- stable multivibrator which produces a pulse when one presses switch S1 momentarily. This pulse acts as a clock pulse for the decade counter (IC2) which advances by one count on each successive clock pulse or the push of switch S1. Ten presets (VR1 through VR10), set for different values by trial and error, are used at the ten outputs of IC2. But since only one output of IC2 is high at a time, only one preset (at selected output) effectively comes in series with timing resistors R4 and R5 connected in the circuit of timer IC3 which functions in astable mode. As presets VR1 through VR10 are set for different values, different time periods (or frequencies) for astable multivibrator IC3 can be selected. The output of IC3 is applied to pnp driver transistor T1 (TIP32) for driving the final power transistor T2 (2N3055) which in turn drives the wiper motor at the selected sweep speed. The power supply for the wiper motor as well as the circuit is tapped from the vehicle’s battery itself. The duration of monostable multivibrator IC1 is set for a nearly one second period.

Magnetic proximity sensors





Here is an interesting circuit for a magnetic proximity switch which can be used in various applications.
The magnetic proximity switch circuit, in principle, consists of a reed switch at its heart. When a magnet is brought in the vicinity of the sensor (reed switch), it operates and controls the rest of the switching circuit. In place of the reed switch, one may, as well, use a general-purpose electromagnetic reed relay (by making use of the reed switch contacts) as the sensor, if required. These tiny reed relays are easily available as they are widely used in telecom products. The reed switch or relay to be used with this circuit should be the ‘normally open’ type.
When a magnet is brought/placed in the vicinity of the sensor element for a moment, the contacts of the reed switch close to trigger timer IC1 wired in monostable mode. As a consequence its output at pin 3 goes high for a short duration and supplies clock to the clock input (pin 3) of IC2 (CD4013—dual
D-type flip-flop). LED D2 is used as a response indicator.
This CMOS IC2 consists of two independent flip-flops though here only one is used. Note that the flip-flop is wired in toggle mode with data input (pin 5) connected to the Q (pin 2) output. On receipt of clock pulse, the Q output changes from low to high state and due to this the relay driver transistor T1 gets forward-biased. As a result the relay RL1 is energised.

Color Sensor





Colour sensor is an interesting project for hobbyists. The cir- cuit can sense eight colours, i.e. blue, green and red (primary colours); magenta, yellow and cyan (secondary colours); and black and white. The circuit is based on the fundamentals of optics and digital electronics. The object whose colour is required to be detected should be placed in front of the system. The light rays reflected from the object will fall on the three convex lenses which are fixed in front of the three LDRs. The convex lenses are used to converge light rays. This helps to increase the sensitivity of LDRs. Blue, green and red glass plates (filters) are fixed in front of LDR1, LDR2 and LDR3 respectively. When reflected light rays from the object fall on the gadget, the coloured filter glass plates determine which of the LDRs would get triggered. The circuit makes use of only ‘AND’ gates and ‘NOT’ gates.
When a primary coloured light ray falls on the system, the glass plate corresponding to that primary colour will allow that specific light to pass through. But the other two glass plates will not allow any light to pass through. Thus only one LDR will get triggered and the gate output corresponding to that LDR will become logic 1 to indicate which colour it is. Similarly, when a secondary coloured light ray falls on the system, the two primary glass plates corres- ponding to the mixed colour will allow that light to pass through while the remaining one will not allow any light ray to pass through it. As a result two of the LDRs get triggered and the gate output corresponding to these will become logic 1 and indicate which colour it is.
When all the LDRs get triggered or remain untriggered, you will observe white and black light indications respectively. Following points may be carefully noted :
1. Potmeters VR1, VR2 and VR3 may be used to adjust the sensitivity of the LDRs.
2. Common ends of the LDRs should be connected to positive supply.
3. Use good quality light filters.
The LDR is mounded in a tube, behind a lens, and aimed at the object. The coloured glass filter should be fixed in front of the LDR as shown in the figure. Make three of that kind and fix them in a suitable case. Adjustments are critical and the gadget performance would depend upon its proper fabrication and use of correct filters as well as light conditions

High Resistance Voltmeter





The full-scale deflection of the universal high-input-resistance voltmeter circuit shown in the figure depends on the function switch position as follows:
(a) 5V dc on position 1
(b) 5V ac rms in position 2
(c) 5V peak ac in position 3
(d) 5V ac peak-to-peak in position 4
The circuit is basically a voltage-to-current converter. The design procedure is as follows:
Calculate RI according to the application from one of the following equations:
(a) dc voltmeter: RIA = full-scale EDC/IFS
(b) rms ac voltmeter (sine wave only): RIB = 0.9 full-scale ERMS/ IFS
(c) Peak reading voltmeter (sine wave only): RIC = 0.636 full-scale EPK/IFS
(d) Peak-to-peak ac voltmeter (sine wave only): RID = 0.318 full-scale EPK-TO-PK / IFS
The term IFS in the above equations refers to meter’s full-scale deflection current rating in amperes.
It must be noted that neither meter resistance nor diode voltage drops affects meter current.
A high-input-resistance op-amp, a bridge rectifier, a microammeter, and a few other discrete components are all that are required to realise this versatile circuit. This circuit can be used for measurement of dc, ac rms, ac peak, or ac peak-to-peak voltage by simply changing the value of the resistor connected between the inverting input terminal of the op-amp and ground. The voltage to be measured is connected to non-inverting input of the op-amp.

TABLE I
Position 1 of Function Switch
E
dc input Meter Current
5.00V 44 µA
4.00V 34 µA
3.00V 24 µA
2.00V 14 µA
1.00V 4 µA

TABLE II
Position 2 of Function Switch
Erms input Meter Current
5V 46 µA
4V 36 µA
3V 26 µA
2V 18 µA
1V 10 µA

TABLE III
Position 3 of Function Switch
EPk input Meter Current
5V peak 46 µA
4V peak 36 µA
3V peak 26 µA
2V peak 16 µA
1V peak 6 µA

TABLE IV
Position 4 of Function Switch
EPk-To-Pk Meter Current
5V peak to peak 46 µA
4V peak to peak 36 µA
3V peak to peak 26 µA
2V peak to peak 16 µA
1V peak to peak 7 µA

Contactless Mains Voltage Indicator



This is a CMOS IC (CD4033) based circuit which can be used to detect presence of mains AC voltage without any electrical contact with the conductor carrying AC current/voltage. Thus it can be used to detect mains AC voltage without removing the insulation from the conductor. Just take it in the vicinity of the conductor and it would detect presence of AC voltage. If AC voltage is not present, the display would randomly show any digit (0 through 9) permanently. If mains supply is available in the conductor, the electric field would be induced into the sensing probe. Since IC used is CMOS type, its input impedance is extremely high and thus the induced voltage is sufficient to clock the counter IC. Thus display count advances rapidly from 0 to 9 and then repeats itself. This is the indication for presence of mains supply. Display stops advancing when the unit is taken away from the mains carrying conductor. For compactness, a 9-volt PP3 battery may be used for supply to the gadget

Zener Diode Tester





Here is a handy zener diode tester which tests zener diodes with breakdown voltages extending up to 120 volts. The main advantage of this circuit is that it works with a voltage as low as 6V DC and consumes less than 8 mA current. The circuit can be fitted in a 9V battery box. Two-third of the box may be used for four 1.5V batteries and the remaining one-third is sufficient for accommodating this circuit. In this circuit a commonly available transformer with 230V AC primary to 9-0-9V, 500mA secondary is used in reverse to achieve higher AC voltage across 230V AC terminals. Transistor T1 (BC547) is configured as an oscillator and driver to obtain required AC voltage across transformer’s 230V AC terminals. This AC voltage is converted to DC by diode D1 and filter capacitor C2 and is used to test the zener diodes. R3 is used as a seri- es current limiting resistor. After assembling the circuit, check DC voltage across points A and B without connecting any zener diode. Now switch on S1. The DC voltage across A-B should vary from 10V to 120V by adjusting potmeter VR1 (10k). If every thing is all right, the circuit is ready for use. For testing a zener diode of unknown value, connect it across points A and B with cathode towards A. Adjust potmeter VR1 so as to obtain the maximum DC voltage across A and B. Note down this zener value corresponding to DC voltage reading on the digital multimeter. When testing zener diode of value less than 3.3V, the meter shows less voltage instead of the actual zener value. However, correct reading is obtained for zener diodes of value above 5.8V with a tolerance of ± 10per cent. In case zener diode shorts, the multimeter shows 0 volts