Friday 11 June 2010

Classic LED Flasher Circuit


Classic LED Flasher Circuit
This LED flasher circuit is a classic two transistor flip flop. This flasher circuit is very popular and it’s usually the first circuit to build when starting electronic circuit building hobby. Here is the schematic diagram of the famous LED flasher circuit:
How LED Flasher Circuit Works
The circuit consist of two transistors, two capacitors, four resistors, and two LEDs. When the power supply is first connected to this LED flasher circuit, both transistor is racing to be triggered first by the base current through 100k resistor. Actually when one transistor is triggered first than the other, the first activated transistor will behave like a closed switch, so the LED will turn ON and the base of the other transistor will be grounded through the capacitor. This grounding keep the first transistor to be activated and the second one to stay off untill the capacitor is charged above the bias voltage needed to activate the second transistor. After reaching this voltage, the second transistor will be switched on and now the second transistor will turn ON the LED on its collector, turning off the first transistor by grounding its base through the second capacitor. This alternating process will be repeated forever until the power supply is turned off. The flashing rate will depend on the resistors (100k) and the capacitors values. You can change the values of the capacitors to change the flashing frequency. Use a higher capacitance value for lower flashing rate, and vice verse.
LED Flasher Circuit Usage
LED flasher circuit gives a lot of fun for our christmas decoration, or as the core of our Halloween’s Jack-O-lanternsflashing eyes. You can use this LED flasher circuit for turn-sign of your car model, or as the safety flasher of your bicycles. Only your imagination could limit the usage of this LED flasher circuit.
google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);

Light Emitting Diodes (LEDs)

Light Emitting Diodes (LEDs)
FunctionLEDs emit light when an electric current passes through them.
Connecting and soldering LEDs must be connected the correct way round, the diagram may be labelled a or + for anode and k or - for cathode (yes, it really is k, not c, for cathode!). The cathode is the short lead and there may be a slight flat on the body of round LEDs. If you can see inside the LED the cathode is the larger electrode (but this is not an official identification method).
LEDs can be damaged by heat when soldering, but the risk is small unless you are very slow. No special precautions are needed for soldering most LEDs.

Testing an LEDNever connect an LED directly to a battery or power supply! It will be destroyed almost instantly because too much current will pass through and burn it out.
LEDs must have a resistor in series to limit the current to a safe value, for quick testing purposes a 1k resistor is suitable for most LEDs if your supply voltage is 12V or less. Remember to connect the LED the correct way round!
For an accurate value please see Calculating an LED resistor value below.

Colours of LEDs LEDs are available in red, orange, amber, yellow, green, blue and white. Blue and white LEDs are much more expensive than the other colours.
The colour of an LED is determined by the semiconductor material, not by the colouring of the 'package' (the plastic body). LEDs of all colours are available in uncoloured packages which may be diffused (milky) or clear (often described as 'water clear'). The coloured packages are also available as diffused (the standard type) or transparent.
Tri-colour LEDs The most popular type of tri-colour LED has a red and a green LED combined in one package with three leads. They are called tri-colour because mixed red and green light appears to be yellow and this is produced when both the red and green LEDs are on.
The diagram shows the construction of a tri-colour LED. Note the different lengths of the three leads. The centre lead (k) is the common cathode for both LEDs, the outer leads (a1 and a2) are the anodes to the LEDs allowing each one to be lit separately, or both together to give the third colour.
Bi-colour LEDsA bi-colour LED has two LEDs wired in 'inverse parallel' (one forwards, one backwards) combined in one package with two leads. Only one of the LEDs can be lit at one time and they are less useful than the tri-colour LEDs described above.

Sizes, Shapes and Viewing angles of LEDs
LED Clip
Photograph © Rapid ElectronicsLEDs are available in a wide variety of sizes and shapes. The 'standard' LED has a round cross-section of 5mm diameter and this is probably the best type for general use, but 3mm round LEDs are also popular.
Round cross-section LEDs are frequently used and they are very easy to install on boxes by drilling a hole of the LED diameter, adding a spot of glue will help to hold the LED if necessary. LED clips are also available to secure LEDs in holes. Other cross-section shapes include square, rectangular and triangular.
As well as a variety of colours, sizes and shapes, LEDs also vary in their viewing angle. This tells you how much the beam of light spreads out. Standard LEDs have a viewing angle of 60° but others have a narrow beam of 30° or less.
Rapid Electronics stock a wide selection of LEDs and their catalogue is a good guide to the range available.

Calculating an LED resistor value An LED must have a resistor connected in series to limit the current through the LED, otherwise it will burn out almost instantly.
The resistor value, R is given by:
R = (VS - VL) / I
VS = supply voltage VL = LED voltage (usually 2V, but 4V for blue and white LEDs) I = LED current (e.g. 10mA = 0.01A, or 20mA = 0.02A) Make sure the LED current you choose is less than the maximum permitted and convert the current to amps (A) so the calculation will give the resistor value in ohms (). To convert mA to A divide the current in mA by 1000 because 1mA = 0.001A.
If the calculated value is not available choose the nearest standard resistor value which is greater, so that the current will be a little less than you chose. In fact you may wish to choose a greater resistor value to reduce the current (to increase battery life for example) but this will make the LED less bright.
For exampleIf the supply voltage VS = 9V, and you have a red LED (VL = 2V), requiring a current I = 20mA = 0.020A, R = (9V - 2V) / 0.02A = 350, so choose 390 (the nearest standard value which is greater).
Working out the LED resistor formula using Ohm's lawOhm's law says that the resistance of the resistor, R = V/I, where: V = voltage across the resistor (= VS - VL in this case) I = the current through the resistor
So R = (VS - VL) / I
For more information on the calculations please see the Ohm's Law page.

Connecting LEDs in series If you wish to have several LEDs on at the same time it may be possible to connect them in series. This prolongs battery life by lighting several LEDs with the same current as just one LED.
All the LEDs connected in series pass the same current so it is best if they are all the same type. The power supply must have sufficient voltage to provide about 2V for each LED (4V for blue and white) plus at least another 2V for the resistor. To work out a value for the resistor you must add up all the LED voltages and use this for VL.
Example calculations: A red, a yellow and a green LED in series need a supply voltage of at least 3 × 2V + 2V = 8V, so a 9V battery would be ideal. VL = 2V + 2V + 2V = 6V (the three LED voltages added up). If the supply voltage VS is 9V and the current I must be 15mA = 0.015A, Resistor R = (VS - VL) / I = (9 - 6) / 0.015 = 3 / 0.015 = 200, so choose R = 220 (the nearest standard value which is greater).
Avoid connecting LEDs in parallel! Connecting several LEDs in parallel with just one resistor shared between them is generally not a good idea.
If the LEDs require slightly different voltages only the lowest voltage LED will light and it may be destroyed by the larger current flowing through it. Although identical LEDs can be successfully connected in parallel with one resistor this rarely offers any useful benefit because resistors are very cheap and the current used is the same as connecting the LEDs individually. If LEDs are in parallel each one should have its own resistor.

Reading a table of technical data for LEDsSuppliers' catalogues usually include tables of technical data for components such as LEDs. These tables contain a good deal of useful information in a compact form but they can be difficult to understand if you are not familiar with the abbreviations used.
The table below shows typical technical data for some 5mm diameter round LEDs with diffused packages (plastic bodies). Only three columns are important and these are shown in bold. Please see below for explanations of the quantities.
Type
Colour
IFmax.
VFtyp.
VFmax.
VRmax.
Luminousintensity
Viewingangle
Wavelength
Standard
Red
30mA
1.7V
2.1V
5V
5mcd @ 10mA
60°
660nm
Standard
Bright red
30mA
2.0V
2.5V
5V
80mcd @ 10mA
60°
625nm
Standard
Yellow
30mA
2.1V
2.5V
5V
32mcd @ 10mA
60°
590nm
Standard
Green
25mA
2.2V
2.5V
5V
32mcd @ 10mA
60°
565nm
High intensity
Blue
30mA
4.5V
5.5V
5V
60mcd @ 20mA
50°
430nm
Super bright
Red
30mA
1.85V
2.5V
5V
500mcd @ 20mA
60°
660nm
Low current
Red
30mA
1.7V
2.0V
5V
5mcd @ 2mA
60°
625nm
IF max.
Maximum forward current, forward just means with the LED connected correctly.
VF typ.
Typical forward voltage, VL in the LED resistor calculation. This is about 2V, except for blue and white LEDs for which it is about 4V.
VF max.
Maximum forward voltage.
VR max.
Maximum reverse voltage You can ignore this for LEDs connected the correct way round.
Luminous intensity
Brightness of the LED at the given current, mcd = millicandela.
Viewing angle
Standard LEDs have a viewing angle of 60°, others emit a narrower beam of about 30°.
Wavelength
The peak wavelength of the light emitted, this determines the colour of the LED. nm = nanometre.

Flashing LEDsFlashing LEDs look like ordinary LEDs but they contain an integrated circuit (IC) as well as the LED itself. The IC flashes the LED at a low frequency, typically 3Hz (3 flashes per second). They are designed to be connected directly to a supply, usually 9 - 12V, and no series resistor is required. Their flash frequency is fixed so their use is limited and you may prefer to build your own circuit to flash an ordinary LED, for example our Flashing LED project which uses a 555 astable circuit.

LED DisplaysLED displays are packages of many LEDs arranged in a pattern, the most familiar pattern being the 7-segment displays for showing numbers (digits 0-9). The pictures below illustrate some of the popular designs:
Bargraph
7-segment
Starburst
Dot matrix
Photographs © Rapid Electronics
Pin connections of LED displays
Pin connections diagram© Rapid ElectronicsThere are many types of LED display and a supplier's catalogue should be consulted for the pin connections. The diagram on the right shows an example from the Rapid Electronics catalogue. Like many 7-segment displays, this example is available in two versions: Common Anode (SA) with all the LED anodes connected together and Common Cathode (SC) with all the cathodes connected together. Letters a-g refer to the 7 segments, A/C is the common anode or cathode as appropriate (on 2 pins). Note that some pins are not present (NP) but their position is still numbered.
Also see: Display Drivers.

Monday 7 June 2010

Cấu tạo của các bộ đèn led


Các bộ đèn led có cấu tạo từ các bóng led nhỏ, các bóng led liên kết với nhau qua một bo mạch điện tử (bo mạch có chức năng trung gian cung cấp nguồn và tín hiệu điều khiển cho bóng led). Bóng led thông thường có 2 loại :

  • Mini Power Led : Công suất nhỏ hơn 0.5W
  • High Power Led : Công suất lớn hơn 0.5 W (0.5W,1W,2W..)


Thông thường sử dụng Mini Power Led cho các bộ đèn có kích thước nhỏ, có thể ứng dụng trong các khe hoặc không gian nhỏ hẹp, không phải lo về vấn đề nhiệt độ làm nóng xung quanh.


Ngược lại, High Power Led được sử dụng cho các bộ đèn có công suất lớn. Các bộ đèn này cần có kết cấu tản nhiệt tốt (thường bằng nhôm đúc ép) vì bóng High Power Led rất nóng. Bộ đèn không tỏa được nhiệt sẽ dẫn đến làm giảm quang thông (độ sáng) của bóng led và làm nhanh hư mạch điều khiển của bóng led. Đây là điều cần đặc biệt lưu ý đến khi mua các bộ đèn led.

LED (viết tắt của Light Emitting Diode, có nghĩa là điốt phát quang)

LED là gì?
LED (viết tắt của Light Emitting Diode, có nghĩa là điốt phát quang) là các điốt có khả năng phát ra ánh sáng hay tia hồng ngoại. Cũng giống như điốt, LED được cấu tạo từ một khối bán dẫn loại p ghép với một khối bán dẫn loại n.
Hoạt động của LED
Khối bán dẫn loại p chứa nhiều lỗ trống tự do mang điện tích dương nên khi ghép với khối bán dẫn n (chứa các điện tử tự do) thì các lỗ trống này có xu hướng chuyễn động khuếch tán sang khối n. Cùng lúc khối p lại nhận thêm các điện tử (điện tích âm) từ khối n chuyển sang. Kết quả là khối p tích điện âm (thiếu hụt lỗ trống và dư thừa điện tử) trong khi khối n tích điện dương (thiếu hụt điện tử và dư thừa lỗ trống).
Ở biên giới hai bên mặt tiếp giáp, một số điện tử bị lỗ trống thu hút và khi chúng tiến lại gần nhau, chúng có xu hướng kết hợp với nhau tạo thành các nguyên tử trung hòa. Quá trình này có thể giải phóng năng lượng dưới dạng ánh sáng (hay các bức xạ điện từ có bước sóng gần đó).
Tùy theo mức năng lượng giải phóng cao hay thấp mà bước sóng ánh sáng phát ra khác nhau (tức màu sắc của LED sẽ khác nhau). Mức năng lượng (và màu sắc của LED) hoàn toàn phụ thuộc vào cấu trúc năng lượng của các nguyên tử chất bán dẫn.
Ứng dụng
Đèn chiếu sáng sử dụng các LED phát ánh sáng trắng.
LED được dùng để làm bộ phận hiển thị trong các thiết bị điện, điện tử, đèn quảng cáo, trang trí, đèn giao thông.
Các LED phát ra tia hồng ngoại được dùng trong các thiết bị điều khiển từ xa cho đồ điện tử dân dụng.
Đèn LED trắng nói riêng và đèn LED nói chung có nhiều ứng dụng rộng rãi mà đèn huỳnh quang không làm được như đèn xe, đèn đường, đèn hầm mỏ, đèn chiếu hậu cho màn hình của điện thoại cầm tay, đèn chiếu hậu cho màn hình tinh thể lỏng (LCD), in ấn kỹ thuật số....
Một đặc điểm khác của đèn LED là ít tiêu hao năng lượng và không nóng. Bóng đèn truyền thống, đèn neon, đèn halogen... đều cần từ 110-220 V mới cháy được, trong khi đèn LED trắng chỉ cần từ 3-24 V để phát sáng. Do ít tiêu hao năng lượng nên đèn LED có thể sử dụng ở vùng sâu vùng xa mà không cần nhà máy phát điện công suất cao.

Với các ưu điểm : ánh sáng lớn, độ bền cao và ít tiêu tốn điện năng, Led được ứng dụng rộng rãi trên các lĩnh vực: bảng quảng cáo ngoài trời , bảng quang báo, đồng hồ cỡ lớn đặt tại các biển quảng cáo tấm lớn trên đường cao tốc, hệ thống đèn giao thông, biển chỉ dẫn, và các sản phẩm khác như bảng chạy chữ điện tử, bảng hệ thống giờ, Bảng tỷ giá, bảng chứng khóan, hệ thống xếp hàng tự động…
Một số bảng hiệu của thương hiệu nổi tiếng đã được ứng dụng sản phẩm Led: Sacombank, Sơn Collection, bảng hiệu Mì Hàn Quốc, Happy Cook , Sam Sung…