Showing posts with label switch. Show all posts
Showing posts with label switch. Show all posts

Monday, September 1, 2014

15 step power supply ( variable DC voltage from 1.25V to 15.19V)

Here is a simple circuit to obtain variable DC voltage from 1.25V to 15.19V in reasonably small steps as shown in the table. The input voltage may lie anywhere between 20V and 35V. The first section of the circuit comprises a digital up-down counter built around IC1— a quad 2-input NAND schmitt trigger (4093), followed by IC2— a binary up-down counter (4029).
Two gates of IC 4093 are used to generate up-down logic using push buttons S1 and S2, respectively, while the other two gates form an oscillator to provide clock pulses to IC2 (4029). The frequency of oscillations can be varied by changing the value of capacitor C1 or preset VR1. IC2 receives clock pulses from the oscillator  and produces a sequential binary output. As long as its pin 5 is low, the counter continues to count at the rising edge of each clock pulse, but stops counting as soon as its pin 5 is brought to logic 1. Logic 1 at pin 10 makes the counter to count upwards, while logic 0 makes it count downwards. Therefore the counter counts up by closing switch S1 and counts down by closing switch S2.
The output of counter IC2 is used to realize a digitally variable resistor. This section consists of four N/O reed relays that need just about 5mA current for their operation. (note. The original circuit containing quad bilateral switch IC 4066 has been replaced by reed relays operated by transistorized switches because of unreliable operation of the former.) The switching action is performed using BC548 transistors. External resistors are connected in parallel with the reed relay contacts. If particular relay contacts are opened by the control input at the base of a transistor, the correspond-ing resistor across the relay contacts gets
connected to the circuit. The table shows the theoretical output for various digital input combinations. The measured output is nearly equal to the theoretically calculated output across regulator IC3 (LM317). The output voltage is governed by the following relationship as long as the input-to-output differential
is greater than or equal to 2.5V: Vout = 1.25(1+R2'/R1') Where, R1' = R15 = 270 ohms (fixed) and R2' = R11 + R12 + R13 + R14 = 220 + 470 + 820 +1500 ohms = 3,010 ohms (with all relays energised) One can use either the binary weighted LED display as indicated by LED1 through LED4 in the circuit or a
74LS154 IC in conjunction with LED5 through LED20 to indicate one of the 16 selected voltage steps of Table I. The input for IC4 is to be tapped from points marked ‘A’ through ‘D’ in the figure.
This arrangement can be used to replace the LED arrangement at points A, B, C, and D.
 This 74LS154 IC is a decoder/ demultiplexer that senses the output of IC2 and accordingly activates only one of its 16 outputs in accordance with the count value. LEDs at the output of this IC can be arranged in a circular way along side the corresponding voltages.

When the power is switched on, IC2 re sets itself, and hence the output at pins 6, 11, 14, and 12 is equivalent to binary zero, i.e. ‘0000’. The corresponding DC output of the circuit is minimum (1.25V).
As count-up switch S1 is pressed, the binary count of IC2 increases and the output starts increasing too. At the highest count output of 1111, the output voltage is 15.19V (assuming the in-circuit resistance of preset VR2 as zero). Preset VR2 can be used for trimming the output voltage as desired. To decrease the output
voltage within the range of 1.25V to 15.2V, count-down switch S2 is to be depressed.
Notes.
 1. When relay contacts across a particular resistor are opened, the corresponding
LED glows.
2. The output voltages are shown assuming the in-circuit resistance of preset VR2 as zero. Thus when the in-circuit resistance of preset VR2 is not zero, the

output voltage will be higher than that indicated here.

Share:

Gas Leakage Alarm ( LPG gas leakage detector with audio visual indicator)

LPG gas is supplied in pressurized steel cylinders. As this gas is heavier than air, when it leaks from a cylinder it flows along floor and tends to settle in low spots such as a basement. This can cause fire or suffocation if not dealt with.

Here is a circuit that detects the leakage of LPG gas and alerts the user through audio-visual indications. Fig. 1 shows the circuit of the gas leakage alarm. The circuit operates off a 9V PP3 battery. Zener diode ZD1 is used to convert 9V into 5V DC to drive the gas sensor module. The SEN-1327 gas sensor module from RhydoLABZ is used in this circuit. Its output goes high when the gas level reaches or exceeds certain point. A preset in the module is used to set the threshold. Interfacing with the sensor module is done through a 4-pin SIP header. Pin details of the gas sensor module are shown in Fig. 2.


LPG Gas Leakage Alarm Schematic

An MQ-6 gas sensor is used in the gas sensor module. As per its datasheet, it has high sensitivity to propane, butane, isobutene, LPG and natural gas. The sensor can also be used to detect combustible gases, especially methane. This circuit has been tested with LPG gas and was found to work satisfactorily. Whenever there is LPG concentration of 1000ppm (parts per million) in the area, the OUT pin of the sensor module goes high. This signal drives timer IC 555, which is wired as an astable multivibrator. The multivibrator basically works as a tone generator. Output pin 3 of IC 555 is connected to LED1 and speaker-driver transistor SL100 through current-limiting resistors R5 and R4, respectively. LED1 glows and the alarmsounds to alert the user of gas leakage. The pitch of the tone can be changed by varying preset VR1. Use a suitable heat-sink for transistor SL100.
Share:

Infrared Remote for Toy Car Motor Controller

This add-on circuit enables remote switching on/off of battery-operated toy cars with the help of aTV/video remote control handset operating at 30–40 kHz. When the circuit is energised from a 6V battery, the decade counter CD4017 (IC2), which is configured as a toggle flip-flop, is immediately reset by the power-on-reset combination of capacitor C3 and resistor R6. LED1 connected to pin 3 (Q0) of IC2 via resistor R5 glows to indicate the standby condition. In standby condition, data output pin of the integrated infrared receiver/demodulator (SFH505A or TSOP1738) is at a high level (about 5 volts) and transistor T1 is ‘off’ (reverse biased).

INFRARED TOY CAR MOTOR CONTROLLER

The monostable wired around IC1 is inactive in this condition. When any key on the remote control handset is depressed, the output of the IR receiver momentarily transits through low state and transistor T1 conducts. As a result, the monostable is triggered and a short pulse is applied to the clock input (pin 14) of IC2, which takes Q1 output (pin 2) of IC2 high to switch on motor driver transistor T2 via base bias resistor R7 and the motor starts rotating continuously (car starts running). Resistor R8 limits the starting current. When any key on the handset is depressed again, the monostable is retriggered to reset decade counter IC2 and the motor is switched off.

Standby LED1 glows again. This circuit can be easily fabricated on a general-purpose printed board. After construction, enclose it inside the toy car and connect the supply wires to the battery of the toy car with right polarity. Rewire the DC motor connections and fix the IR receiver module in a suitable location, for example, behind the front glass, and connect its wires to the circuit board using a short 3-core ribbon cable/shielded wire. Note. Since the circuit uses modulated infrared beam for control function, ambient light reflections will not affect the circuit operation. However, fluorescent tubelights with electronic ballasts and CFL lamps may cause malfunctioning of the circuit.
Share:

IR Remote Switch

Imagine the convenience of selecting TV channels using your remote and then pointing the same remote to your switchboard to switch on/off the fan or the tubelight. Here is a simple circuit to remotely switch on/off any electrical device through a relay using the normal TV/VCR/VCP/VCD remote controlunit. It works up to a distance of about 10 metres. The circuit is built around a 3-pin IR IC receiver (Siemens SFH-506-38 or equivalent) that can detect 38kHz burst frequency generated by a TV remote. (This IR receiver module has been covered earlier in many projects published in this blog.) The output pin of IR sensor goes low when it detects IR light, triggering the monostable (1-second) built around timer NE555. The output of the mono toggles the J-K flip flop, whose Q output drives the relay through SL100 npn transistor (T1).



LED2, LED3, and LED4 are used to display the status of each output stage during circuit operation. Back-EMF diode D5 is used for protection. Transistor T1 is configured as an open-collector output device to drive the relay rated at 12V DC. The circuit draws the power from voltage regulator 7805. Capacitor C5 is soldered close to the IR sensor’s pins to avoid noise and false triggering. Capacitor C3 and resistor R3 also avoid false triggering of monostable NE555. The monostable acts as a 1-second hysterisis unit to restrict the flip-flop from getting retriggered within one second. To activate any other 12V logic device, use the output across the relay coil terminals.
Share:

Touch Switch using 555 oscillator IC

This touch switch built based on famous 555 timer IC. 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.

Share:

BTemplates.com

Powered by Blogger.