Showing posts with label SWITCHS. Show all posts
Showing posts with label SWITCHS. Show all posts

Mains Slave Switcher

There are many situations where two or more pieces of equipment are used together and to avoid having to switch each item on separately or risk the possibility of leaving one of them on when switching the rest off, a slave switch is often used. Applications which spring to mind are a computer/printer/scanner etc or audio amplifier/record deck/tuner combinations or perhaps closest to every electronics enthusiast’s heart, the work bench where a bench power supply/oscilloscope/soldering iron etc are often required simultaneously.

The last is perhaps a particularly good example as the soldering iron, often having no power indicator, is invariably left on after all the other items have been switched off. Obviously the simplest solution is to plug all of the items into one extension socket and switch this on and off at the mains socket but this is not always very convenient as the switch may be difficult to reach often being behind or under the work bench. Slave switches normally sense the current drawn from the mains supply when the master unit is switched on by detecting the resulting voltage across a series resistor and switching on a relay to power the slave unit(s).




This means that the Live or Neutral feed must be broken to allow the resistor to be inserted. This circuit, which is intended for switching power to a work bench when the bench light is switched on, avoids resistors or any modifications to the lamp or slave appliances by sensing the electric field around the lamp cable when this is switched on. The lamp then also functions as a ‘power on’ indicator (albeit a very large one that cannot be ignored) that shows when all of the equipment on the bench is switched on.

The field, which appears around the lamp cable when the mains is connected, can be sensed by a short piece of insulated wire simply wrapped around it and this is amplified by the three stage amplifier which can be regarded as a single super-transistor with a very high gain. The extremely small a.c. base current results in an appreciable collector current which after smoothing (by C3) is used to switch on a relay to power the other sockets. Power for the relay is obtained from a capacitor ‘mains dropper’ that generates no heat and provides a d.c. supply of around 15 volts when the relay is off.

Circuit diagram:

Mains Slave Switcher Circuit Diagram

Mains Slave Switcher Circuit Diagram

The output current of this supply is limited so that the voltage drops substantially when the relay pulls in but since relays require more current to operate them than they do to remain energized, this is not a problem. Since the transistor emitter is referenced to mains Neutral, it is the field around the mains Live which will be detected. Consequently, for correct operation the Live wire to the lamp must be switched and this will no doubt be the case in all lamps where the switch is factory fitted. In case of uncertainty, a double-pole switch to interrupt both the Live and Neutral should be used.

The sensitivity of the circuit can be increased or decreased as required by altering the value of the T2 emitter resistor. The sensing wire must of course be wrapped around a section of the lamp lead after the switch otherwise the relay will remain energized even when the lamp has been switched off. The drawing shows the general idea with the circuit built into the extension socket although, depending on the space available an auxiliary plastic box may need to be used.

Warning:
The circuit itself is not isolated from the mains supply so that great care should be taken in its construction and testing. The sensor wire must also be adequately insulated and the circuit enclosed in a box to make it inaccessible to fingers etc. when it is in use.
Read More

Green USB switch Circuit Diagram

According to the Energy Saving  Trust, if you add up all the current drawn in standby mode by items such as stereos, TVs, VCRs and DVDs over a year in the UK alone, it amounts to 3.1 million tonnes of CO2 released into the atmosphere.This is without factoring in the current drawn by all the PCs,laptops and their associated peripherals left in standby mode. 

Circuit diagram :
Green USB switch Circuit Diagram

Green USB switch Circuit Diagram

It  is  not  necessary  to  spend  a  great deal of money or time to  make a difference on a personal  level. The circuit described here  is designed for use by laptop or  notebook computers. It will automatically switch off all mains  powered peripheral equipment  including monitor, printer, scanner, TV tuner and USB hub etc  when it detects that the notebook  is switched off. The circuit is quite  straightforward; in addition to an  optocoupler it requires a 12 V  double-pole  relay  with  mains  rated contacts and a small power  supply  for  the  optocoupler.  When the laptop is switched on  5 V appears at the USB socket,  activating the relay and switching  through  the  mains  supply  on K3 and K4. The notebook’s  USB socket is still available to be  used as normal but it’s worth remembering that the optocoupler  takes a few milliamps from the  USB supply and this may cause a  problem if a high-current device  is plugged into the USB socket.  In the case where the laptop has  more than enough USB sockets it may be worthwhile us-ing one of them solely for this  circuit, the extension USB connector K2 would then not be  required. 

The circuit is mounted into a  mains plug enclosure which  provides a socket where the  mains extension strip will be  plugged into. With any luck  there will be sufficient space  to fit the entire circuit into the  mains extension strip enclosure and save the need for a  separate enclosure. The slow-blow 6.3-A fuse (F1) protects  the equipment plugged into  the strip. 

In  addition  to  the  optocoupler  and relay the circuit also has a  ‘freewheel’ diode D1 and a relay  driver formed by T1 and its base  bias voltage divider network R2/ R4. The two ‘snubber’ networks  C1/R3 and C2/R5 reduce the  possibility of arcing which can  occur  when  the  relay  contacts  open (especially with inductive  loads). Capacitors C1 and C2  must be class X2 types which  can handle mains voltage plus any  spikes.  The  power  supply  consists of a small mains trans-former  (12 V,  50 mA),  bridge  rectifier and smoothing capacitor C3. 

The laptop’s mains adaptor itself  can also be switched by this circuit when the laptop is fitted with  its rechargeable battery which  allows the computer to boot up  without a mains supply. The en-tire USB switch circuit draws cur-rent even when it is off but this value  is  tiny  compared  to  the  combined standby current of all  the peripherals. 

Note that parts of this circuit are  connected to the (potentially lethal) mains supply voltage; it is  essential to provide protection  to ensure that nothing can accidentally make contact with these  parts of the circuit. It is also important to observe correct separation between parts of the circuit carrying low voltage and  those carrying the high volt-age. Please observe the electrical Electrical Safety guide-lines which are reprinted in  Elektor  Electronics  several  times a year. 

The  circuit  is  less  suitable  for use with desktop PCs be-cause  the  majority  of  these  machines supply 5 V over the  USB socket even though they  have been shut down via soft-ware. The only way to turn off  in this case is to reach around  the back of the machine and  switch off at the main switch. 


Read More

Touch Switch II Circuit Diagram

This circuit uses a 555 timer as the bases of the touch switch. You can learn more about 555 timers in the Learning section on my site. When the plate is touched the 555 timer is triggered and the output on pin 3 goes high turning on the LED and the buzzer for a certain period of time. The time that the LED and the buzzer is on is based on the values of the capacitor and resistor connected to pin 6 & 7. The 10M resistor on pin 2 causes the the circuit to be very sensitive to the touch.



Read More

Touch Switch Circuits Diagram

TOUCH SWITCH 1


This circuit detects the skin resistance of a finger to deliver a awfully tiny current to the super-alpha try of transistors to show the circuit ON. The output of the "super transistor" activates the BC 557 transistor. The voltage on the highest of the world is passed to the front of the circuit via the 4M7 to require the place of your finger and also the circuit remains ON.
 To turn the circuit OFF, a finger on the OFF pads can activate the primary transistor and this may rob the
"super transistor" of voltage and also the circuit can close up.

TOUCH SWITCH-2


This circuit detects the skin resistance of a finger to show the circuit ON for concerning one second. The output are often taken to a counting circuit. The circuit consumes no current when in quiescent mode:
Read More

Electronic Quiz Switch Circuit Diagram

One of the common  rounds in the  quizzes is the buzzer round. We are describing here a simple electronic circuit that can be used in any test or quiz competition. In this circuit, only four persons can participate,  and  every  participant is assigned a certain number. Whenever a switch is pressed, the circuit locks the remaining three entries. At the same time, an alarm sounds and the designated switch number is displayed on the seven segment LED display.When a player presses his switch, the corresponding output of IC1 goes high. Let us suppose, when switch S1 is pressed, D1 input of IC1 goes low and its corresponding output Q1 goes high. As a result, current passes through D5 to piezo buzzer PZ1, which creates a beep. At the same time, current also passes through diodes D6-D7 to show the number on the LED display.

Circuit diagram:
Simple Electronic Quiz Switch Circuit Diagram
Simple Electronic Quiz Switch Circuit Diagram

Similarly, when any other switch (S2-S4) is pressed, the corresponding  number  gets  displayed  on  seven segment displaying DIS1 and buzzer sounds. Switch S5 is used to reset the display exclusively. Switch S5 is a push to on switch. The circuit is powered by 9V battery. Assemble the circuit on a general purpose PCB and enclose it in a suitable  case along with seven segment display and piezo buzzer. The assembled circuit can be kept near the host and the switches connected through the external can be assigned to the players.



Read More

Low-Voltage Remote Mains Switch

This circuit allows a 240V mains appliance to be controlled remotely via low-voltage cabling and a pushbutton switch. The mains appliance (in this case, a light bulb) is switched with a suitably-rated relay. All of the electronics is housed in an ABS box located in proximity to the appliance. The pushbutton switch and plugpack are located remotely and can be wired up with 3-core alarm cable or similar. Cable lengths of 20m or more are feasible with this arrangement. When the switch (S1) is pressed, the input (pin 8) of IC1c is briefly pulled low via the 10mF capacitor, which is initially discharged.

Circuit diagram:
low-voltage-remote-mains-switch-circuit-diagramw
Low-Voltage Remote Mains Switch Circuit Diagram

The output (pin 10) immediately goes high and this is inverted and fed back to the second input (pin 9) via another gate in the quad NAND package (IC1d). In conjunction with the 1MW resistor and 470nF capacitor, IC1d eliminates the effects of contact "bounce" by ensuring that IC1c’s output remains high for a predetermined period. The output from IC1c drives the clock input of a 4013 D-type flip-flop (IC2). The flipflop is wired for a "toggle" function by virtue of the Q-bar connection back to the D input. A 2.2MW resistor and 100nF capacitor improve circuit noise immunity. Each time the switch is pressed, the flipflop output (pin 13) toggles, switching the transistor (Q1) and relay on or off. Note that all mains wiring must be properly installed and completely insulated so that there is no possibility of it contacting the low-voltage side of the circuit.
Read More

Clap Switch Circuit Diagram

Here’s a clap switch free from false triggering. To turn on/off any appliance, you just have to clap twice. The circuit changes its output state only when you clap twice within the set time period. Here, you’ve to clap within 3 seconds. 

The clap sound sensed by condenser microphone is amplified by transistor T1. The amplified signal provides negative pulse to pin 2 of IC1 and IC2, triggering both the ICs. IC1, commonly used as a timer, is wired here as a monostable multivibrator. Trigging of IC1 causes pin 3 to go high and it remains high for a certain time period depending on the selected values of R7 and C3. 

This ‘on’ time (T) of IC1 can be calculated using the following relationship: T=1.1R7.C3 seconds where R7 is in ohms and C3 in microfarads. On first clap, output pin 3 of IC1 goes high and remains in this standby position for the preset time.Also, LED1 glows for this period. The output of IC1 provides supply voltage to IC2 at its pins 8 and 4.


Circuit diagram :
Clap Switch  Circuit Diagram
Clap Switch Circuit Diagram

Now IC2 is ready to receive the triggering signal. Resistor R10 and capacitor C7 connected to pin 4 of IC2 prevent false triggering when IC1 provides the supply voltage to IC2 at first clap. On second clap, a negative pulse triggers IC2 and its output pin 3 goes high for a time period depending on R9 and C5.

 This provides a positive pulse at clock pin 14 of decade counter IC 4017 (IC3). Decade counter IC3 is wired here as a bistable. Each pulse applied at clock pin 14 changes the output state at pin 2 (Q1) of IC3 because Q2 is connected to reset pin 15. The high output at pin 2 drives transistor T2 and also energizes relay RL1. LED2 indicates activation of relay RL1 and on/off status of the appliance. A free-wheeling diode (D1) prevents damage of T2 when relay de-energizes.


Read More

Sound Activated Switch Circuit Diagram

Control by sound may be very useful,  not just on a robot but also for a bit  of home automation, for example a  sound activated light responding to a  knock on the door or a hand clap. The  light will be automatically switched  off after a few seconds. An alternative  use is burglar protection — if someone  wants to open the door or break some-thing the light will come on, suggesting  that someone’s at home. The circuit can work from any 5– 12 VDC regulated power supply pro-vided a relay with the suitable coil voltage is used.
 
Circuit diagram :

Sound Activated Switch Circuit Diagram
 

Sound Activated Switch Circuit Diagram

When you first connect the supply  voltage to the circuit, the relay will  be energised because of the effect of capacitor C2. Allow a few seconds for  the relay to be switched off. You can  increase or decrease the ‘on’ period  by changing the value of C2. A higher  value results in a longer ‘on’ period,  and vice versa. Do not use a value  greater than 47 µF. Biasing resistor R1 determines to a  large extent the microphone sensitivity. An electret microphone usually has  one internal FET inside which requires  a bias voltage to operate. The optimum  bias level for response to sound has to  be found by trial and error.
 
All relevant electrical safety precautions should be observed when connecting mains powered loads to the relay contacts.


Read More

Laser Controlled ON/OFF Switch Circuit Diagram

This circuit is built around a 555 timer using very few components. Since the circuit is very simple, even a novice can easily build it and use it as a controlling device. A laser pointer, now easily available in the market, can be used to operate this device. This circuit has been tested in operational conditions from a distance of 500 meters and was found to work satisfactorily,though it can be controlled from still longer distances.

Circuit diagram :
Laser Controlled ON-OFF Switch Circuit-Diagram
Laser Controlled ON/OFF Switch Circuit Diagram

Aiming (aligning) the laser beam exactly on to the LDR is a practical problem. The circuit is very useful in switching on/off a fan at night without getting off the bed. It can also be used for controlling a variety of other devices like radio or music system. The limitation is that the circuit is operational only in dark or dull lit environments.

By focusing the laser beam on LDR1 the connected gadget can be activated through the relay, whereas by focusing laser beam on LDR2 we can switch off the gadget. The timer is configured to operate in bitable mode. The laser pointers are available for less than Rs 150 in the market. The cost of the actual circuit is less than Rs 50.

Read More

Automatic Switch For Audio Power Amplifier

Circuit of an automatic switch for audio power amplifier stage is presented here. The circuit uses stereo preamplifier output to detect the presence of audio to switch the audio power amplifier on only when audio is present. The circuit thus helps curtail power wastage. IC1 is used as an inverting adder. The input signals from left and right channels are combined to form a common signal for IC2, which is used as an open loop comparator. IC3 (NE556) is a dual timer. Its second section, i.e., IC3(b), is configured as monostable multivibrator. Output of IC3(b) is used to switch the power amplifier on or off through a Darlington pair formed by transistors T1 and T2. IC3(a) is used to trigger the monostable multivibrator whenever an input signal is sensed.

Circuit diagram:
Automatic Switch For Audio Power Amplifier-Circuit-Diagram
Automatic Switch For Audio Power Amplifier Circuit Diagram

Under ‘no signal’ condition, pin 3 of IC2 is negative with respect to its pin 2. Hence the output of IC2 is low and as a result output of IC3(a) is high. Since there is no trigger at pin 8 of IC3(b), the output of IC3(b) will be low and the amplifier will be off. When an input singal is applied to IC1, IC2 converts the inverted sum of the input signals into a rectangular waveform by comparing it with a constant voltage which can be controlled by varying potentiometer VR1. When the output of IC2 is high, output pin 5 of IC3 goes low, thus triggering the monostable multivibrator. As soon as the audio input to IC1 stops, pin 5 of IC3 goes high and pin 1 of IC3 discharges through capacitor C3, thus resetting the monostable multivibrator. 

Hence, as long as input signals are applied, the amplifier remains ‘on.’ When the input signals are removed, i.e., when signal level is zero, the amplifier switches off after the mono flip-flop delay period determined by the values of resistor R8 and capacitor C3. If no input signals are sensed within this time, the amplifier turns off—else it remains on. Power supply for the circuit can be obtained from the power supply of the amplifier. Hence, the circuit can be permanently fitted in the amplifier box itself. The main switch of the amplifier should be always kept on. Resistors R1 and R2 are used to divide single voltage supply into two equal parts.

Capacitors C1 and C2 are used as regulators and also as an AC bypass for input signals. Diode D1 is used so that loading fluctuations in power amplifier do not affect circuit regulation. Transisitor T2 acts as a high voltage switch which may be replaced by any other high voltage switching transistor satisfying amplifier current requirements. Value of resistor R10 should be modified for large current requirement. The LED glows when the amplifier is on. The circuit is very useful and relieves one from putting the amplifier on and off every time one plays a cassette or radio etc.



Read More

Audio Controlled Mains Switch Circuit Diagram

It is often useful for audio or video equipment to be switched off automatically after there has been no input signal for a while. The function of the on-off switch in such equipment is then taken over by switch S2 in the accompanying diagram. It remains, however, possible to  switch off manually by means of Si. Automatic  switch-off occurs after there has been no input  signal for about 2 minutes: this delay makes it possible for a new record or cassette to be placed in the  relevant machine.
 
The audio input to the proposed circuit may be  taken from the output of the relevant TV set, amplifier, or whatever. The input earth is held at + 6 V  with respect to the circuit earth by potential divider  Ri-R2-R3-R4. The two 741s function as comparators: the output of ICi goes high when the in- put signal is greater than + 50 mV, whereas the out- put of IC2 goes high when the input signal  becomes more negative than -50 mV. Resistors  R6, R7, and R8 form an OR gate that drives transistor Ti. If the output of either ICi or IC2 is logic  1, Ti conducts.
 
Circuit diagram :
Audio-Controlled-Mains-Switch-Circuit-Diagram
Audio Controlled Mains Switch Circuit Diagram

The 555  operates as a retrigger able monostable,  whose period is determined by Rio and Ci. The  device is triggered when its pin 2 is earthed by the  closing of S2. Its output, pin 3, then remains high  for 1 to 2 minutes, depending on the leakage cur- rent of the 555. The monostable resets itself as soon  as the potential across Ci exceeds a certain value.  As long as there is an input signal to the circuit, Ti conducts and Ci remains uncharged. As soon as  the audio signal ceases, Ti switches off, and Ci  charges until the potential across it is sufficient to  reset the 555. The monostable may also be reset by  closing Si, which connects pin 6 of the 555 to + 12 V.
 
Audio-Controlled-Mains-Switch

When IC3 is reset, Ci is discharged via its pin 7. Resistor Rrn serves as protection, because without it Ti could short-circuit the supply lines. When the output of IC3 goes high, T2 conducts,  the relay is energized, and the relay contacts switch on the mains voltage as appropriate. To counter the induced potential when the relay contacts close, which could damage T2, diode Di has been connected in parallel with the relay coil.


Read More

Dual High Side Switch Controller circuit diagram


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 More

Cell-Phone-Controlled Audio/Video Mute Switch

This cell-phone-controlled audio/ video mute switch is highly useful in automobiles. The circuit automatically disconnects power supply to the audio/video system whenever the mobile handset is lifted off the holder for making or receiving a call. You can use any readily available cell-phone holder with some mi-nor alterations or fabricate it yourself as shown in Fig. 1. 
Proposed cell-phone holder Fig. 1: Proposed cell-phone holder
 
The circuit is wired around IC LM555 (IC1), the CMOS version of timer NE555, as shown in Fig. 2. IC1 is used as a medium current line driver with either an inverting or non-inverting output. It can sink (or source) current of up to 50 mA only, so take care while handling it. The audio/video system is connected to the circuit via normally opened (N/O) contacts of the relay.
 
circuit of the cell phone-controlled audio video mute switch Fig. 2: The circuit of the cell phone-controlled audio/video mute switch
 
When the cell phone is in its holder, LDR1 does not receive any light from white LED1 and its resistance is high. As a result, the voltage at pin 2 of IC1 re-mains high to provide a low output at pin 3. The low output of IC1 activates relay RL1 and the audio/video system gets power supply via its N/O contacts. LED3 glows to indicate that the audio/video system is ‘on.’  When the handset is taken off the holder, light rays from LED1 fall on LDR1 and its resistance decreases. 
As a result, the voltage at pin 2 of IC1 de-creases to provide a high output at its pin 3. The high output of IC1 deactivates relay RL1 and the audio/video system does not get power supply. LED2 glows to indicate that the audio/video system is ‘off.’   Preset VR1 is used to control the sensitivity of the circuit. Zener diode ZD1 is used for protecting white LED1 from the higher voltage. The circuit works off a 12V car battery. Switch S1 can be used to manually switch on/off the audio/video system. 
Read More

Mini RS232 Data Switch

Only simple materials and a little bit of skill are needed to build an RS232 switch. All that you need are two 9-way sub-D plugs with solder pins, a small piece of sheet aluminium, two sets of screw retainer posts, a 4-pole double-throw switch, a strain relief sleeve and a suitable plastic connector shell for a 25-way sub-D connector, with both in-line and right-angle cable entries (such as Conrad Electronics #711322). What is important is that the side cable entry together with its associated strain relief leaves enough room for the switch. If necessary, you may have to cut away a few square millimetres of the sidewall or a few ribs of the plastic shell.

Project image :
 Mini RS232 Data Switch Image
Mini RS232 Data Switch Image

The switch is operated via the in-line cable opening, as can be seen from the photo. A suitable switch with an overall length of 29 mm can be found in the Conrad catalogue under order number 708232. The only modification that must be made to the connector shell is to drill two holes for the retaining screws for the switch (M2.6 screws) at a spacing of 24 mm.

Circuit diagram :
Mini RS232 Data Switch Circuit-Diagram
Mini RS232 Data Switch Circuit Diagram

Connect the two sub-D connectors together using the piece of aluminium and the screw retainer posts. Then solder the cable to the connectors and the switch as indicated. The two connectors are wired somewhat differently. While the upper sub-D plug is connected 1:1 with the input cable (with the switch in the appropriate position), the DCD, DTR, DSR and RI pins of the lower connector are left open. This is because RTS and CTS are fully sufficient for handshaking, as long as DTR and DSR are connected to each other. The only leads that are switched are RXD, RTS, TSD and CTS. The ground potential is fed from the cable to both connectors. After everything has been properly soldered together, you can fit everything into the cable shell as shown.
Read More

Green USB switch Circuit Diagram

According to the Energy Saving  Trust, if you add up all the current drawn in standby mode by items such as stereos, TVs, VCRs and DVDs over a year in the UK alone, it amounts to 3.1 million tonnes of CO2 released into the atmosphere.This is without factoring in the current drawn by all the PCs,laptops and their associated peripherals left in standby mode. 

Circuit diagram :
Green USB switch-Circuit Diagram
Green USB switch Circuit Diagram

It  is  not  necessary  to  spend  a  great deal of money or time to  make a difference on a personal  level. The circuit described here  is designed for use by laptop or  notebook computers. It will automatically switch off all mains  powered peripheral equipment  including monitor, printer, scanner, TV tuner and USB hub etc  when it detects that the notebook  is switched off. The circuit is quite  straightforward; in addition to an  optocoupler it requires a 12 V  double-pole  relay  with  mains  rated contacts and a small power  supply  for  the  optocoupler.  When the laptop is switched on  5 V appears at the USB socket,  activating the relay and switching  through  the  mains  supply  on K3 and K4. The notebook’s  USB socket is still available to be  used as normal but it’s worth remembering that the optocoupler  takes a few milliamps from the  USB supply and this may cause a  problem if a high-current device  is plugged into the USB socket.  In the case where the laptop has  more than enough USB sockets it may be worthwhile us-ing one of them solely for this  circuit, the extension USB connector K2 would then not be  required. 

The circuit is mounted into a  mains plug enclosure which  provides a socket where the  mains extension strip will be  plugged into. With any luck  there will be sufficient space  to fit the entire circuit into the  mains extension strip enclosure and save the need for a  separate enclosure. The slow-blow 6.3-A fuse (F1) protects  the equipment plugged into  the strip. 

In  addition  to  the  optocoupler  and relay the circuit also has a  ‘freewheel’ diode D1 and a relay  driver formed by T1 and its base  bias voltage divider network R2/ R4. The two ‘snubber’ networks  C1/R3 and C2/R5 reduce the  possibility of arcing which can  occur  when  the  relay  contacts  open (especially with inductive  loads). Capacitors C1 and C2  must be class X2 types which  can handle mains voltage plus any  spikes.  The  power  supply  consists of a small mains trans-former  (12 V,  50 mA),  bridge  rectifier and smoothing capacitor C3. 

The laptop’s mains adaptor itself  can also be switched by this circuit when the laptop is fitted with  its rechargeable battery which  allows the computer to boot up  without a mains supply. The en-tire USB switch circuit draws cur-rent even when it is off but this value  is  tiny  compared  to  the  combined standby current of all  the peripherals. 

Note that parts of this circuit are  connected to the (potentially lethal) mains supply voltage; it is  essential to provide protection  to ensure that nothing can accidentally make contact with these  parts of the circuit. It is also important to observe correct separation between parts of the circuit carrying low voltage and  those carrying the high volt-age. Please observe the electrical Electrical Safety guide-lines which are reprinted in  Elektor  Electronics  several  times a year. 

The  circuit  is  less  suitable  for use with desktop PCs be-cause  the  majority  of  these  machines supply 5 V over the  USB socket even though they  have been shut down via soft-ware. The only way to turn off  in this case is to reach around  the back of the machine and  switch off at the main switch. 



Read More

AC Mains Bistable Switch

This AC mains-operated bistable  switch turns on or turns off a  device using a miniature neon  lamp and a few discrete components.  This switch can be used for control pan-els, appliances and lighting controls.  A push-to-on switch is used to  light up the neon lamp. The light emit-ted by the neon lamp, in turn, enables  the switching action of the circuit. Use  of a 555 timer wired for bistable operation makes the circuit act as a bistable  switch.

Circuit diagram :
AC Mains Bistable Switch-Circuit Diagram
AC Mains Bistable Switch Circuit Diagram
 
The neon lamp (NL1) and the  push-to-on switch (S1) are directly connected to 230V AC mains. The 12V DC  supply for timer 555 (IC1) is derived  from 230V AC mains through capacitive dropper C1, resistor R1 and a 12V  zener diode. IC1 works as a flip-flop  circuit, with the signal at its output  pin 3 toggling every time it receives a  pulse at its pins 2 and 6. 

The operation of the circuit is simple. When you press switch S1 momentarily, the neon lamp glows, making  phototransistor T1 conduct to provide  a pulse at pins 2 and 6 of IC1.  When switch S1 is pressed, the output of IC1  goes high and LED1 glows. Pressing S1  again makes the output of IC1 low and  LED1 stops glowing.

In place of LED1, you can use an  optodiac or suitable relay (not shown  in the circuit) along with a suitable  driver circuit to drive AC loads. Assemble the circuit on a general-purpose PCB with the neon lamp and  the phototransistor housed in a small  black tube isolated from the external  light source, and enclose in a suitable  cabinet. Fix switch S1 on the  front panel of the cabinet,  and mains power cord at  the rear. At the rear, also fix  a 3-pin socket to connect the  AC load. 

Caution.  Take care  when operating this circuit  as it is directly connected to  230V AC mains. Better still,  don’t attempt this circuit  if you have no experience  in handling high-voltage  circuits.
Read More

Solid-State Switch For Dc-Operated Gadgets

This solid state DC switch can be assembled using just three transistors and some passive components. It can be used to switch on one gadget while switching off the second gadget with momentary operation of switch. To reverse the operation, you just have to momentarily depress another switch. 

The circuit operates over 6V-15V DC supply voltage. It uses positive feedback from transistor T2 to transistor T1 to keep this transistor pair in latched state (on/ off), while the state of the third transistor stage is the complement of transistor T2’s conduction state. 

Initially when switch S3 is closed, both transistors T1 and T2 are off, as no forward bias is available to these, while the base of transistor T3 is effectively grounded via resistors R8 and R6 (shunted by the load of the first gadget). As a result, transistor T3 is forward biased and gadget 2 gets the supply. This is indicated by glowing of LED2. 

Circuit diagram :
Solid-State Switch For Dc-Operated Gadgets-Circuit Diagram
Solid-State Switch For Dc-Operated Gadgets Circuit Diagram

When switch S1 is momentarily depressed, T1 gets the base drive and it grounds the base of transistor T2 via resistor R4. Hence transistor T2 (pnp) also conducts. The positive voltage available at the collector of transistor T2 is fed back to the base of transistor T1 via resistor R3. Hence a latch is formed and transistor T2 (as also transistor T1) continues to conduct, which activates gadget 1 and LED1 glows. 

Conduction of transistor T2 causes its collector to be pulled towards positive rail. Since the collector of T2 is connected to the base of pnp transistor T3, it causes transistor T3 to cut off, switching off the supply to gadget 2) as well as extinguishing LED2. This status is maintained until switch S2 is momentarily pressed. Depression of switch S2 effectively grounds the base of transistor T1, which cuts off and thus virtually opens the base-emitter circuit of transistor T2 and thus cutting it off. This is the same condition as was obtained initially. This condition can be reversed by momentarily pressing switch S1 as explained earlier. 

EFY lab note. During testing, it was noticed that for proper operation of the circuit, gadget 1 must draw a current of more than 100 mA (i.e. the resistance of gadget 1 must be less than 220 ohms) to sustain the latched ‘on’ state. But this stipulation is not applicable for gadget 2. A maximum current of 275 mA could be drawn by any gadget.



Author : Praveen Shanker - Copyright : EFY
Read More

12v Light / Dark Switch Circuit Diagram

Often, for certain low voltage lighting systems; you would like to turn off the lights during the bright light of the day.  Most commercial day/night switches are designed for AC lighting.  This hobby circuit below was designed for a 12v DC system.  But, it could be modified for other voltage as well.  It uses an inexpensive photo-transistor as the light detector.  An n-channel FET is used to switch power to the lights.  A transistor circuit is included to provide some hysteresis.  

This keeps the circuit from fluttering the light during the transition from day to night and night to day.  It is recommended that a plastic tube be placed over the transistor to prevent it from being illuminated by the lights it is controlling.  By selecting the appropriate power FET, the circuit could control over 100 watts worth of 12v lighting.   (July 22, 2008)


Circuit Project:12v LightDark Switch


Source: DiscoverCircuits
Read More

USB Switch Schematic Circuit Diagram

Anyone experimenting or developing USB ported peripheral hardware soon be comes irritated by the need to disconnect and connect the plug  in order to reestablish communication with the PC. This process is necessary for example each time the peripheral equipment is reset or a new version of the firmware is installed. As well as tiresome it eventually leads to excessive contact wear in the USB connector. The answer is to build this electronic isolator which disconnects the peripheral device at the touch of a button. This is guaranteed to reduce any physical wear and tear and restore calm once again to the workplace. 

Circuit image :
 USB Switch-Image
USB Switch Schematic Circuit Image

The circuit uses a quad analogue switch type 74HC4066. Two of the switches in the package are used to isolate the data path. The remaining two are used in a classic bistable flip-flop configuration which is normally built using transistors. A power MOSFET switches the power supply current to the USB device.  Capacitor C2 ensures that the flip flop always  powers-up in a defined state when plugged  into the USB socket (‘B’ in the diagram). 

The  peripheral device connected to USB socket ‘A’  will therefore always be ‘not connected’ until  pushbutton S2 is pressed. This flips the bistable, turning on both analogue gates in the data lines and switching the MOSFET on. The  PC now recognises the USB device. Pressing  S1 disconnects the device.

Circuit diagram :
USB Switch-Circuit-daigram
USB Switch Schematic Circuit Diagram

The circuit does not sequence the connections as a physical USB connector does; the power supply connection strips are slightly longer than the two inner data carrying strips to ensure the peripheral receives power before the data signals are connected. The electronic switch does not suffer from the same contact problems as the physical  connector so these measures are not required in the circuit. The  simple circuit can quite easily be constructed on a small  square of perforated strip-board. 

The design uses the 74HC(T)4066 type analogue switch, these have  better characteristics compared to the standard 4066 device. The USB switch is suitable for both low-speed (1.5 MBit/ s) and full-speed (12 MBit/s) USB ports applications but the proper ties of the analogue switches and perf-board construction  will not support hi-speed (480 MBit/s) USB operation. 

The IRFD9024 MOSFET can pass a current of  up to 500 mA to the peripheral device with-out any problem.
Read More

Video Switch for Intercom System Circuit Diagram

Simple and easy Video Switch for Intercom System Circuit Diagram. 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
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. 
Read More