Showing posts with label ELECTRONICS PROJECTS. Show all posts
Showing posts with label ELECTRONICS PROJECTS. Show all posts

Friday, 12 April 2013

555 Timer Projects



Constructional Timer Projects


Timer circuit has been used in many projects and there are basically 2 types that are used these days. One of them is the use of analog RC circuit where charging of the capacitor circuit determined the T of the circuitry. This type of circuitry has larger tolerance and is used in applications where the T is not so critical as the T is affected by the tolerance of the RC components used.


The other is the use of crystal or ceramic resonators together with microprocessor, microcontroller or application specific integrated circuit that need higher precision T in the tolerance of up to 5 ppm (parts per million).

555 IC
One commonly used circuit is the 555 IC which is a highly stable controller capable of producing timing pulses. With a monostable operation, the T(time) delay is controlled by one external resistor and one capacitor. With an astable operation, the frequency and duty cycle are accurately controlled by two external resistors and one capacitor.The application of this integrated circuit is in the areas of PRECISION TIMING, PULSE GENERATION, TIMING DELAY GENERATION and SEQUENTIAL TIMING.
A typical 555 IC block diagram is as shown below.


Monostable Operation
Figure below shows the monostable operation of a 555 IC.

In this mode, the device generates a fixed pulse whenever the trigger voltage falls below Vcc/3. When the trigger pulse voltage applied to pin 2 falls below Vcc/3 while the its output is low, its internal flip-flop turns the discharging transistor Tr off and causes the output to become high by charging the external capacitor C1 and setting the flip-flop output at the same instant.
The voltage across the external capacitor C1, VC1 increases exponentially with the T constant T=RA*C1 and reaches 2Vcc/3 at td=1.1RA*C1. Hence, capacitor C1 is charged through resistor RA. The greater the time constant RA*C1, the longer it takes for the VC1 to reach 2Vcc/3. In other words, the time constant RA*C1 controls the output pulse width. When the applied voltage to the capacitor C1 reaches 2Vcc/3, the comparator on the trigger terminal resets the flip-flop, turning the discharging transistor Tr on. At this time, C1 begins to discharge and its output goes to low.
Astable Operation 

An astable operation is achieved by configuring the circuit as shown above. In the astable operation, the trigger terminal and the threshold terminal are connected so that a self-trigger is formed, operating as a multivibrator. When its output is high, its internal discharging transistor Tr turns off and the VC1 increases by exponential function with the time constant (RA+RB)*C.
When the VC1, or the threshold voltage, reaches 2Vcc/3, the comparator output on the trigger terminal becomes high, resetting the F/F and causing its output to become low. This in turn turns on the discharging transistor Tr and the C1 discharges through the discharging channel formed by RB and the discharging transistor Tr. When the VC1 falls below Vcc/3, the comparator output on the trigger terminal becomes high and the tmr. output becomes high again. The discharging transistor Tr turns off and the VC1 rises again. The frequency of oscillation is given as below.

Frequency, f = 1/T = 1.44/[(RA + 2RB)C1]



LED Light Flasher




LED Light Flasher


This is a simple LED light flasher project that uses a CMOS 74C04 Integrated Circuit to alternately ON and OFF two LEDs that are connected in parallel. The Hex inverter MM74C04 from Fairchild Semiconductor has a wide operating power supply voltage range from 3V to 15V DC. It has a typical low power consumption of 10nW/package and has high noise immunity.


It is back to back compatible with the standard 74 logic family which is freely available in the market. All its inputs have diode clamps to VCC and GND which protect them from damage due to electrostatic discharge.

Schematic Description

The schematic above shows the simple configuration of the project. It uses two inverters U1A and U1B to form an oscillator configuration where the frequency of the oscillation is given by:
f = 1/[1.4RC]
= 1/[1.4(10 M Ohm)(0.1uF)]
= 0.7 Hz
The square wave frequency of 0.7 Hz is used to feed the input of U1D which is used as a buffer circuit. At the same time, the other inverter U1C gets its input from pins 2 and 3 of U1. With this configuration, when U1D output is high, U1C output will be low and vice versa. In this way when LED1 is ON, LED2 will be OFF and this will alternate at a frequency of 0.7Hz.
The current that goes through the LED is given by:
I = (9V-7V)/510 ohm
= 14mA

It is assumed that the voltage drop across each diode is 2V when it turns ON. One can experiment with the oscillation frequency by changing the values of R1, R2, R3, and C1. The brightness of the LEDs can also be changed by changing the values of the resistor R4. However, always ensure that the current through the LEDs is not exceeded or else the LEDs will be damaged.

Parts List


Electronic Ballast Design




Electronic Ballast Design 


Introduction To Electronic Ballast Design 
Fluorescent Lamp was introduced commercially in the 1940s and was a success in small scale lighting replacing the use of tungsten incandescent bulb. It continued to be used in the 21st century and has since evolved into many variation of outlook, applications and control.
Two main functions of a fluorescent lamp ballast are providing a starting kick and to limit the current to its operating value for the tube that is being used. There are basically 2 types of ballasts namely magnetic ballast and electronic ballast design. The magnetic ballast uses a core and coil assembly transformer that provides a minimum functions of starting and operating the lamp.
Hence it is not as efficient as the electronic ballast. Electronic ballast operates at high frequencies from 20kHz to 45kHz and uses electronics circuitry to optimize the operation of the lamp.
Electronic ballast design is becoming more common due to its superior performance. It outputs 10%-15% more light output, does not have the 50/60 cycles irritating hum, high frequency switching that does not have visible flicker to the human eyes, cooler and more reliable. Though its initial cost is higher than the magnetic ballast, its payback will come in the long run. Operating the ballast at higher frequency means that the design can be smaller and made compact. It utilizes the switching mode power supply technology in its implementation.
Magnetic and electronic ballasts can be categorized into 3 categories - instant start, rapid start and programmed start.
Instant start ballasts require an instant-start certified lamp and ignite a lamp in about 80 milliseconds or less using a high frequency electronic circuit. It starts the lamp without heating the cathodes by using a high voltage at around 600V.
It is the most efficient energy type when used in installations where the lamps are not turned on and off regularly.
Rapid start ballasts precisely heat the cathodes and then ignite the lamp with a lower charge. In this way, it helps to prolong the life of the lamp but it uses more energy as the cathodes are heated up continuously during the operation of the lamp.
Programmed Start is an upgrade version of rapid start. It allows the cathodes to be preheated before applying the voltage to the lamps to strike an arc. This type gives the best life to the lamps and is used in applications where frequent ON/OFF of lights are required.
Electronic ballast must be designed, installed and operate in compliance with the CSA, UL and NEC requirements. As the installation and testing come in contact with hazardous voltage, only qualified personnel should perform the installation. It should be done with the power to the lamp turned OFF.

Compact Fluorescent Lamp (CFL) Electronic Ballast Design
One of the advancement made in the field of electronic ballast control is the invention of compact fluorescent lamp or CFL in short. It is also known as energy saving light bulb and is usually screws into the standard light bulb socket or plugs. Common screw type size used is E27. Compared to incandescent bulb, it have a longer rated life and uses less electricity though its initial cost is higher.
Two main parts to a CFL are the gas filled bulb and the electronic ballast. Electrical energy flows though the gas causing it to give off ultraviolet light(UV light) that excites a white phosphor coating on the inside of the tube. This coating emits visible light.

The application note from International Rectifier provides the design of a 13W CFL compact using an IR53H420 Integrated Half-Bridge device. It is able to drive a 13W lamp from 110 or 220 VAC input, 34kHz frequency of operation and Softstart with cathode preheating.





Light Switch Wiring




Light Switch Wiring

Two Way Light Switch Wiring
Have you ever wonder how a lamp that is used to light up the stairs of a building is connected to the two switches that controls it from either end? These two way switches have a single pole double throw (SPDT) configuration. 
Each has a common terminal (COM) with a pole that can be switched between position L1 or L2. The two way light switch wiring can be implemented by using 2 different methods. Both of the methods used are described below. 


The first method as shown in the figure above have the COM, L1 and L2 of both the SPDT switches connected together. For incandescent lamp, the recommended wire gauge used is AWG #18. The LIVE AC Source is connected to L1 of SW1 and one side of the load is connected to L2 of SW2. The other side of the load is then connected to NEUTRAL of the AC Source. With this configuration, the lamp will be turned ON when one switch is at ON position and the other is at OFF position. If both switches are in the same position, the lamp will be OFF. 


The other method is as shown in the figure above. In this configuration, the L1 of both SW1 and SW2 are connected together. Similarly, the L2 of both SW1 and SW2 are connected together. The LIVE of the AC Source is connected to COM of SW1 and one side of the load is connected to COM of SW2.
The other side of the load is then connected to the NEUTRAL of the AC Source. With this configuration, the lamp will be turned ON when one switch is ON and the other is also ON. If both switches are in different position, the lamp will be OFF.

Take note that as the installation involves mains power supply, only those who are qualified and have electrical wiring knowledge should do this wiring. When doing the wiring, it is recommended that the power supply is disconnected from the load and the switches.




Electronic Design Circuits Touch Switch




Electronic Design Circuits Touch Switch
In this electronic design circuits touch switch project, a CMOS quad 2 input NOR gate IC is used as a latching circuit to switch a LED ON and OFF by physically touching the ON metal plate or OFF metal plate. The CD4001BC integrated circuit is a monolithic complementary MOS (CMOS) IC that are constructed with N- and P- channel enhancement mode transistors. Its input are protected against electrostatic discharge with diodes to VDD and VSS.
 The circuit below shows the schematic diagram of the touch circuit of which the NOR gates are configured as a simple latching circuit. When the skin contact is made between contacts T1 and T2 or T3 and T4, the LED switches ON and OFF respectively. The latching circuit is to ensure that the output will not fluctuate between ON and OFF.

When the T1 and T2 contacts are bridged through the skin contact, the output of U1-a will go to logic "0" and caused the output of U1-b to go to logic "1". This output will in turn caused NOR gate U1-c to go to logic "0" causing transistor Q1 to turn ON, and hence LED will turn ON.

The circuit will remain latched with the LED ON until contacts T3 and T4 are bridged of which the output of U1-a will go to logic "1", output of U1-b will go to logic "0", output of U1-c will go to logic "1" and the transistor Q1 will turn OFF. The LED will then turn OFF.



It is important to ensure that 9V battery is used as its DC source. If you use the mains supply to step down the voltage using a transformer for rectification and filtering to get the 9V DC supply, ensure that the transformer is designed in such a way that it follows the safety standard requirement of UL. This is important to ensure the safety of the user that is using the metal contacts to ON/OFF the LED.