Custom Search
Showing posts with label Relay. Show all posts
Showing posts with label Relay. Show all posts

Tuesday, April 1, 2008

Light/Dark activated relay


There's two schematics, one for light activated relay and one for dark activated relay. When the light / dark hits the sensor a relay will be activated. This can be useful if you want to turn on outside lights automatically at night. Instead D1 1N914 you can use all diode types for ex. 1N4148

Wednesday, November 28, 2007

Electronic Thermostat and Relay Circuit


Electronic Thermostat and Relay Circuit

Here is a simple thermostat circuit that can be used to control a relay and supply power to a small space heater through the relay contacts. The relay contacts should be rated above the current requirements for the heater.

Temperature changes are detected by a (1.7K @ 70F) thermistor placed in series with a 5K potentiometer which produces about 50 millivolts per degree F at the input of the LM339 voltage comparator. The two 1K resistors connected to pin 7 set the reference voltage at half the supply voltage and the hysteresis range to about 3 degrees or 150 millivolts. The hysteresis range (temperature range where the relay engages and disengages) can be adjusted with the 10K resistor between pins 1 and 7. A higher value will narrow the range.

In operation, the series resistor is adjusted so that the relay just toggles off at the desired temperature. A three degree drop in temperature should cause the relay to toggle back on and remain on until the temperature again rises to the preset level. The relay action can be reversed so it toggles off at the lower end of the range by reversing the locations of the 5K potentiometer and thermistor. The 5.1 volt zener diode regulates the circuit voltage so that small changes in the 12 volt supply will not effect operation. The voltage across the thermistor should be half the supply or about 2.6 volts when the temperature is within the 3 degree range set by the potentiometer. Most any thermistor can be used, but the resistance should be above 1K ohm at the temperature of interest. The series resistor selected should be about twice the resistance of the thermistor so the adjustment ends up near the center of the control.

9 Second LED Timer and Relay Circuit


9 Second LED Timer and Relay Circuit

This circuit provides a visual 9 second delay using 10 LEDs before closing a 12 volt relay. When the reset switch is closed, the 4017 decade counter will be reset to the 0 count which illuminates the LED driven from pin 3. The 555 timer output at pin 3 will be high and the voltage at pins 6 and 2 of the timer will be a little less than the lower trigger point, or about 3 volts. When the switch is opened, the transistor in parallel with the timing capacitor (22uF) is shut off allowing the capacitor to begin charging and the 555 timer circuit to produce an approximate 1 second clock signal to the decade counter. The counter advances on each positive going change at pin 14 and is enabled with pin 13 terminated low. When the 9th count is reached, pin 11 and 13 will be high, stopping the counter and energizing the relay. Longer delay times can be obtained with a larger capacitor or larger resistor at pins 2 and 6 of the 555 timer.

Power-Off Time Delay Relay


Power-Off Time Delay Relay

The two circuits below illustrate opening a relay contact a short time after the ignition or ligh switch is turned off. The capacitor is charged and the relay is closed when the voltage at the diode anode rises to +12 volts. The circuit on the left is a common collector or emitter follower and has the advantage of one less part since a resistor is not needed in series with the transistor base. However the voltage across the relay coil will be two diode drops less than the supply voltage, or about 11 volts for a 12.5 volt input. The common emitter configuration on the right offers the advantage of the full supply voltage across the load for most of the delay time, which makes the relay pull-in and drop-out voltages less of a concern but requires an extra resistor in series with transistor base. The common emitter (circuit on the right) is the better circuit since the series base resistor can be selected to obtain the desired delay time whereas the capacitor must be selected for the common collector (or an additional resistor used in parallel with the capacitor). The time delay for the common emitter will be approximately 3 time constants or 3*R*C. The capacitor/resistor values can be worked out from the relay coil current and transistor gain. For example a 120 ohm relay coil will draw 100 mA at 12 volts and assuming a transistor gain of 30, the base current will be 100/30 = 3 mA. The voltage across the resistor will be the supply voltage minus two diode drops or 12-1.4 = 10.6. The resistor value will be the voltage/current = 10.6/0.003 = 3533 or about 3.6K. The capacitor value for a 15 second delay will be 15/3R = 1327 uF. We can use a standard 1000 uF capacitor and increase the resistor proportionally to get 15 seconds.

Power-On Time Delay Relay


Power-On Time Delay Relay

Here's a power-on time delay relay circuit that takes advantage of the emitter/base breakdown voltage of an ordinary bi-polar transistor. The reverse connected emitter/base junction of a 2N3904 transistor is used as an 8 volt zener diode which creates a higher turn-on voltage for the Darlington connected transistor pair. Most any bi-polar transistor may be used, but the zener voltage will vary from about 6 to 9 volts depending on the particular transistor used. Time delay is roughly 7 seconds using a 47K resistor and 100uF capacitor and can be reduced by reducing the R or C values. Longer delays can be obtained with a larger capacitor, the timing resistor probably shouldn't be increased past 47K. The circuit should work with most any 12 volt DC relay that has a coil resistance of 75 ohms or more. The 10K resistor connected across the supply provides a discharge path for the capacitor when power is turned off and is not needed if the power supply already has a bleeder resistor.

Delayed Turn-On Relay


Parts List:
R1,R3 = 10K Q1 = 2N3906, or equivalent
R2 = 680K (see text) IC1 = 4001, or equivalent
R4,R5 = 6K8 D1,D2,D3 = 1N4001, or equivalent
C1 = see text Ry = Relay, 12V
C2 = 0.1µF, ceramic
This circuit is a delayed turn-on relay driver and can produce time delays for up to several minutes with reasonable accuracy.
The 14001 (or 4001) CMOS gate here is configured as a simple digital inverter. Its output is fed to the base of a regular 2N3906 (PNP) transistor, Q1, at the junction of resistor R5 and capacitor C2. The input to IC1 is taken from the junction of the time-controlled potential divider formed by R2 and C1. Before power is applied to the circuit, C1 is fully discharged. Therefore, the inverter input is grounded, and its output equals the positive supply rail; Q1 and RY1 are both off under this circuit condition. When power is applied to the circuit, C1 charges through R2, and the exponentially rising voltage is applied to the input of the CMOS inverter gate.
After a time delay determined by the RC time constant values of C1 and R2, this voltage rises to the threshold value of the CMOS inverter gate. The gate's output then falls toward zero volts and drives Q1 and relay RY 'ON'. The relay then remains on until power is removed from the circuit. When that occurs, capacitor C1 discharges rapidly through diode D1 and R1, completing the sequence.
The time delay can be controlled by different values for C1 and R2. The delay is approximately 0.5 seconds for every µF as value for C1. The delay can further be made variable by replacing R2 with a fixed and a variable resistor equal to that of the value of R2. Taken the value for R2 of 680K, it would be a combination of 180K for the fixed resistor in series with a 500K variable trim pot. The fixed resistor is necessary.