Novel Liquid-Level Sensor

Normally, the level of a liquid in a container is determined by sensing changes in the capacitance or resistance between a pair of electrodes that are immersed in the liquid. Generally speaking, this technique requires fairly complicated circuitry to protect the electrodes against electrolysis (and associated corrosion). In addition, in many cases the liquid must be conductive for the measurement principle to actually be usable. The circuit presented here shows that an alternative approach is possible.
Circuit diagram:
image
Here we utilise the fact that a PTC resistor warms up in pro-portion to the amount of current flowing through it, with the result that its resistance increases. If a PTC resistor is immersed in a liquid, the additional warmth is dissipated in the liquid and the resistance remains nearly constant. If the level of the liquid drops below the immersion depth of the resistor, the change in the resistance can be easily sensed by a subsequent comparator stage. The PTC resistor should be isolated from the fluid into which it is immersed, in order to prevent undesirable electrolytic processes from taking place. A further improvement in the characteristics of the circuit can be achieved by using a logic circuit such as a microcontroller to apply power to the circuit only at predefined times and then switch off the power after sampling the comparator output.
Copyright : Elektor
Read The Rest...

Dual High Side Switch Controller

Circuit diagram :
Dual High-Side-Switch-Controller-Circuit-Diagram
One of the most frequent uses of n-channel MOSFET’s is as a voltage controlled switch. To ensure that the MOSFET delivers the full supply voltage to the load it is necessary for the gate voltage to be a few volts above the supply voltage level. This can be a problem if no other suitable higher volt-age sources are available for use elsewhere in the circuit. The LTC 1982 dual high-side switch controller from Lin-ear Technology (www.linear-tech.com) solves this problem by incorporating a voltage tripler circuit in the gate driver stage. The gate voltage is limited to +7.5 V which is 2.0 V above the IC’s maximum operating voltage. It can directly drive the gate of logic-level MOSFET with a VGS(th) from 1.0 V to 2.0 V. A suitable n-channel logic level MOSFET would be the BSP 295. This device can switch up to 1.5 A and is available in an SOT 233 SMD package.
Read The Rest...

Two-button Digital Lock

Now here’s a digital lock unlike any other, as  it has only two buttons instead of the usual  numeric keypad. The way it works is as simple  as its keypad. Button S1 is used to enter the  digits of the secret code in a pulsed fashion-i.e. the number of times you press the but-ton is determined by the digit to be entered.  A dial telephone uses the same type of coding (now maybe there’s an idea?). Press four  times for a 4, nine times for a 9, etc. Pressing button S2 indicates the end of a digit. 

Project Image :
Two-button Digital Lock Project-Image 

For example, to enter the code 4105, press  S1 four times, then press S2, then S1 once, S2  once, then without pressing S1 at all, press S2  again, then finally S1 five times and S2 once  to finish. If the code is correct, the green LED D1 lights for 2 seconds and the relay is energised for 2 seconds. If the code is wrong, the  red LED D2 lights for 2 seconds, and the relay  is not energised. To change the code, fit a jumper to J1 and  enter the current code. When the green LED  D1 has flashed twice, enter the new 4-digit  code. D1 will flash three times and you will  need to confirm the new code. If this confirmation is correct, D1 will flash four times.  If the red LED D2 flashes four times, some-thing’s wrong and you’ll need to start all over  again. To finish the operation, remove the  jumper and turn the power off and on again the digital lock is now ready for use with  the new code.

Circuit diagram :
Two-button Digital Lock Circuit-diagram

The software can be found on the webpage for the project [1]. Don’t forget to erase the microcontroller’s EEPROM memory before  programming  it,  so  you  can  be  sure  that  the  default  code  is  1234  and  not  some -thing unknown that was left behind in the  EEPROM. A little exercise for our readers: convert this  project into a single-button digital lock for  example, by using a long press on S1 instead  of pressing S2 to detect the end of a digit.
 
Author : Francis Perrenoud  - Copyright : Elektor

Read The Rest...

Low-drop Regulator with Indicator

Even today much logic is still powered from 5 volts and it then seems obvious to power the circuit using a standard regulator from a rectangular 9-V battery. A disadvantage of this approach is that the capacity of a 9-V battery is rather low and the price is rather high. Even the NiMH revolution, which has resulted in considerably higher capacities of (pen-light) batteries, seems to have escaped the 9-V battery generation. It would be cheaper if 5 volts could be derived from 6 volts, for example. That would be 4 ‘normal’ cells or 5 NiMH- cells. Also the ‘old fashioned’ sealed lead- acid battery would be appropriate, or two lithium cells.
 
Circuit diagram : 
Low-drop Regulator with Indicator-Circuit-Diagram
 
Using an LP2951, such a power supply is easily realised. The LP2951 is an ever- green from National Semiconductor, which you will have encountered in numerous  Elektor Electronics designs already. This IC can deliver a maximum current of 100 mA at an input voltage of greater than 5.4 V. In addition to this particular version, there are also versions available for 3.3 and 3 V output, as well as an adjustable version.  In this design we have added a battery indicator, which also protects the battery from too deep a discharge. As soon as the IC has a problem with too low an input voltage, the ERROR output will go low and the regulator is turned off via IC2d, until a manual restart is provided with the RESET pushbutton.
 
The battery voltage is divided with a few resistors and compared with the reference voltage (1.23 V) of the regulator IC. To adapt the indicator for different voltages you only need to change the 100-k resistor. The comparator is an LP339. This is an energy-friendly version of the LM339. The LP339 consumes only 60 µA and can sink 30 mA at its output. You can also use the LM339, if you happen to have one around, but the current consumption in that case is 14 times higher (which, for that matter, is still less than 1 mA).
 
Finally, the LP2951 in the idle state, consumes about 100 µA and depend- ing on the output current to be deliv- ered, a little more.
Author : Karel Walraven - Copyright : Elektor










Read The Rest...

Add-On Stereo Channel Selector

The add-on circuit presented here is useful for stereo systems. This circuit has provision for connecting stereo outputs from four different sources/channels as inputs and only one of them is selected/ connected to the output at any one time. When power supply is turned ‘on’, channel A (A2 and A1) is selected. If no audio is present in channel A, the circuit waits for some time and then selects the next channel (channel B), This search operation continues until it detects audio signal in one of the channels. The inter-channel wait or delay time can be adjusted with the help of preset VR1. If still longer time is needed, one may replace capacitor C1 with a capacitor of higher value.
 
Suppose channel A is connected to a tape recorder and channel B is connected to a radio receiver. If initially channel A is selected, the audio from the tape recorder will be present at the output. After the tape is played completely, or if there is sufficient pause between consecutive recordings, the circuit automatically switches over to the output from the radio receiver. To manually skip over from one (selected) active channel, simply push the skip switch (S1) momentarily once or more, until the desired channel inputs gets selected. The selected channel (A, B, C, or D) is indicated by the glowing of corresponding LED (LED11, LED12, LED13, or LED14 respectively).
 
Circuit diagram :
Add-On Stereo Channel Selector Circuit-diagram
 
IC CD4066 contains four analogue switches. These switches are connected to four separate channels. For stereo operation, two similar CD4066 ICs are used as shown in the circuit. These analogue switches are controlled by IC CD4017 outputs. CD4017 is a 10-bit ring counter IC. Since only one of its out-puts is high at any instant, only one switch will be closed at a time. IC CD4017 is configured as a 4-bit ring counter by connecting the fifth output Q4 (pin 10) to the reset pin. Capacitor C5 in conjunction with resistor R6 forms a power-on-reset circuit for IC2, so that on initial switching ‘on’ of the power supply, output Q0 (pin 3) is always ‘high’. The clock signal to CD4017 is pro-vided by IC1 (NE555) which acts as an astable multivibrator when transistor T1 is in cut-off state.
 
IC5 (KA2281) is used here for not only indicating the audio levels of the selected stereo channel, but also for for-ward biasing transistor T1. As soon as a specific threshold audio level is detected in a selected channel, pin 7 and/ or pin 10 of IC5 goes ‘low’. This low level is coupled to the base of transistor T1, through diode-resistor combination of D2-R1/D3-R22. As a result, transistor T1 conducts and causes output of IC1 to remain ‘low’ (disabled) as long as the selected channel output exceeds the preset audio threshold level.
 
Presets VR2 and VR3 have been included for adjustment of individual audio threshold levels of left stereo channels, as desired. Once the multivibrator action of IC1 is disabled, output of IC2 does not change further. Hence, searching through the channels continues until it receives an audio signal exceeding the preset threshold value. The skip switch S1 is used to skip a channel even if audio is present in the selected channel. The number of channels can be easily extended up to ten, by using additional 4066 ICs.
 
Author : Prabhash K.P- Copyright : EFY













Read The Rest...

Video Switch for Intercom System

Nowadays a lot of intercom units are  equipped with video cameras so that you can  see as well as hear who is at the door. Unfortunately, the camera lens is perfectly placed  to serve as a sort of support point for people  during the conversation, with the result that  there’s hardly anything left see in the video  imagery.  One way to solve this problem is to install two cameras on the street side instead only  one, preferably some distance apart. If you  display the imagery from the two cameras  alternately, then at least half of the time you  will be able to see what is happening in front  of the door. Thanks to the video switch module described  here, which should be installed on the street  side not too far away from the two cameras,  you need only one monitor inside the house and you don’t need to install any additional video cables.
 
Circuit diagram :
Video Switch for Intercom System-Circuit-Diagram

Along with a video switch, the circuit includes  a video amplifier that has been used with  good results in many other Elektor projects,  which allows the brightness and the contrast  to be adjusted separately. This amplifier is  included because the distance between the  street and the house may be rather large, so it is helpful to be able to compensate for cable attenuation in this manner.  The switch stage is built around the well  known 4060 IC, in which switches IC2a and  IC2d alternately pass one of the two signals to  the output. They are driven by switches IC2b and IC2c, which generate control signals that  are 180 degrees out of phase. The switching rate for the video signals is  determined by a clock signal from an ‘old  standby’ 555 IC, which causes the signals to  swap every 2 seconds with the specified com ponent values.
 
Naturally, this circuit can also used in many other situations, such as where two cameras are needed for surveillance but only one video cable is available.
 
Author :Jacob Gestman Geradts - Copyright : Elektor







Read The Rest...

Guitar Amplifier PSU

Tubes (thermionic valves) have never departed from the amplified instrument scene and the majority of guitarists, including very young ones, wouldn’t use anything else. Some diehards think that the H.T. (high tension) rectifier should also be a piece of glass-ware and some manufacturers are still producing amplifiers incorporating one. The nett effect is really that a rectifier tube acts as a relatively effective heat-dissipating resistor, causing the HT rail to sag as output signal loading increases, generating a compressive characteristic which is fundamentally added distortion(‘crunch’). The traditional arrangement uses a centre-tapped HT winding on the power transformer but this has a number of drawbacks for an adequately rated core size including increased voltage stress, small wire size and a poor utilisation of the available winding window.
Circuit diagram:
Guitar Amplifier-PSU-Circuit-Diagram
The example arrangement shown here reduces both of these problems and for a given core increases the current delivery capability of the winding by allowing the use of a heavier wire gauge. Normally some resistance is added in series to each anode to limit peak cathode current to minimise cathode-stripping during the high current pulses delivered to the input filter capacitor at each voltage peak.

Even if one includes such resistance (and a single resistor in series with the cathode or winding achieves the same end albeit with double the device dissipation) the benefits to the transformer of reduced voltage stress and increased wire insulation thickness (which scales with wire diameter) along with decreased heating in the windings, are obvious.

Alternatively, a smaller winding window (reduced core size) may be employed with-out diminishing power-handling capacity. The circuit shown here should is typically intended for the amplifier preamp and phase splitter stages. Due to the use of the EZ81 (6CA4) tube its maximum output current is about 100 mA. Higher currents call for a more powerful rectifier tube and diodes to match.
Author : Malcolm Watts (New Zealand) - Copyright : Elektor Electronics
Read The Rest...