Thursday, September 27, 2012

9V Converter Using Two AA Cells

The power supply is designed using a boost converter with fixed ‘on’ time and variable ‘off’ time. The variable ‘off’ time regulates power to the load. The converter consists of transistor T2, inductor L1 and capacitor C2. The conductance of transistor T1 controls ‘off’ time of the oscillator in conjunction with capacitor C2. IC TL431 (IC1) monitors the voltage across capacitor C4. When the voltage exceeds 2.5V at the reference pin (Ref) of IC1, the opto-coupler conducts more and reduces the conduction of transistor T1.

The frequency of oscillations mainly depends on the time constant (R-C) of feedback capacitor C3 and the input stage impedance (R1 plus VR1). Adjust preset VR1 to tweak the circuit for efficiency. The converter works with a single cell also. In that case, keep the output current-drain minimal.

9V Converter Using Two AA Cells

The power supply is designed using a boost converter with fixed ‘on’ time and variable ‘off’ time. The variable ‘off’ time regulates power to the load. The converter consists of transistor T2, inductor L1 and capacitor C2. The conductance of transistor T1 controls ‘off’ time of the oscillator in conjunction with capacitor C2. IC TL431 (IC1) monitors the voltage across capacitor C4. When the voltage exceeds 2.5V at the reference pin (Ref) of IC1, the opto-coupler conducts more and reduces the conduction of transistor T1.

The frequency of oscillations mainly depends on the time constant (R-C) of feedback capacitor C3 and the input stage impedance (R1 plus VR1). Adjust preset VR1 to tweak the circuit for efficiency. The converter works with a single cell also. In that case, keep the output current-drain minimal.

Note:We have measured maximum output of 8.7V at 28mA current. Above this current, the output becomes zero.

Electronic Water Alarm

Aburst water-supply hose of the washing machine, a bathroom tap that you forgot to close, or a broken aquarium wall may turn your house into a pond. You can avoid this mess by using an electronic water alarm that warns you of the water leakage as soon as possible.

The acoustic water alarm circuit presented here takes advantage of the fact that the tap water is always slightly contaminated (or has salts and minerals) and thus conducts electricity to a certain extent. It is built around IC LMC555 (IC1), which is a CMOS version of the bipolar 555 timer chip. IC1 is followed by a complementary pair of emitter followers (T1 and T2) to drive a standard 8-ohm speaker (LS1). Power is supplied by a compact 9V PP3 battery.

Power is applied when power switch S1 is closed. The reset input (pin 4) of IC1 is held low by resistor R1 (2.2-kilo-ohm). The astable oscillator wired around IC1 is in disabled mode. When probes P1 and P2 become wet, these conduct to reverse the state of IC1’s reset terminal. As a result, the astable multivibrator starts oscillating at a frequency determined by resistor R2 and capacitor C3. The output of IC1 drives the complementary pair of transistors T1 and T2.



Electronic Water Alarm


Although this combination causes significant crossover distortion, it doesn’t have any adverse effect on the square-wave audio signal processing. A 10-kilo-ohm potentiometer (VRI) is inserted between output pin 3 of IC1 and the bases of transistors T1 and T2 for volume control.

The probes can be made using two suitable copper needles or small pieces of circuit board with the copper surface coated with solder. Fit these at the lowest point where water will accumulate. After construction, place the alarm circuit well away from the point of possible leakage. Use a pair of thin twisted flexible wires to connect the probes to the circuit.

Capacitor C1 connected across IC1 input (pin 4 and GND) keeps the alarm circuit from responding to stray electrostatic fields. Similarly, twisting the wires together makes the relatively long connection between the probes and the circuit less sensitive to false alarms due to external electromagnetic interference. Finally, if you want to lower the probe sensitivity, reduce the value of grounding resistor R1.

Wednesday, April 18, 2012

Mobile Electronic Workbench

Typically, implementing and testing even a small circuit requires an elaborate set-up that includes breadboards, a dual DC power supply, hookup wires, ICs and resistors of different values. This setup can be quite messy and difficult to clean up at the end of the experiment. Also, the power supply can make the set-up non-portable. Here we present a mobile electronic workbench that makes it easier for you to assemble and test circuits.

This mobile workbench is useful for students in schools, colleges, research institutions and industries alike. It can be used conveniently wherever you want. It is also cost-effective and very useful for giving demo';s. As the power is supplied by the batteries, the voltage is noise-free. 

Fig. 1 shows the circuit of the mobile electronic workbench. Two low-drop-out (LDO) regulators (one positive and the other negative) are used here to provide regulated +5V and -5V for digital ICs. 


Fig. 1: Circuit for mobile electronic workbench

When switch S1 is pushed to 'on' position, LEDs indicate the availability of voltages on the breadboard. When it is in 'off' position, the battery terminals connect to the sockets for charging the batteries. Apart from +6V and +5V supplies, you can also have a 12V source between +6V and -6V terminals. 

As shown in Fig. 2, the mobile workbench consists of a big melamine tray. At the centre of this tray, mount the breadboard. On the sides of the breadboard, stick two 6V, 4.5Ah maintenance-free lead-acid batteries (Batt.1 and Batt.2). On a wooden batten, mount two-pole, two-way toggle switch S1 and two fuses and two sockets symmetrically. Mount LED1 and LED2 on the sides of S1.



Fig. 2: Photograph of electronic workbench 

If you do not want this mobile workbench on a breadboard, you can assemble it on a general-purpose PCB and enclose in a suitable cabinet. Fix LEDs and switch S1 on the front panel of the cabinet and the fuses at the back side of the box. 

In place of LM2990-5, you can use a 5.1V, 2W zener diode with 100-ohm, 2W series limiting resistor.

Bipolar Transistor Tester

This tester is primarily meant to test bipolar transistors. It can indicate the type of the transistor as well as identify its base, collector and emitter pins. The circuit is very simple. The direction of current flow from the terminals of the transistor under test (TUT) is indicated by a pair of LEDs (green-red). An npn transistor produces a red-green-red glow, while a pnp transistor produces a green-red-green glow, depending on the test point that connects to the terminal of the transistor. Emitter and collector are differentiated by pressing push button switch S1 that actually increases the supply voltage of the circuit by about 5.1V. 

At the heart of the circuit is IC CD4069 (IC3), which oscillates and produces pulses required to test a pair of transistor leads for conduction in both the directions. Different combinations are selected by an arrangement of counter CD4040 (IC1) and bilateral switch CD4016 (IC2).

Fig. 1 shows the circuit of the bipolar transistor tester. A pair of LEDs is connected to each test point through which current flows in both the directions. Each LED corresponds to a particular direction. In this manner, both junctions of the transistor can be tested. The LEDs are arranged to indicate the type of the semiconductor across the p-n junction. The counter is clocked by the AC generator built around gates N5 and N6. This makes the LEDs glow continuously for easy observation, revealing the direction of current flow between different test points. So if the red LED connected to certain point glows, it means that n-type of the junction is connected to that test point, and vice versa. Thus a red-green-red glow indicates npn type of the transistor, while a green-red-green glow indicates a pnp transistor. From this observation, you can easily detect the base. 




Fig. 1: Circuit of bipolar transistor tester

Collector and emitter are differentiated based on the principle that the base-emitter junction breaks down under reverse bias much more easily than the base-collector junction. Thus under increased AC voltage, you can easily see that the emitter conducts more in the reverse direction (associated LED glows significantly) than the collector. Use of transparent or semi-transparent LEDs is recommended.

Adjust preset VR1 (2-mega-ohm) to get equal glow when any two test points are shorted. Unregulated 15V-18V is regulated by the zener-transistor combination to power the circuit.

The testing procedure is simple. Normally, the transistors can be plugged in any orientation as they come in a variety of possible arrangements of base, collector and emitter pins, such as CEB, BEC and CBE. Simply plug the TUT in the possible combinations of three points. A red-green-red glow means that it is npn transistor and the pin associated with green LED is base. To identify the emitter and collector, simply press switch S1 and observe green LEDs adjacent to already glowing red LEDs. The green LED glowing with a high intensity indicates the emitter side, while the low-intensity LED indicates the collector side.

Similarly, a green-red-green glow means that the transistor is pnp type and the pin associated with the red LED is the base. To identify the emitter and collector, simply press switch S1 and observe red LEDs associated with the already glowing green LEDs on the sides. The LED glowing with a high intensity indicates the emitter side, while the low-intensity LED indicates the collector side.

Assemble the circuit on a general-purpose PCB and enclose in a small box. Keep the preset knob in the middle. In order to make it easy to plug the TUT, you can increase the number of test points

Electronic Metronome

Metronome is used by musicians for practice in maintaining a consistent tempo, or rubato, around a fixed beat. This circuit produces a regular beat at the rate of 40 to 200 beats per minute. It accentuates every second, third, fourth, fifth, sixth or eighth beat, which is adjustable as per your liking and requirement. Every beat is indicated by the glowing of an LED. The accented beat is indicated by another LED.

The beat is derived from an astable multivibrator (IC1) running between 0.67 Hz (40 beats per minute) and 3.47 Hz (208 beats per minute), and a pulse generator built around NOR gates N1 and N3, resistor R3 and capacitor C2. The beat covers all the musical tempi from adagio to presto. The results are a very short burst of sound, reminiscent of the 'tick'of a mechanical metronome. If you prefer a beep rather than a tick sound, the pulses should be lengthened by reducing the value of R3 to, say, 5.6 or 6.8 kilo-ohms.

IC1 drives the pulse generator. The length of the pulse is about 10 ms, and it appears at pin 1 of IC3 (NOR gate N3). At each pulse, the red LED (LED1) flashes to indicate occurrence of the beat. The pulse passes through NAND gates N6 and N7 of IC4. The pulse output from pin 6 of N7 is fed to NAND gate N8. The audio signal output generated by another multivibrator (IC6) is also fed to gate N8. The audio signal can be adjusted to obtain a note of suitable pitch. 

The output from IC1 also goes to IC2 (CD4022), which is a divide-by-eight counter/divider with eight decoded outputs. Rotary switch S1 allows the counter to be reset every two, three, four, five or six counts, or cycle through eight counts without resetting. 

Output Q0 of IC2 drives the second pulse generator built around NOR gates N2 and N4, resistor R4 and capacitor C3. The output is an accented beat pulse, which is fed to NAND gates N5 and N9 and the base of transistor T2. Since C3 has a higher capacitance than C2, this pulse is longer (about 40ms) and is used to mark the accented beat. The result is a 'tick'sound lasting about 40 ms, which sounds every second, third, fourth, fifth, sixth or eighth beat, depending on the setting of S1. The accent pulse makes the yellow LED (LED2) flash.It is important that the base 'tick' note or beat is not heard on the accented beat. This is achieved by gates N5 through N7 of IC4. 

The final audio signal appears at pin 3 of IC5 (NAND gate N10). This The beat is derived from an astable multivibrator (IC1) running between 0.67 Hz (40 beats per minute) and 3.47 Hz (208 beats per minute), and a pulse generator built around NOR gates N1 and N3, resistor R3 and capacitor C2. The beat covers all the musical tempi from adagio to presto. The results are a very short burst of sound, reminiscent of the 'tick' of a mechanical metronome. If you prefer a beep rather than a tick sound, the pulses should be lengthened by reducing the value of R3 to, say, 5.6 or 6.8 kilo-ohms.

IC1 drives the pulse generator. The length of the pulse is about 10 ms, and it appears at pin 1 of IC3 (NOR gate N3). At each pulse, the red LED (LED1) flashes to indicate occurrence of the beat. The pulse passes through NAND gates N6 and N7 of IC4. The pulse output from pin 6 of N7 is fed to NAND gate N8. The audio signal output generated by another multivibrator (IC6) is also fed to gate N8. The audio signal can be adjusted to obtain a note of suitable pitch. 

The output from IC1 also goes to IC2 (CD4022),which is a divide-by-eight counter/divider with eight decoded outputs. Rotary switch S1 allows the counter to be reset every two, three, four, five or six counts, or cycle through eight counts without resetting. 

Output Q0 of IC2 drives the second pulse generator built around NOR gates N2 and N4, resistor R4 and capacitor C3. The output is an accented beat pulse, which is fed to NAND gates N5 and N9 and the base of transistor T2. Since C3 has a higher capacitance than C2, this pulse is longer (about 40ms) and is used to mark the accented beat. The result is a 'tick'sound lasting about 40 ms, which sounds every second, third, fourth, fifth, sixth or eighth beat, depending on the setting of S1. The accent pulse makes the yellow LED (LED2) flash. It is important that the base 'tick' note or beat is not heard on the accented beat. This is achieved by gates N5 through N7 of IC4. 

The final audio signal appears at pin 3 of IC5 (NAND gate N10). This signal can be fed to the audio power amplifier stage. When you supply 6V DC to the circuit, you can hear the base or tempo beats and accented beats from the speaker of your power amplifier. The red LED (LED1) flashes with the beat and the yellow LED (LED2) flashes on the accented beat.

Construction and testing is simple. Assemble the circuit on a breadboard or general-purpose PCB. Mount all the components, except S1, and temporarily connect pin 15 of IC2 to ground rail. IC1 produces an audible tick sound (tempo beat) at a fixed rate that varies as VR1 is adjusted. IC6 produces a tone that varies in pitch from about 250 Hz (about an octave below middle C) to about 2 kHz (about two octaves above middle C) as VR2 is adjusted. The counter goes through its normal eight-stage cycle and the yellow LED (LED2) flashes once for every eight flashes of the red LED (LED1). 

Now connect a loudspeaker to pin 3 of NAND gate N10 through a 10 F capacitor. The circuit should produce a series of tick sound with a double-tick sound at every eighth tick sound. If this works well, remove pin 15 of IC2 from the ground rail and connect to six-way rotary switch S1. Remove the speaker and 10µF capacitor from pin 3 of N10 and connect pin 3 to an audio power amplifier. Use presets VR1 and VR2 such that turning their knobs clockwise increases the tempo and the pitch, respectively.



LED Flasher for Festivals

The circuit for a portable electric lamp-cum-LED flasher. It uses a 25W, 230V AC bulb and nine LEDs. When the bulb glows all the LEDs remain 'off, 'and when the LEDs glow the bulb remains 'off.'

The circuit is built around timer IC 555 (IC1), which is wired as an astable multi vibrator generating square wave. The output of IC1 drives transistor T1. 

Working of the circuit is simple. When output pin 3 of IC1 goes high, transistor T1 conducts to fire triac1 and the bulb glows. Bulb L1 turns off when output pin 3 of IC1 goes low.

The collector of transistor T1 is connected to anodes of all the LEDs (LED1 through LED9). So when T1 is cut-off the LEDs glow, and when T1 conducts the LEDs go off. Current-limiting resistor R4 protects the LEDs from higher currents.

In brief, the bulb and the LEDs flash alternately depending on the frequency of IC1. Flashing rates of the bulb as well as LEDs can be varied by adjusting potmeter VR1. Connect the power supply line (L) of mains to bulb L1 via switch S1 and neutral (N) to MT1 terminal of triac1. 

A 12V, 200mA AC adaptor is used to power the circuit. Using switch S1,you can switch off the bulb permanently if you do not want it to flash.

Assemble the circuit on a general-purpose PCB and enclose in a circular plastic cabinet keeping the bulb at the centre and LEDs at the circumference. Drill holes for mounting the 'on' /'off' Switch .Use a bulb holder for bulb L1 and LED holders for the LEDs. Also use an IC socket for timer IC 555.

Warning. While assembling, testing or repairing, take care to avoid the lethal electric shock.



Guitar Effect Pedal Power

A small box is fitted to the rear of the amplifier providing a 9V output for the effect pedal. The amplifier section gets 9V through a pedal switch. This power output and guitar signal input lines are combined into a single unit with multi-way cable connecting points as shown in the following figure.



The circuit can be divided into two sections: power supply and signal handling. The power supply section is built around transformer X1, regulators 7805 and 7905, bridge rectifier comprising diodes D1 through D4, and a few discrete components. The signal-handling circuit is built around two OP27 op-amps (IC3 and IC4).

The power supply of about 9V for the effect pedals is derived from step-down transformer X1. MOV1 is a metal-oxide varistor that absorbs any large spike in mains power. 

IC 7905 (IC1) is a -5V low-power regulator. By using a 3.9V zener diode (ZD1) at its ground terminal, you get -8.9V output. The same technique is also applied to IC 7805 (IC2)-a +5V regulator to get 8.9V. Use good-quality components and heat-sinks for the regulators. This supply is more than enough for the five effect pedals.

The greater the voltage drop across the regulator, the lower the output current potential. Resistors R1 and R2 provide a constant load to ensure that the regulators keep regulating. Capacitors C3 through C8 ensure that the supplies are as clean as possible. It is very important to use proper heat-sinks for IC1 and IC2. Otherwise, these could heat up.

Working of the circuit is simple. The input signal stage uses a basic differentiation amplifier to accept the incoming signal and a voltage follower to buffer the output to the power amplifier. The differential amplifier is built around IC3. It works by effectively looking at the signals presented to its inputs. If the input signals are of different amplitudes, IC3 amplifies the difference by a factor determined by R4/R3 (where R4=R6 and R3=R5). If the input signals have same amplitudes, these are attenuated by the common-mode rejection ratio (CMRR) of the circuit. The value of CMRR is determined by the choice of the op-amp the auxiliary components used and circuit topology. You can use standard resistors. With the values shown, you get an overall gain of unity. 

The combination of resistor R7 and C13 serves as a passive low-pass filter, progressively attenuating unwanted high-frequency signals. The second op-amp (IC4) forms a simple voltage follower (its output follows its input), providing a low output impedance to drive into the standard power amplifier. 

Assemble the circuit on a general-purpose PCB and fit it to the rear of an amplifier. The unit must be compact, yet robust. So use a very sturdy aluminium extrusion for the cabinet in order to neatly house the assembled PCB. 

To ensure simple operation, there are only three connections to the unit. First, mains power is tapped from the transformer. The second lead carries the 9V output to the amplifier. The third is the guitar signal input at the five-way socket for connection to the effect pedal.