Showing posts with label relay. Show all posts
Showing posts with label relay. Show all posts
Wednesday, July 10, 2013
Electronic Thermostat and Relay
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.
Electronic Thermostat and Relay Circuit Diagram

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.
Electronic Thermostat and Relay Circuit Diagram

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.
Thursday, July 4, 2013
Electronic Fuse Employs A Relay
The hobby circuit below uses an unusual method to generate about 12,000 volts with about 5uA of current. Two SCRs form two pulse generator circuits. The two SCRs discharge a 0.047uF a 400v capacitor through a xenon lamp trigger coil at 120 times a second.

The high voltage pulses produced at the secondary of the trigger coil are rectified using two 6KV damper diodes. The voltage doubler circuit at the secondary of the trigger coil charges up two high voltage disc capacitors up to about 12KV. Although this circuit can’t produce a lot of current be very careful with it. A 12KV spark can jump about 0.75 of an inch so the electronic circuit needs to be carefully wired with lots of space between components.
Source by : Streampowers
Parallel Port Relay Interface
Below are three examples of controlling a relay from the PCs parallel printer port (LPT1 or LPT2). Figure A shows a solid state relay controlled by one of the parallel port data lines (D0-D7) using a 300 ohm resistor and 5 volt power source. The solid state relay will energize when a "0" is written to the data line. Figure B and C show mechanical relays controlled by two transistors. The relay in figure B is energized when a "1" is written to the data line and the relay in figure C is energized by writing a "0" to the line. In each of the three circuits, a common connection is made from the negative side of the power supply to one of the port ground pins (18-25).
Parallel Port Relay Interface Schematic

There are three possible base addresses for the parallel port You may need to try all three base addresses to determine the correct address for the port you are using but LPT1 is usually at Hex 0378. The QBasic "OUT" command can be used to send data to the port. OUT, &H0378,0 sets D0-D7 low and OUT, &H378,255 sets D0-D7 high. The parallel port also provides four control lines (C0,C1,C2,C3) that can be set high or low by writing data to the base address+2 so if the base address is Hex 0378 then the address of the control latch would be Hex 037A. Note that three of the control bits are inverted so writing a "0" to the control latch will set C0,C1,C3 high and C2 low.
Parallel Port Relay Interface Schematic

There are three possible base addresses for the parallel port You may need to try all three base addresses to determine the correct address for the port you are using but LPT1 is usually at Hex 0378. The QBasic "OUT" command can be used to send data to the port. OUT, &H0378,0 sets D0-D7 low and OUT, &H378,255 sets D0-D7 high. The parallel port also provides four control lines (C0,C1,C2,C3) that can be set high or low by writing data to the base address+2 so if the base address is Hex 0378 then the address of the control latch would be Hex 037A. Note that three of the control bits are inverted so writing a "0" to the control latch will set C0,C1,C3 high and C2 low.
Sunday, March 31, 2013
Audio Amplifier Output Relay Delay
This is a simple circuit which I built to one of my audio amplifier projects to control the speaker output relay. The purpose of this circuit is to control the relay which turns on the speaker output relay in the audio amplifier. The idea of the circuit is wait around 5 seconds ofter the power up until the speakers are switched to the amplifier output to avoid annoying "thump" sound from the speakers. Another feature of this circuit is that is disconnects the speaker immediately when the power in the amplifier is cut off, so avoiding sometimes nasty sounds when you turn the equipments off.
Parts
C1 = 100 uF 40V electrolytic
C2 = 100 uF 40V electrolytic
D1 = 1N4007
D2 = 1N4148
Q1 = BC547
R1 = 33 kohm 0.25W
R2 = 2.2 kohm 0.25W
RELAY 24V DC relay, coil resistance >300 ohm
Circuit operation:
Then power is applied to the power input of the circuit, the positive phase of AC voltage charges C1. Then C2 starts to charge slowly through R1. When the voltage in C2 rises, the emitter output voltage of Q1 rises together with voltage on C2. When the output voltage of Q2 is high enough (typically around 16..20V) the relay goes to on state and the relay witches connect the speakers to the amplifier output. It takes typically around 5 seconds after power up until the relay starts to conduct (at absolute time depends on the size of C2, relay voltage and circuit input voltage). When the power is switched off, C1 will loose its energy quite quickly. Also C2 will be charged quite quickly through R2. In less than 0.5 seconds the speakers are disconnected from the amplifier output.
Notes on the circuit:
This circuit is not the most accurate and elegant design, but it has worked nicely in my small home-built PA amplifier. This circuit can be also used in many other applications where a turn on delay of few seconds is needed. The delay time can be increased by using bigger C2 and decreased by using a smaller C2 value. Note that the delay is not very accurate because of simplicity of this circuit and large tolerance of typical electrolytic capacitors (can be -20%..+50% in some capacitors).
readmore...
PartsC1 = 100 uF 40V electrolytic
C2 = 100 uF 40V electrolytic
D1 = 1N4007
D2 = 1N4148
Q1 = BC547
R1 = 33 kohm 0.25W
R2 = 2.2 kohm 0.25W
RELAY 24V DC relay, coil resistance >300 ohm
Circuit operation:
Then power is applied to the power input of the circuit, the positive phase of AC voltage charges C1. Then C2 starts to charge slowly through R1. When the voltage in C2 rises, the emitter output voltage of Q1 rises together with voltage on C2. When the output voltage of Q2 is high enough (typically around 16..20V) the relay goes to on state and the relay witches connect the speakers to the amplifier output. It takes typically around 5 seconds after power up until the relay starts to conduct (at absolute time depends on the size of C2, relay voltage and circuit input voltage). When the power is switched off, C1 will loose its energy quite quickly. Also C2 will be charged quite quickly through R2. In less than 0.5 seconds the speakers are disconnected from the amplifier output.
Notes on the circuit:
This circuit is not the most accurate and elegant design, but it has worked nicely in my small home-built PA amplifier. This circuit can be also used in many other applications where a turn on delay of few seconds is needed. The delay time can be increased by using bigger C2 and decreased by using a smaller C2 value. Note that the delay is not very accurate because of simplicity of this circuit and large tolerance of typical electrolytic capacitors (can be -20%..+50% in some capacitors).
Subscribe to:
Posts (Atom)