Temperature Sensors With Digital Output



This is a very simple to implement Temperature Sensor. It uses LM35DT as a semiconductor temperature sensor which operates with a +5 volt DC.

It produces an analog output voltage, proportional to the change in surrounding temperature in Celsius scale (2mv/C). The analog output of the sensor is then passed to the ADC0804 IC which produces an 8-bit binary output (digital output) correspoding to the analog input voltage. The digital output from ADC is then used to glow the LED which indicates the high/low logic (LED ON: Logic 0, LED OFF: Logic 1).

The output of the ADC can be interfaced to a 7-segment diaply using a 7-segment driver or the digital output can be interfaced to a PC / microcontroller. The bottom portion of the schematic shows a fixed and a variable power supply which inputs 220 volts AC from the wall outlet in your house, the transformer then steps-down it to 18 volts AC (9-0-9 centre-tapped), which is then converted to DC using bridge rectifier.

The fixed regulator IC (7805) produces a +5 volts regulated output which is used to operate the Sensor and the ADC0804 IC. It also outputs a variable voltage controlled by a 5K variable resistor which is used to adjust the scaling of the ADC0804 (normally for full scale, it is set to 2.5 volts).

Further modification may include an automatic control circuitry interfaced to the ADC which automatically ON/Off the

device whose temperature is to be control/monitor. The automatic control can be achieved by OP-AMP based comparators or using

a microcontroller/microprocessor.

Light Barrier Detector Circuit Diagram



This simple circuit using a single transistor turns ON the relay when light falls on the LDR.
The potentiometer is adjusted for the required sensitivity.
The power supply is 6V.
Be careful about the impedance of the relay. Its impedance should not be less that 60ohm.
Its working can be explained as follows:
With the light falling on the LDR,its resistance is low and the transistor is saturated and turns the relay ON.
When light is obstructed, the LDRs resistance becomes very high. The potentiometer shorts the transistors
base to ground and it is cut off. Hence the relay is OFF.

Colour Sensors Circuit Diagram



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

Dew Sensors Circuit Diagram



Dew (condensed moisture) ad- versely affects the normal per- formance of sensitive electronic devices. A low-cost circuit described here can be used to switch off any gadget automatically in case of excessive humidity. At the heart of the circuit is an inexpensive (resistor type) dew sensor element. Although dew sensor elements are widely used in video cassette players and recorders, these may not be easily available in local market. However, the same can be procured from authorised service centres of reputed companies. The author used the dew sensor for FUNAI VCP model No. V.I.P. 3000A (Part No: 6808-08-04, reference no. 336) in his prototype. In practice, it is observed that all dew sensors available for video application possess the same electrical characteristics irrespective of their physical shape/size, and hence are interchangeable and can be used in this project. The circuit is basically a switching type circuit made with the help of a popular dual op-amp IC LM358N which is configured here as a comparator. (Note that only one half of the IC is used here.) Under normal conditions, resistance of the dew sensor is low (1 kilo-ohm or so) and thus the voltage at its non-inverting terminal (pin 3) is low compared to that at its inverting input (pin 2) terminal. The corresponding output of the comparator (at pin 1) is accordingly low and thus nothing happens in the circuit. When humidity exceeds 80 per cent, the sensor resistance increases rapidly. As a result, the non-inverting pin becomes more positive than the inverting pin. This pushes up the output of IC1 to a high level. As a consequence, the LED inside the opto-coupler is energised. At the same time LED1 provides a visual indication. The opto-coupler can be suitably interfaced to any electronic device for switching purpose. Circuit comprising diode D2, resistors R5 and R6 and capacitor C1 forms a low-voltage, low-current power supply unit. This simple arrangement obviates the requirement for a bulky and expensive step-down transformer.

Clap Activated Remote Circuit Diagram



An infra-red or wireless remote control has the disadvantage that the small, handy, remote transmitter is often misplaced. The sound operated switch has the advantage that the transmitter is always with you. This project offers a way to control up to four latching switches with two claps of your hand. These switches may be used to control lights or fans – or anything else that does not produce too loud a sound. To prevent an occasional loud sound from causing malfunction, the circuit is normally quiescent. The first clap takes it out of standby state and starts a scan of eight panel-mounted LEDs. Each of the four switches are accompanied with two LEDs – one for indicating the ‘on’ and the other for indicating the ‘off’ state. A second clap, while the appropriate LED is lit, activates that function. For example, if you clap while LED10 used in conjunction with Lamp 1 is lit then the lamp turns on. (If it is already on, nothing happens and it remains on.) A condenser microphone, as used in tape recorders, is used here to pick up the sound of the claps. The signal is then amplified and shaped into a pulse by three inverters (N1 through N3) contained in CMOS hex inverter IC CD4069. A clock generator built from two of the inverter gates (N5 and N6) supplies clock pulses to a decade counter CD4017 (IC2). Eight outputs of this IC drive LEDs (1 through 8). These outputs also go to the J and K inputs of four flip-flops in two type CD4027 ICs (IC3 and IC4). The clock inputs of these flip-flops are connected to the pulse shaped sound signal (available at the output of gate N3). Additional circuitry around the CD4017 counter ensures that it is in the reset state, after reaching count 9, and that the reset is removed when a sound signal is received. Outputs of the four flip-flops are buffered by transistors and fed via LEDs to the gates of four triacs. These triacs switch the mains supply to four loads, usually lamps. If small lamps are to be controlled, these may be directly driven by the transistors. If this circuit is to be active, i.e. scanning all the time, some components around CD4017 IC could be omitted and some connections changed. But then it would no longer be immune to an occasional, spurious loud sound. The condenser microphone usually available in the market has two terminals. It has to be supplied with power for it to function. Any interference on this supply line will be passed on to the output. So the supply for the microphone is smoothed by resistor-capacitor combination of R2, C1 and fed to it via resistor R1. CD4069, a hex unbuffered inverter, contains six similar inverters. When the output and input of such an inverter is bridged by a resistor, it functions as an inverting amplifier. Capacitor C2 couples the signal developed by the microphone to N1 inverter in this IC, which is configured as an amplifier. The output of gate N1 is directly connected to the input of next gate N2. Capacitor C3 couples the output of this inverter to N3 inverter, which is connected as an adjustable level comparator. Inverter N4 is connected as an LED (9) driver to help in setting the sensitivity. Preset VR1 supplies a variable bias to U3. If the wiper of VR1 is set towards the negative supply end, the circuit becomes relatively insensitive (i.e. requires a thunderous clap to operate). As the wiper is turned towards resistor R4, the circuit becomes progressively more sensitive. The sound signal supplied by gate N2 is added to the voltage set by preset VR1 and applied to the input of gate N3. When this voltage crosses half supply voltage, the output of gate N3 goes low. This output is normally high since the input is held low by adjustment of preset VR1. This output is used for two things: First, it releases the reset state of IC2 via diode D1. Second, it feeds the clock inputs to the four flip-flops contained in IC3 and IC4. In the quiescent state, IC2 is reset and its ‘Q0’ output is high. Capacitor C4 is charged positively and it holds this charge due to the connection from R5 to this output (Q0). IC2 is a decade counter with fully decoded outputs. It has ten outputs labelled Q0 to Q9 which go successively high, one at a time, when the clock in put is fed with pulses. IC3 and IC4 are dual JK flip-flops. In this circuit they store (latch) the state of the four switches and control the output through transistors and triacs. At the first clap, the output of gate N3 goes low. Diode D1 is forward biased and it conducts, discharging capacitor C4. The reset input of IC2 goes low, releasing its reset state. All the J and K inputs of the four flip-flops are low and so these do not change state, even though their clock inputs receive pulses. When the reset input of IC2 is low, each clock pulse causes IC2 to advance by one count and its outputs go high successively, lighting up the corresponding LEDs and pulling high the J and K inputs of the four flip-flops, one after the other. Resistor R8 limits the current through LEDs 1 through 8 to about 2 mA. Larger current might cause malfunction due to the outputs of IC2 being pulled down below the logic 1 state input voltage. If a second clap is detected while the J input of a particular flip-flop is high, its Q output will go high, regardless of what state it was in previously. Similarly, if its K input was high, the output will go low. (If both J and K are high, the output will change state at each clock pulse.) Thus although all flip-flops receive the clap signal at their clock inputs, only the one selected by the active output of IC2 will change state. Resistor R9 and capacitor C6 ensure that the flip-flops start in the off state when power to the circuit is switched on, by providing a positive power-on-reset pulse to the reset input pins when power is applied. The preset input pins are not used and are therefore connected directly to ground. When, after eight clock pulses, output Q8 of IC2 becomes high, diode D2 conducts, charging capacitor C4, thereby resetting IC2 and making its Q0 output high. And there it stays, awaiting the next clap. The four Q outputs of IC3 and IC4 are buffered by npn transistors, fed through current limiting resistors and LEDs (to indicate the on/off state of the loads) to the gates of four triacs. Four lamps operating on the mains may thus be controlled. For demonstrations, it might be better to drive small lamps (drawing less than 100 mA at 12V) directly from the emitters of the transistors. In this case the triacs, LEDs and their associated current limiting resistors may be omitted. It has to be noted that one side of the mains has to be connected to the negative supply line of this circuit when mains loads are to be controlled. This necessitates safe construction of the circuit such that no part of it is liable to be touched. The advantage is that it may be mounted out of reach of curious hands since it does not need to be handled during normal operation. It is advisable to start with the low voltage version and then upgrade to mains operation, once you are sure everything else is working satisfactorily. CMOS ICs are used in this circuit for implementing the amplifying and logic functions. Use of a dedicated supply is recommended because the integrated circuits will be damaged if the supply voltage is too high, or is of wrong polarity. An external power supply may get connected up the wrong way around, or be inadvertently set to too high a voltage. Therefore it is a good idea to start by constructing the power supply section and then add the other components of the circuit. If the clock is working, you may turn your attention to the amplifier. LED9 should be off, and should flash when the terminals of capacitor C2 are touched with a wet finger (the classic wet finger test). Preset VR1 may need to be adjusted until LED9 just turns off. The output of gate N2 will be at about half the supply voltage. The output of gate N3 would normally be high. The voltage at the input of gate N3 should vary when preset VR1 is varied. High-efficiency LEDs should preferably be used in this circuit. The microphone has two terminals, one of which is connected to its body. This terminal has to be connected to circuit ground, and the other to the junction of resistor R2 and capacitor C2. These wires are preferably kept short (one or two centimetres) to avoid noise pickup. With the microphone connected, a loud sound (a clap) should result in LED9 blinking. Adjust preset VR1 so that LED9 stays off on the loudest of background noises but starts glowing when you clap. If the clap-to-start feature is not required, it may be disabled by omitting components D1, D2, R5, C4 and connecting a wire link in place of diode D2. Then IC2 will be alive and kicking all the time.

Coilles FM Transmitter Circuit Diagram



The RF oscillator using the inverter N2 and 10.7Mhz ceramic filter is driving the parallel combination of N4 to N6 through N3.Since these inverters are in parallel the output impedance will be low so that it can directly drive an aerial of 1/4th wavelength. Since the output of N4-N6 is square wave there will be a lot of harmonics in it. The 9th harmonics of 10.7Mhz (96.3Mhz) will hence be at the center of the FM band .
N1 is working as an audio amplifier. The audio signals from the microphone are amplified and fed to the varycap diode. The signal varies the capacitance of the varycap and hence varies the oscillator frequency which produce Frequency Modulation.

FM Transmitter Circuit Diagram



Colpitts oscillator. Its frequency depends on the capacitance of the vary cap diode. The center frequency is changed by varying the biasing voltage of the vary cap through the 47K pot. You can use a 75cm telescopic antenna or simply a length of hook-up wire. Mine worked fine with a 6cm hook-up wire and gave a range of 100m with a good FM receiver. The approx. cost of the circuit is around Rs.35

Coil Details (Print on the PCB itself)

The coil shown below can be constructed on the PCB itself as PCB track. Just transfer the dimensions on a copper board and etch it. If the 1mm spacing is difficult use a sharp blade to remove unwanted copper.
You can also use a copper wire and construct a square spiral of the dimensions shown below. Please note that a small deviation from the given dimensions is permissible.
Note: You can even try a coil made of 18SWG copper wire of 5 turns and 5mm dia with air core. The center tap can then be taken at the 2nd or 3rd turn.( I have'nt tried it tell me if it works well)

Radio Remote Control Using DTMF



Here is a circuit of a remote control unit which makes use of the radio frequency signals to control various electrical appliances. This remote control unit has 4 channels which can be easily extended to 12. This circuit differs from similar circuits in view of its simplicity and a totally different concept of generating the control signals. Usually remote control circuits make use of infrared light to transmit control signals. Their use is thus limited to a very confined area and line-of-sight. However, this circuit makes use of radio frequency to transmit the control signals and hence it can be used for control from almost anywhere in the house. Here we make use of DTMF (dual-tone multi frequency) signals (used in telephones to dial the digits) as the control codes. The DTMF tones are used for frequency modulation of the carrier. At the receiver unit, these frequency modulated signals are intercepted to obtain DTMF tones at the speaker terminals. This DTMF signal is connected to a DTMF-to-BCD converter whose BCD output is used to switch-on and switch-off various electrical applicances (4 in this case). The remote control transmitter consists of DTMF generator and an FM transmitter circuit. For generating the DTMF frequencies, a dedicated IC UM91214B (which is used as a dialler IC in telephone instruments) is used here. This IC requires 3 volts for its operation. This is provided by a simple zener diode voltage regulator which converts 9 volts into 3 volts for use by this IC. For its time base, it requires a quartz crystal of 3.58 MHz which is easily available from electronic component shops. Pins 1 and 2 are used as chip select and DTMF mode select pins respectively. When the row and column pins (12 and 15) are shorted to each other, DTMF tones corresponding to digit 1 are output from its pin 7. Similarly, pins 13, 16 and 17 are additionally required to dial digits 2, 4 and 8. Rest of the pins of this IC may be left as they are. The output of IC1 is given to the input of this transmitter circuit which effectively frequency modulates the carrier and transmits it in the air. The carrier frequency is determined by coil L1 and trimmer capacitor VC1 (which may be adjusted for around 100MHz operation). An antenna of 10 to 15 cms (4 to 6 inches) length will be sufficient to provide adequate range. The antenna is also necessary because the transmitter unit has to be housed in a metallic cabinet to protect the frequency drift caused due to stray EM fields. Four key switches (DPST push-to-on spring loaded) are required to transmit the desired DTMF tones. The switches when pressed generate the specific tone pairs as well as provide power to the transmitter circuit simultaneously. This way when the transmitter unit is not in use it consumes no power at all and the battery lasts much longer. The receiver unit consists of an FM receiver (these days simple and inexpensive FM kits are readily available in the market which work exceptionally well), a DTMF-to-BCD converter and a flip-flop toggling latch section. The frequency modulated DTMF signals are received by the FM receiver and the output (DTMF tones) are fed to the dedicated IC KT3170 which is a DTMF-to-BCD converter. This IC when fed with the DTMF tones gives corresponding BCD output; for example, when digit 1 is pressed, the output is 0001 and when digit 4 is pressed the output is 0100. This IC also requires a 3.58MHz crystal for its operation. The tone input is connected to its pin 2 and the BCD outputs are taken from pins 11 to 14 respectively. These outputs are fed to 4 individual ‘D’ flip-flop latches which have been converted into toggle flip-flops built around two CD4013B ICs. Whenever a digit is pressed, the receiver decodes it and gives a clock pulse which is used to toggle the corresponding flip-flop to the alternate state. The flip-flop output is used to drive a relay which in turn can latch or unlatch any electrical appliance. We can upgrade the circuit to control as many as 12 channels since IC UM91214B can generates 12 DTMF tones. For this purpose some modification has to be done in receiver unit and also in between IC2 and toggle flip-flop section in the receiver. A 4-to-16 lines demultiplexer (IC 74154) has to be used and the number of toggle flip-flops have also to be increased to 12 from the existing 4

Powerfull AM Transmitter Circuit Diagram



The circuit for a powerful AM transmitter using ceramic resonator/filter of 3.587 MHz is presented here. Resonators/filters of other frequencies such as 5.5 MHz, 7 MHz and 10.7 MHz may also be used. Use of different frequency filters/resonators will involve corresponding variation in the value of inductor used in the tank circuit of oscillator connected at the collector of transistor T1.
The AF input for modulation is inserted in series with emitter of transistor T1 (and resistor R4) using a transistor radio type audio driver transformer as shown in the circuit. Modulated RF output is developed across the tank circuit which can be tuned to resonance frequency of the filter/resonator with the help of gang condenser C7. The next two stages formed using low-noise RF transistors BF495 are, in fact, connected in parallel for amplification of modulated signal coupled from collector of transistor T1 to bases of transistors T2 and T3. The combined output from collectors of T2 and T3 is fed to antenna via 100pF capacitor C4.
The circuit can be easily assembled on a general-purpose PCB. The range of the transmitter is expected to be one to two kilometers. The circuit requires regulated 9-volt power supply for its operation. Note: Dotted lined indicates additional connection if a 3-pin filter is used in place.

40 Meter Direct Conversion Receiver Circuit Diagram



Using the circuit of 40-metre band direct-conversion receiver descr- ibed here, one can listen to amateur radio QSO signals in CW as well as in SSB mode in the 40-metre band. The circuit makes use of three n-channel FETs (BFW10). The first FET (T1) performs the function of ant./RF amplifier-cum-product detector, while the second and third FETs (T2 and T3) together form a VFO (variable frequency oscillator) whose output is injected into the gate of first FET (T1) through 10pF capacitor C16. The VFO is tuned to a frequency which differs from the incoming CW signal frequency by about 1 kHz to produce a beat frequency in the audio range at the output of transformer X1, which is an audio driver transformer of the type used in transistor radios. The audio output from transformer X1 is connected to the input of audio amplifier built around IC1 (TBA820M) via volume control VR1. An audio output from the AF amplifier is connected to an 8-ohm, 1-watt speaker. The receiver can be powered by a 12-volt power-supply, capable of sourcing around 250mA current. Audio-output stage can be substituted with a readymade L-plate audio output circuit used in transistor amplifiers, if desired. The necessary data regarding the coils used in the circuit is given in the circuit diagram itself.

Remote Control Using VHF Modules Circuit Diagram



The power output of most of these circuits are very low because no power amplifier stages were incorporated.
The transmitter circuit described here has an extra RF power amplifier stage, after the oscillator stage, to raise the power output to 200-250 milliwatts. With a good matching 50-ohm ground plane antenna or multi-element Yagi antenna, this transmitter can provide reasonably good signal strength up to a distance of about 2 kilometres.
The circuit built around transistor T1 (BF494) is a basic low-power variable-frequency VHF oscillator. A varicap diode circuit is included to change the frequency of the transmitter and to provide frequency modulation by audio signals. The output of the oscillator is about 50 milliwatts. Transistor T2 (2N3866) forms a VHF-class A power amplifier. It boosts the oscillator signals’ power four to five times. Thus, 200-250 milliwatts of power is generated at the collector of transistor T2.
For better results, assemble the circuit on a good-quality glass epoxy board and house the transmitter inside an aluminium case. Shield the oscillator stage using an aluminium sheet.
Coil winding details are given below:
L1 - 4 turns of 20 SWG wire close wound over 8mm diameter plastic former.
L2 - 2 turns of 24 SWG wire near top end of L1.
(Note: No core (i.e. air core) is used for the above coils)
L3 - 7 turns of 24 SWG wire close wound with 4mm diameter air core.
L4 - 7 turns of 24 SWG wire-wound on a ferrite bead (as choke)
Potentiometer VR1 is used to vary the fundamental frequency whereas potentiometer VR2 is used as power control. For hum-free operation, operate the transmitter on a 12V rechargeable battery pack of 10 x 1.2-volt Ni-Cd cells. Transistor T2 must be mounted on a heat sink. Do not switch on the transmitter without a matching antenna. Adjust both trimmers (VC1 and VC2) for maximum transmission power. Adjust potentiometer VR1 to set the fundamental frequency near 100 MHz.

Self Switching Power Supply Circuit Diagram



One of the main features of the regulated power supply circuit being presented is that though fixed-voltage regulator LM7805 is used in the circuit, its output voltage is variable. This is achieved by connecting a potentiometer between common terminal of regulator IC and ground. For every 100-ohm increment in the in-circuit value of the resistance of potentiometer VR1, the output voltage increases by 1 volt. Thus, the output varies from 3.7V to 8.7V (taking into account 1.3-volt drop across diodes D1 and D2).
Another important feature of the supply is that it switches itself off when no load is connected across its output terminals. This is achieved with the help of transistors T1 and T2, diodes D1 and D2, and capacitor C2. When a load is connected at the output, potential drop across diodes D1 and D2 (approximately 1.3V) is sufficient for transistors T2 and T1 to conduct. As a result, the relay gets energised and remains in that state as long as the load remains connected. At the same time, capacitor C2 gets charged to around 7-8 volt potential through transistor T2. But when the load is disconnected, transistor T2 is cut off. However, capacitor C2 is still charged and it starts discharging through base of transistor T1. After some time (which is basically determined by value of C2), relay RL1 is de-energised, which switches off the mains input to primary of transformer X1. To resume the power again, switch S1 should be pressed momentarily. Higher the value of capacitor C2, more will be the delay in switching off the power supply on disconnection of the load, and vice versa.
Though in the prototype a transformer with a secondary voltage of 12V-0V, 250mA was used, it can nevertheless be changed as per user’s requirement (up to 30V maximum. and 1-ampere current rating). For drawing more than 300mA current, the regulator IC must be fitted with a small heat sink over a mica insulator. When the transformer’s secondary voltage increases beyond 12 volts (RMS), potentiometer VR1 must be redimensioned. Also, the relay voltage rating should be redetermined.

High Voltage Low Current Supply Circuit Diagram



A high voltage power supply is a very useful source which can be effectively used in many applications like biasing of gas-discharge tubes and radiation detectors etc. Such a power supply could also be used for protection of property by electric charging of fences. Here the current requirement is of the order of a few microamps. In such an application, high voltage would essentially exist between a ‘live’ wire and ground. When this ‘live’ wire is touched, the discharge occurs via body resistance and it gives a non-lethal but deterrent shock to an intruder. The circuit is built around a single transistorised blocking oscillator. An important element in this circuit is the transformer. It can be fabricated on easily available ferrite cores. Two ‘E’ sections of the core are joined face-to-face after the enamelled copper wire wound on former is placed in it. The details of the transformer windings are given in the Table.



In this configuration, the primary winding and the feedback winding are arranged such that a sustaining oscillation is ensured once the supply is switched on. The waveform’s duty cycle is asymmetrical, but it is not very important in this application. Please note that if the oscillations do not occur at the ‘switch-on’ time, the transformer winding terminals of the feedback or the primary winding (but not both) should be reversed. The primary oscillation amplitude is about 24V(p-p). This gets amplified with the large step-up ratio of the transformer and we get about 800V(p-p) across the secondary. A simple series voltage multiplier (known as Cockroft-Walton circuit) is used to boost up this voltage in steps to give a final DC of about 2 kV. The output voltage, however, is not very well regulated. But if there is a constant load, the final voltage can be adjusted by varying the supply voltage.

The present configuration gives 2 kV for an input DC voltage of 15 V. Though higher voltages could be achieved by increasing input supply, one word of caution is necessary: that the component ratings have to be kept in mind. If the ratings are exceeded then there will be electrical discharges and breakdowns, which will damage the device

High And Low Voltage Cut-Out With Delay And Music Circuit Diagram



Voltage variations and power cuts adversely affect various equip- ment such as TVs, VCRs, music systems and refrigerators. This simple circuit will protect the costly equipment from high as well as low voltages and the voltage surges (when power resumes). It also gives a melodious tune when mains power resumes. When mains voltage is normal, the DC voltage at the cathode of zener diode D4 is less then 5.6V. As a result transistor T1 is in ‘off’ state. The DC voltage at the cathode of zener diode D5 is greater than 5.6V and as a result transistor T2 is in ‘on’ state. Consequently, relay RL1 gets energised, which is indicated by lighting up of green LED. Under high mains voltage condition, transistor T1 switches to ‘on’ state because the voltage at cathode of zener diode D4 becomes greater than 5.6V. Consequently, transistor T2 switches to ‘off’ state, making the relay to de-energise Under low mains voltage condition, transistor T1 switches to ‘off’ state and as a result transistor T2 also switches to ‘off’ state, making the relay to de-energise.
Timer IC 555 in the circuit is configured to operate in a monostable mode. The pulse width is about 10 seconds with the timing component values used in the circuit. When the power resumes after a break, pin 2 of IC 555 goes low briefly and this triggers it. Its output makes music IC UM66 to operate through transistor T3. Simultaneously, transistor T1 also gets forward biased as the monostable IC1 output is connected to its base via diode D8 and resistor R7. As a result, transistor T1 conducts and biases transistor T2 to cut off. Thus relay RL1 remains de-energised for the duration of mono pulse and the load is protected against the voltage surges.
To adjust presets VR1 and VR2, you may use a manually variable auto-transformer. Set the output of auto-transformer to 270V AC and connect it to the primary of transformer X1. Adjust preset VR1 such that relay RL1 just de-energises. Next set the output of auto-transformer to 170V AC. Now adjust preset VR2 such that relay RL1 again de-energises. Volume control VR3 may be adjusted for the desired output volume of the tune generated by IC UM66

Over/Under Voltage Cut-Out Circuit Diagram



This over/under voltage cut-out will save your costly electrical and electronic appliances from the adverse effects of very high and very low mains voltages. The circuit features auto reset and utilises easily available components. It makes use of the comparators available inside 555 timer ICs. Supply is tapped from different points of the power supply circuit for relay and control circuit operation to achieve reliability. The circuit utilises comparator 2 for control while comparator 1 output (connected to reset pin R) is kept low by shorting pins 5 and 6 of 555 IC. The positive input pin of comparator 2 is at 1/3rd of Vcc voltage . Thus as long as negative input pin 2 is less positive than 1/3 Vcc, comparator 2 output is high and the internal flip-flop is set, i.e. its Q output (pin 3) is high. At the same time pin 7 is in high impedance state and LED connected to pin 7 is therefore off. The output (at pin 3) reverses (goes low) when pin 2 is taken more positive than 1/3 Vcc. At the same time pin 7 goes low (as Q ouptput* of internal flip- flop is high) and the LED connected to pin 7 is lit. Both timers (IC1 and IC2) are configured to function in the same fashion. Preset VR1 is adjusted for under voltage (say 160 volts) cut-out by observing that LED1 just lights up when mains voltage is slightly greater than 160V AC. At this setting the output at pin 3 of IC1 is low and transistor T1 is in cut-off state. As a result RESET* pin 4 of IC2 is held high since it is connected to Vcc via 100 kilo-ohm resistor R4. Preset VR2 is adjusted for over voltage (say 270V AC) cut-out by observing that LED2 just extinguishes when the mains voltage is slightly less than 270V AC. With RESET* pin 4 of IC2 high, the output pin 3 is also high. As a result transistor T2 conducts and energises relay RL1, connecting load to power supply via its N/O contacts. This is the situation as long as mains voltage is greater than 160V AC but less than 270V AC. When mains voltage goes beyond 270V AC, it causes output pin 3 of IC2 to go low and cut-off transistor T2 and de-energise relay RL1, in spite of RESET* pin 4 still being high. When mains voltage goes below 160V AC, IC1’s pin 3 goes high and LED1 is extinguished. The high output at pin 3 results in conduction of transistor T1. As a result collector of transistor T1 as also RESET* pin 4 of IC2 are pulled low. Thus output of IC2 goes low and transistor T2 does not conduct. As a result relay RL1 is de-energised, which causes load to be disconnected from the supply. When mains voltage again goes beyond 160V AC (but less than 270V AC) the relay again energises to connect the load to power supply

Ultra Low Drop Linear Vpltage Regulator Circuit Diagram



The circuit is a MOSFET based linear voltage regulator with a voltage drop of as low as 60 mV at 1 ampere. Drop of a fewer millivolts is possible with better MOSFETs having lower RDS(on) resistance. The circuit in Fig. 1 uses 15V-0-15V secondary from a step-down transformer and employs an n-channel MOSFET IRF 540 to get the regulated 12V output from DC input, which could be as low as 12.06V. The gate drive voltage required for the MOSFET is generated using a voltage doubler circuit consisting of diodes D1 and D2 and capacitors C1 and C4. To turn the MOSFET fully on, the gate terminal should be around 10V above the source terminal which is connected to the output here. The voltage doubler feeds this voltage to the gate through resistor R1. Adjustable shunt regulator TL431 (IC2) is used here as an error amplifier, and it dynamically adjusts the gate voltage to maintain the regulation at the output. With adequate heatsink for the MOSFET, the circuit can provide up to 3A output at slightly elevated minimum voltage drop. Trimpot VR1 in the circuit is used for fine adjustment of the output voltage. Combination of capacitor C5 and resistor R2 provides error-amplifier compensation. The circuit is provided with a short-circuit crow-bar protection to guard the components against over-stress during accidental short at the output. This crow-bar protection will work as follows: Under normal working conditions, the voltage across capacitor C3 will be 6.3V and diode D5 will be in the off state since it will be reverse-biased with the output voltage of 12V. However, during output short-circuit condition, the output will momentarily drop, causing D5 to conduct and the opto-triac MOC3011 (IC1) will get triggered, pulling down the gate voltage to ground, and thus limiting the output current. The circuit will remain latched in this state, and input voltage has to be switched off to reset the circuit. The circuit shown in Fig. 2 follows a similar scheme. It can be utilised when the regulator has to work from a DC rail in place of 15V-0-15V AC supply. The gate voltage here is generated using an LM555 charge pump circuit as follows: When 555 output is low, capacitor C2 will get charged through diode D1 to the input voltage. In the next half cycle, when the 555 output goes high, capacitor C3 will get charged to almost double the input voltage. The rest of the circuit works in a similar fashion as the circuit of Fig. 1. These circuits above will help reduce power-loss by allowing to keep lower input voltage range to the regulator during initial design or even in existing circuits. This will keep the output regulated with relatively low input voltage compared to the conventional regulators. The minimum voltage drop can be further reduced using low RDS(on) MOSFETs or by paralleling them

Negeative Supply For Single Positif Supply Circuit Diagram



Opamps are very useful. But one of their major drawbacks is the requirement of a dual supply. This seriously limits their applications in fields where a dual supply is not affordable or not practicable.
This circuit solves the problem to a certain extent. It provides a negative voltage from a single positive supply. This negative voltage together with the positive supply can be used to power the opamps and other circuits requiring a dual supply.
The circuits operation can be explained as follows:
The 555 IC is operating as an astable multivibrator with a frequency of about 1kHz. A square wave is obtained at the pin 3 of the IC . When the output is positive, the 22uF capacitor charges through the diode D1. When the output at pin 3 is ground, the 22uF discharges through the diode D2 and charges the 100uF capacitor is charged. The output is taken across the 100uF capacitor as shown in the figure.

A disadvantage of this circuit is its poor voltage regulation and current limit. The max. current that can be drawn from this circuit is about 40mA. If you draw more current, the regulation will be lost.
Also the output negative voltage will be a little less than the positive supply due to the diode drops. For example if the voltage is +9V then the output voltage will be about 7.5 V.

Sawtooth Wave generator Circuit Diagram



Sawtooth wave generators using opamp are very common. But the disadvantage is that it requires a bipolar power supply.

A sawtooth wave generator can be built using a simple 555 timer IC and a transistor as shown in the circuit diagram.

The working of the circuit can be explained as follows:
The part of the circuit consisting of the capacitor C, transistor,zener diode and the resistors form a constant current source to charge the capacitor. Initially assume the capacitor is fully discharged. The voltage across it is zero and hence the internal comparators inside the 555 connected to pin 2 causes the 555's output to go high and the internal transistor of 555 shorting the capacitor C to ground opens and the capacitor starts charging to the supply voltage. As it charges, when its voltage increases above 2/3rd the supply voltage, the 555's output goes low, and shorts the C to ground, thus discharging it. Again the 555's output goes high when the voltage across C decreases below 1/3rd supply. Hence the capacitor charges and discharges between 2/3rd and 1/3rd supply.

Note that the output is taken across the capacitor. The 1N4001 diode makes the voltage across the capacitor go to ground level (almost).

The frequency of the circuit is given by:

f = (Vcc-2.7)/(R*C*Vpp)

where:

Vcc= Supply voltage.
Vpp= Peak to peak voltage of the output required.

Choose proper R,C,Vpp and Vcc values to get the required 'f' value.

Discrete Component Motor Direction Controller Circuit Diagram



This circuit can control a small DC motor, like the one in a tape recorder. When both the points A & B are "HIGH" Q1 and Q2 are in saturation. Hence the bases of Q3 to Q6 are grounded. Hence Q3,Q5 are OFF and Q4,Q6 are ON . The voltages at both the motor terminals is the same and hence the motor is OFF. Similarly when both A and B are "LOW" the motor is OFF.
When A is HIGH and B is LOW, Q1 saturates ,Q2 is OFF. The bases of Q3 and Q4 are grounded and that of Q4 and Q5 are HIGH. Hence Q4 and Q5 conduct making the right terminal of the motor more positive than the left and the motor is ON. When A is LOW and B is HIGH ,the left terminal of the motor is more positive than the right and the motor rotates in the reverse direction. I could have used only the SL/SK100s ,but the ones I used had a very low hFE ~70 and they would enter the active region for 3V(2.9V was what I got from the computer for a HIGH),so I had to use the BC148s . You can ditch the BC148 if you have a SL/SK100 with a decent value of hFE ( like 150).The diodes protect the transistors from surge produced due to the sudden reversal of the motor. The approx. cost of the circuit without the motor is around Rs.40.
Note: You can change the supply voltage depending on the motor, only thing is that it should be a 2 or 3V more than the rated motor voltage( upto a max. of 35V)

Super Simple Stepper Motor Controller Circuit Diagram



The circuit shown above can be used to control a unipolar stepper motor which has FOUR coils (I've swiped it off an old fax machine). The above circuit can be for a motor current of up to about 500mA per winding with suitable heat sinks for the SL100. For higher currents power transistors like 2N3055 can be used as darlington pair along with SL100. The diodes are used to protect the transistor from transients.

Activating sequence:-



To reverse the motor just reverse the above sequence viz. 11,10,01,00.

Alternately a 2bit UP/DOWN counter can also be used to control the direction , and a 555 multi-vibrator can be used to control the speed

Automatic Speed Controller For Fans & Coolers Circuit Diagram



During summer nights, the temperature is initially quite high. As time passes, the temperature starts dropping. Also, after a person falls asleep, the metabolic rate of one’s body decreases. Thus, initially the fan/cooler needs to be run at full speed. As time passes, one has to get up again and again to adjust the speed of the fan or the cooler.The device presented here makes the fan run at full speed for a predetermined time. The speed is decreased to medium after some time, and to slow later on. After a period of about eight hours, the fan/cooler is switched off.Fig. 1 shows the circuit diagram of the system. IC1 (555) is used as an astable multivibrator to generate clock pulses. The pulses are fed to decade dividers/counters formed by IC2 and IC3. These ICs act as divide-by-10 and divide-by-9 counters, respectively. The values of capacitor C1 and resistors R1 and R2 are so adjusted that the final output of IC3 goes high after about eight hours.The first two outputs of IC3 (Q0 and Q1) are connected (ORed) via diodes D1 and D2 to the base of transistor T1. Initially output Q0 is high and therefore relay RL1 is energised. It remains energised when Q1 becomes high. The method of connecting the gadget to the fan/cooler is given in Figs 3 and 4.




It can be seen that initially the fan shall get AC supply directly, and so it shall run at top speed. When output Q2 becomes high and Q1 becomes low, relay RL1 is turned ‘off’ and relay RL2 is switched ‘on’. The fan gets AC through a resistance and its speed drops to medium. This continues until output Q4 is high. When Q4 goes low and Q5 goes high, relay RL2 is switched ‘off’ and relay RL3 is activated. The fan now runs at low speed.Throughout the process, pin 11 of the IC is low, so T4 is cut off, thus keeping T5 in saturation and RL4 ‘on’. At the end of the cycle, when pin 11 (Q9) becomes high, T4 gets saturated and T5 is cut off. RL4 is switched ‘off’, thus switching ‘off’ the fan/cooler.Using the circuit described above, the fan shall run at high speed for a comparatively lesser time when either of Q0 or Q1 output is high. At medium speed, it will run for a moderate time period when any of three outputs Q2 through Q4 is high, while at low speed, it will run for a much longer time period when any of the four outputs Q5 through Q8 is high.If one wishes, one can make the fan run at the three speeds for an equal amount of time by connecting three decimal decoded outputs of IC3 to each of the transistors T1 to T3. One can also get more than three speeds by using an additional relay, transistor, and associated components, and connecting one or more outputs of IC3 to it.
In the motors used in certain coolers there are separate windings for separate speeds. Such coolers do not use a rheostat type speed regulator. The method of connection of this device to such coolers is given in Fig. 4.
The resistors in Figs 2 and 3 are the tapped resistors, similar to those used in manually controlled fan-speed regulators. Alternatively, wire-wound resistors of suitable wattage and resistance can be used.

Alternating Flasher Circuit Diagram



This circuit uses three easily available 555 timer ICs. All three work as astable multivibrators. The first 555 has an on period and off period equal to 1 sec. This IC controls the on/ off periods of the other 2 555s which are used to flash two bulbs through the relay contacts.
The flashing occurs at a rate of 4 flashes per second.
The diodes are used to protect the 555 ICs from peaks. The relays should have an impedance greater than 50ohms i.e, they should not draw a current more than 200mA.
The flashing sequence is as follows:
The bulb(s) connected to the first relay flashes for about 1 sec at a rate of 4 flashes per second. Then the bulb(s) connected to the second relay flashes for 1 sec at a rate of 4 flashes per second. Then the cycle repeats.
The flashing rates can be varied by changing the capacitors C3 and C5. A higher value gives a lower flashing rate.
Note that the values of C3 and C5 should be equal and should be less than that of C1.
The value of C1 controls the change-over rate ( default 1sec). A higher value gives a lower change-over rate.
If you use the normally open contacts of the relay, on bulb will be OFF while other is flashing,and vice versa.
If normally closed contacts are used, one bulb will be ON while the other is flashing.

Optical Toggle Switch Circuit Diagram



Using dual flip-flop IC CD4027 employ a 555 based monostable circuit to supply input clock pulses. The circuit described here obviates this requirement. One of the two flip-flops within IC CD4027 itself acts as square wave shaper

Christmas Star Circuit Diagram



This circuit can be used to construct an attractive Christmas Star. When we switch on this circuit, the brightness of lamp L1 gradually increases. When it reaches the maximum brightness level, the brightness starts decreasing gradually. And when it reaches the minimum brightness level, it again increases automatically. This cycle repeats. The increase and decrease of brightness of bulb L1 depends on the charging and discharging of capacitor C3. When the output of IC1 is high, capacitor C3 starts discharging and consequently the brightness of lamp L1 decreases. IC2 is an opto-isolator whereas IC1 is configured as an astable multivibrator. The frequency of IC1 can be changed by varying the value of resistor R2 or the value of capacitor C1. Remember that when you vary the frequency of IC1, you should also vary the values of resistors R3 and R4 correspondingly for better performance. The minimum brightness level of lamp L1 can be changed by adjusting potentiometer VR1. If the brightness of the lamp L1 does not reach a reasonable brightness level, or if the lamp seems to remain in maximum brightness level (watch for a minute), increase the in-circuit resistance of potmeter VR1. If in-circuit resistance of potmeter VR1 is too high, the lamp may flicker in its minimum brightness region, or the lamp may remain in ‘off’ state for a long time. In such cases, decrease the resistance of potmeter VR1 till the brightness of lamp L1 smoothly increases and decreases. When supply voltage varies, you have to adjust potmeter VR1 as stated above, for proper performance of the circuit. A triac such as BT136 can be used in place of the SCR in this circuit. Caution: While adjusting potmeter VR1, care should be taken to avoid electrical sh

Running Message Display Circuits Diagram



Light emitting diodes are advan- tageous due to their smaller size, low current consumption and catchy colours they emit. Here is a running message display circuit wherein the letters formed by LED arrangement light up progressively. Once all the letters of the message have been lit up, the circuit gets reset. The circuit is built around Johnson decade counter CD4017BC (IC2). One of the IC CD4017BE’s features is its provision of ten fully decoded outputs, making the IC ideal for use in a whole range of sequencing operations. In the circuit only one of the outputs remains high and the other outputs switch to high state successively on the arrival of each clock pulse. The timer NE555 (IC1) is wired as a 1Hz astable multivibrator which clocks the IC2 for sequencing operations. On reset, output pin 3 goes high and drives transistor T7 to ‘on’ state. The output of transistor T7 is connected to letter ‘W’ of the LED word array (all LEDs of letter array are connected in parallel) and thus letter ‘W’ is illuminated. On arrival of first clock pulse, pin 3 goes low and pin 2 goes high. Transistor T6 conducts and letter ‘E’ lights up. The preceding letter ‘W’ also remains lighted because of forward biasing of transistor T7 via diode D21. In a similar fashion, on the arrival of each successive pulse, the other letters of the display are also illuminated and finally the complete word becomes visible. On the following clock pulse, pin 6 goes to logic 1 and resets the circuit, and the sequence repeats itself. The frequency of sequencing operations is controlled with the help of potmeter VR1.
The display can be fixed on a veroboard of suitable size and connected to ground of a common supply (of 6V to 9V) while the anodes of LEDs are to be connected to emitters of transistors T1 through T7 as shown in the circuit. The above circuit is very versatile and can be wired with a large number of LEDs to make an LED fashion jewellery of any design. With two circuits connected in a similar fashion, multiplexing of LEDs can be done to give a moving display effect

Automatic Room Light



An ordinary automatic room power control circuit has only one light sensor. So when a person enters the room it gets one pulse and the lights come ‘on.’ When the person goes out it gets another pulse and the lights go ‘off.’ But what happens when two persons enter the room, one after the other? It gets two pulses and the lights remain in ‘off’ state. The circuit described here overcomes the above-mentioned problem. It has a small memory which enables it to automatically switch ‘on’ and switch ‘off’ the lights in a desired fashion. The circuit uses two LDRs which are placed one after another (separated by a distance of say half a metre) so that they may separately sense a person going into the room or coming out of the room. Outputs of the two LDR sensors, after processing, are used in conjunction with a bicolour LED in such a fashion that when a person gets into the room it emits green light and when a person goes out of the room it emits red light, and vice versa. These outputs are simultaneously applied to two counters. One of the counters will count as +1, +2, +3 etc when persons are getting into the room and the other will count as -1, -2, -3 etc when persons are getting out of the room. These counters make use of Johnson decade counter CD4017 ICs. The next stage comprises two logic ICs which can combine the outputs of the two counters and determine if there is any person still left in the room or not. Since in the circuit LDRs have been used, care should be taken to protect them from ambient light. If desired, one may use readily available IR sensor modules to replace the LDRs. The sensors are installed in such a way that when a person enters or leaves the room, he intercepts the light falling on them sequentially—one after the other. When a person enters the room, first he would obstruct the light falling on LDR1, followed by that falling on LDR2. When a person leaves the room it will be the other way round. In the normal case light keeps falling on both the LDRs, and as such their resistance is low (about 5 kilo-ohms). As a result, pin 2 of both timers (IC1 and IC2), which have been configured as monostable flip-flops, are held near the supply voltage (+9V). When the light falling on the LDRs is obstructed, their resistance becomes very high and pin 2 voltages drop to near ground potential, thereby triggering the flip-flops. Capacitors across pin 2 and ground have been added to avoid false triggering due to electrical noise. When a person enters the room, LDR1 is triggered first and it results in triggering of monostable IC1. The short output pulse immediately charges up capacitor C5, forward biasing transistor pair T1-T2. But at this instant the collectors of transistors T1 and T2 are in high impedance state as IC2 pin 3 is at low potential and diode D4 is not conducting. But when the same person passes LDR2, IC2 monostable flip-flop is triggered. Its pin 3 goes high and this potential is coupled to transistor pair T1-T2 via diode D4. As a result transistor pair T1-T2 conducts because capacitor C5 retains the charge for some time as its discharge time is controlled by resistor R5 (and R7 to an extent). Thus green LED portion of bi-colour LED is lit momentarily. The same output is also coupled to IC3 for which it acts as a clock. With entry of each person IC3 output (high state) keeps advancing. At this stage transistor pair T3-T4 cannot conduct because output pin 3 of IC1 is no longer positive as its output pulse duration is quite short and hence transistor collectors are in high impedance state. When persons leave the room, LDR2 is triggered first followed by LDR1. Since the bottom half portion of circuit is identical to top half, this time with the departure of each person red portion of bi-colour LED is lit momentarily and output of IC4 advances in the same fashion as in case of IC3. The outputs of IC3 and those of IC4 (after inversion by inverter gates N1 through N4) are ANDed by AND gates (A1 through A4) are then wire ORed (using diodes D5 through D8). The net effect is that when persons are entering, the output of at least one of the AND gates is high, causing transistor T5 to conduct and energise relay RL1. The bulb connected to the supply via N/O contact of relay RL1 also lights up. When persons are leaving the room, and till all the persons who entered the room have left, the wired OR output continues to remain high, i.e. the bulb continues to remains ‘on,’ until all persons who entered the room have left. The maximum number of persons that this circuit can handle is limited to four since on receipt of fifth clock pulse the counters are reset. The capacity of the circuit can be easily extended for up to nine persons by removing the connection of pin 1 from reset pin (15) and utilising Q1 to Q9 outputs of CD4017 counters. Additional inverters, AND gates and diodes will, however, be required

Emergency Light Circuits Diagram



The circuit of automatic emergency light presented here has the following features: 1. When the mains supply (230V AC) is available, it charges a 12V battery up to 13.5V and then the battery is disconnected from the charging section. 2. When the battery discharges up to 10.2V, it is disconnected from the load and the charging process is resumed. 3. If the mains voltage is available and there is darkness in the room, load (bulb or tube) is turned on by taking power from the mains; otherwise the battery is connected to the load. 4. When the battery discharges up to 10.2V and if the mains is not yet available, the battery is completely disconnected from the circuit to avoid its further discharge. The mains supply of 230V AC is stepped down to 18V AC (RMS) using a 230V AC primary to 0-18V AC, 2A secondary transformer (X1), generally used in 36cm B&W TVs. Diodes D1 through D4 form bridge rectifier and capacitor C5 filters the voltage, providing about 25V DC at the output. Charging section includes 33-ohm, 10-watt resistor R2 which limits the charging current to about 425 mA when battery voltage is about 10.2V, or to 325 mA when battery voltage is about 13.5V. When the battery charges to 13.5V (as set by VR2), zener diode D17 goes into breakdown region, thereby triggering triac TR1. Now, since DC is passing through the triac, it remains continuously ‘on’ even if the gate current is reduced to zero (by disconnecting the gate terminal). Once the battery is fully charged, charging section is cut-off from the battery due to energisation of relay RL2. This relay remains ‘on’ even if the power fails because of connection to the battery via diode D10. S4, a normally closed switch, is included to manually restart the charging process if required. Battery disconnect and charging restart section comprises an NE555 timer (IC2) wired in monostable mode. When the battery voltage is above 10.2V (as indicated by red LED D15), zener diode (D16) remains in the breakdown region, making the trigger pin 2 of IC2 high, thereby maintaining output pin 3 in low voltage state. Thus, relay RL3 is ‘on’ and relay RL4 is ‘off.’ But as soon as the battery voltage falls to about 10.2V (as set by preset VR1), zener diode D16 comes out of conduction, making pin 2 low and pin 3 high to turn ‘on’ relay RL4 and orange LED D13. This also switches off relay RL3 and LED D15. Now, if the mains is available, charging restarts due to de-energisation of relay RL2 because when relay RL4 is ‘on,’ it breaks the circuit of relay RL2 and triac TR1. But if the mains supply is not present, both relays RL3 and RL1 de-energise, disconnecting the battery from the remaining circuit. Thus when battery voltage falls to 10.2 volts, its further discharge is eliminated. But as soon as the mains supply resumes, it energises relay RL1, thereby connecting the battery again to the circuit. Light sensor section also makes use of a 555 timer IC in the monostable mode. As long as normal light is falling on LDR1, its resistance is comparatively low. As a result pin 2 of IC3 is held near Vcc and its output at pin 3 is at low level. In darkness, LDR resistance is very high, which causes pin 2 of IC3 to fall to near ground potential and thus trigger it. As a consequence, output pin 3 goes high during the monostable pulse period, forward biasing transistor T3 which goes into saturation, energising relay RL5. With auto/bypass switch S2 off (in auto mode), the load gets connected to supply via switch S3. If desired, the load may be switched during the day-time by flipping switch S2 to ‘on’ position (manual). Preset VR3 is the sensitivity control used for setting threshold light level at which the load is to be automatically switched on/off. Capacitors with the relays ensure that there is no chattering of the relays. When the mains is present, diode D8 couples the input voltage to regulator IC1 whereas diode D10 feeds the input voltage to it (from battery) in absense of mains supply. Diode D5 connects the load to the power supply section via resistor R5 when mains is available (diode D18 does not conduct). However, when mains power fails, the situation reverses and diode D18 conducts while diode D5 does not conduct. . The load can be any bulb of 12 volts with a maximum current rating of 2 amperes (24 watts). Resistor R5 is supposed to drop approximately 12 volts when the load current flows through it during mains availability . Hence power dissipated in it would almost be equal to the load power. It is therefore desirable to replace R5 with a bulb of similar voltage and wattage as the load so that during mains availability we have more (double) light than when the load is fed from the battery. For setting presets VR1 and VR2, just take out (desolder one end) diodes D7, D10 and D18. Connect a variable source of power supply in place of battery. Set preset VR1 so that battery-high LED D15 is just off at 10.2V of the variable source. Increase the potential of the variable source and observe the shift from LO BAT LED D13 to D15. Now make the voltage of the source 13.5V and set preset VR2 so that relay RL2 just energises. Then decrease the voltage slowly and observe that relay RL2 does not de-energise above 10.2V. At 10.2V, LED D15 should be off and relay RL2 should de-energise while LED D13 should light up. Preset VR3 can be adjusted during evening hours so that the load is ‘on’ during the desired light conditions

Automatic Dual Output Display Circuits Diagram

This circuit lights up ten bulbs sequentially, first in one direc- tion and then in the opposite direction, thus presenting a nice visual effect. In this circuit, gates N1 and N2 form an oscillator. The output of this oscillator is used as a clock for BCD up/down counter CD4510 (IC2). Depending on the logic state at its pin 10, the counter counts up or down. During count up operation, pin 7 of IC2 outputs an active low pulse on reaching the ninth count. Similarly, during count-down operation, you again get a low-going pulse at pin 7. This terminal count output from pin 7, after inversion by gate N3, is connected to clock pin 14 of decade counter IC3 (CD4017) which is configured here as a toggle flip-flop by returning its Q2 output at pin 4 to reset pin 15. Thus output at pin 3 of IC3 goes to logic 1 and logic 0 state alternately at each terminal count of IC2. Initially, pin 3 (Q0) of IC3 is high and the counter is in count-up state. On reaching ninth count, pin 3 of IC3 goes low and as a result IC2 starts counting down. When the counter reaches 0 count, Q2 output of IC3 momentarily goes high to reset it, thus taking pin 3 to logic 1 state, and the cycle repeats. The BCD output of IC2 is connected to 1-of-10 decoder CD4028 (IC4). During count-up operation of IC2, the outputs of IC4 go logic high sequentially from Q0 to Q9 and thus trigger the triacs and lighting bulbs 1 through 10, one after the other. Thereafter, during count-down operation of IC2, the bulbs light in the reverse order, presenting a wonderful visual effect

Automatic Dual Output Display Circuits Diagram

This circuit lights up ten bulbs sequentially, first in one direc- tion and then in the opposite direction, thus presenting a nice visual effect. In this circuit, gates N1 and N2 form an oscillator. The output of this oscillator is used as a clock for BCD up/down counter CD4510 (IC2). Depending on the logic state at its pin 10, the counter counts up or down. During count up operation, pin 7 of IC2 outputs an active low pulse on reaching the ninth count. Similarly, during count-down operation, you again get a low-going pulse at pin 7. This terminal count output from pin 7, after inversion by gate N3, is connected to clock pin 14 of decade counter IC3 (CD4017) which is configured here as a toggle flip-flop by returning its Q2 output at pin 4 to reset pin 15. Thus output at pin 3 of IC3 goes to logic 1 and logic 0 state alternately at each terminal count of IC2. Initially, pin 3 (Q0) of IC3 is high and the counter is in count-up state. On reaching ninth count, pin 3 of IC3 goes low and as a result IC2 starts counting down. When the counter reaches 0 count, Q2 output of IC3 momentarily goes high to reset it, thus taking pin 3 to logic 1 state, and the cycle repeats. The BCD output of IC2 is connected to 1-of-10 decoder CD4028 (IC4). During count-up operation of IC2, the outputs of IC4 go logic high sequentially from Q0 to Q9 and thus trigger the triacs and lighting bulbs 1 through 10, one after the other. Thereafter, during count-down operation of IC2, the bulbs light in the reverse order, presenting a wonderful visual effect

Programmable Digital Code Lock ELectronics Circuits Diagram



A programmable code lock can be used for numerous applications in which access to an article/gadget is to be restricted to a limited number of persons. Here is yet another circuit of a code lock employing mainly the CMOS ICs and thumbwheel switches (TWS) besides a few other components. It is rugged and capable of operation on voltages ranging between 6 and 15 volts. The supply current drain of CMOS ICs being quite low, the circuit may be operated even on battery.
The circuit uses two types of thumbwheel switches. switch numbers TWS1 through TWS8 are decimal-to-BCD converter type while switch numbers TWS9 through TWS16 are 10-input multiplexer type in which only one of the ten inputs may be connected to the output (pole). One thumbwheel switch of each of the two types is used in combination with IC CD4028B (BCD to decimal decoder) to provide one digital output.Eight such identical combinations of thumbwheel switches and IC CD4028 are used. The eight digital outputs obtained from these combinations are connected to the input of 8-input NAND gate CD4068.For getting a logic high output, say at pole-1, it is essential that decimal numbers selected by switch pair TWS1 and TWS9 are identical, as only then the logic high output available at the Specific output pin of IC1 will get transferred to pole-1. Accordingly, when the thumbwheel pair of switches in each combination is individually matched, the outputs at pole-1 to pole-8 will be logic high.This will cause output of 8-input NAND gate IC CD4068b to change over from logic high to logic low, thereby providing a high-to-low going clock pulse at clock input pin of 7-stage counter CD4024B, which is used here as a flip-flop (only Q0 output is used here).The output (Q0) of the flip-flop is connected to a relay driver circuit consisting of transistors T1 and T2. The relay will operate when Q0 output of flip-flop goes low. As a result transistor T1 cuts off and T2 gets forward biased to operate the relay.Switch S1 is provided to enable switching off (locking) and switching on (unlocking) of the relay as desired, once the correct code has been set.
With the code set correctly, the NAND gate output will stay low and flip-flop can be toggled any number of times, making it possible to switch on or switch off the relay, as desired. Suppose we are using the system for switching-on of a deck for which the power supply is routed via the contacts of the relay. The authorised person would select correct code which would cause the supply to become available to the deck. After use he will operate switch S1 and then shuffle the thumbwheel switches TWS1 through TWS8 such that none of the switches produces a correct code. Once the code does not match, pressing of switch S1 has no effect on the output of the flip-flop.Switches TWS9 through TWS16 are concealed after setting the desired code. In place of thumbwheel switches TWS1 through TWS8 DIP switches can also be used

TV Remote Control Blocker Electronics Circuits Diagram



Just point this small device at the TV and the remote gets jammed . The circuit is self explanatory . 555 is wired as an astable multivibrator for a frequency of nearly 38 kHz. This is the frequency at which most of the modern TVs receive the IR beam . The transistor acts as a current source supplying roughly 25mA to the infra red LEDs. To increase the range of the circuit simply decrease the value of the 180 ohm resistor to not less than 100 ohm.

It is required to adjust the 10K potentiometer while pointing the device at your TV to block the IR rays from the remote. This can be done by trial and error until the remote no longer responds.

Flashy Christmas Light Electronics Circuits Diagram



This simple and inexpensive circuit built around a popular CMOS hex inverter IC CD4069UB offers four sequential switching outputs that may be used to control 200 LEDs (50 LEDs per channel), driven directly from mains supply. Input supply of 230V AC is rectified by the bridge rectifiers D1 to D4. After fullwave rectification, the average output voltage of about 6 volts is obtained across the filter comprising capacitor C1 and resistor R5. This supply energises IC CD4069UB.
All gates (N1-N6) of the inverter have been utilised here. Gates N1 to N4 have been used to control four high voltage transistors T1 to T4 (2N3440 or 2N3439) which in turn drive four channels of 50 LEDs each through current limiting resistors of 10-kilo-o Base drive of transistors can be adjusted with the help of 10-kilo-ohm pots provided in their paths. Remaining two gates (N5 and N6) form a low frequency oscillator. The frequency of this oscillator can be changed through pot VR1. When pot VR1 is adjusted To get the best results, a low leakage, good quality capacitor must be used for the timing capacitor C2

JAM (Just a Minute) Electronics Circuits Diagram



This jam circuit can be used in quiz contests wherein any par- ticipant who presses his button (switch) before the other contestants, gets the first chance to answer a question. The circuit given here permits up to eight contestants with each one allotted a distinct number (1 to 8). The display will show the number of the contestant pressing his button before the others. Simultaneously, a buzzer will also sound. Both, the display as well as the buzzer have to be reset manually using a common reset switch. Initially, when reset switch S9 is momentarily pressed and released, all outputs of 74LS373 (IC1) transparent latch go ‘high’ since all the input data lines are returned to Vcc via resistors R1 through R8. All eight outputs of IC1 are connected to inputs of priority encoder 74LS147 (IC2) as well as 8-input NAND gate 74LS30 (IC3). The output of IC3 thus becomes logic 0 which, after inversion by NAND gate N2, is applied to latch-enable pin 11 of IC1. With all input pins of IC2 being logic 1, its BCD output is 0000, which is applied to 7-segment decoder/driver 74LS47 (IC6) after inversion by hex inverter gates inside 74LS04 (IC5). Thus, on reset the display shows 0. When any one of the push-to-on switches—S1 through S8—is pressed, the corresponding output line of IC1 is latched at logic 0 level and the display indicates the number associated with the specific switch. At the same time, output pin 8 of IC3 becomes high, which causes outputs of both gates N1 and N2 to go to logic 0 state. Logic 0 output of gate N2 inhibits IC1, and thus pressing of any other switch S1 through S8 has no effect. Thus, the contestant who presses his switch first, jams the display to show only his number. In the unlikely event of simultaneous pressing (within few nano-seconds difference) of more than one switch, the higher priority number (switch no.) will be displayed. Simultaneously, the logic 0 output of gate N1 drives the buzzer via pnp transistor BC158 (T1). The buzzer as well the display can be reset (to show 0) by momentary pressing of reset switch S9 so that next round may start. Lab Note: The original circuit sent by the author has been modified as it did not jam the display, and a higher number switch (higher priority), even when pressed later, was able to change the displayed number.

Control Electrical Using PC



Here is a circuit for using the printer port of a PC, for control application using software and some interface hardware. The interface circuit along with the given software can be used with the printer port of any PC for controlling up to eight equipment .
The interface circuit shown in the figure is drawn for only one device, being controlled by D0 bit at pin 2 of the 25-pin parallel port. Identical circuits for the remaining data bits D1 through D7 (available at pins 3 through 9) have to be similarly wired. The use of opto-coupler ensures complete isolation of the PC from the relay driver circuitry.
Lots of ways to control the hardware can be implemented using software. In C/C++ one can use the outportb(portno,value) function where portno is the parallel port address (usually 378hex for LPT1) and 'value' is the data that is to be sent to the port. For a value=0 all the outputs (D0-D7) are off. For value=1 D0 is ON, value=2 D1 is ON, value=4, D2 is ON and so on. eg. If value=29(decimal) = 00011101(binary) ->D0,D2,D3,D4 are ON and the rest are OFF.

Click Here For The Source Code Of The Software (In C)

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | cheap international calls