Vol. DIY Electronics Projects
Chapter 8 555 Timer Circuit Projects

555 Lab - LED Flasher with Inductive Flyback

In this hands-on electronics experiment, build a multiple LED flasher and learn how to use inductive flyback to generate a voltage pulse that is greater than the supply voltage.

Project Overview

This is the last in the series of light-emitting diode (LED) flasher projects using the ubiquitous 555 timer IC. In the "Blue LED Flasher With Voltage Doubler" experiment, we boosted the voltage of the batteries to allow an LED with more voltage drop than the batteries to be used. This project will also boost the voltage, however, it will use an inductor instead of a capacitor

As shown in the schematic of Figure 1, this design employs two 555 ICs in series

 

Schematic diagram of the 555 timer oscillator circuit with inductive flyback for LED drive.

Figure 1. Schematic diagram of the 555 timer oscillator circuit with inductive flyback for LED drive.

 

The first set is the oscillation frequency, while the second creates a high-frequency switching signal used for the inductive flyback circuit to drive the LEDs. This particular experiment builds on the commutating diode experiment and may be helpful to review that page before proceeding.

 

Parts and Materials

  • Two AAA batteries
  • Battery clip
  • U1, U2 - complementary metal-oxide semiconductor (CMOS) TLC555 timer IC
    • Note: This is a static-sensitive part. If you do not use protection as described in the electrostatic discharge (ESD) chapter, you run the risk of destroying it.
  • Q1 - 2N3906 PNP transistor or equivalent
  • Q2 - 2N2222 NPN transistor or equivalent
  • D1 - Red LED
  • D2 - Blue LED
  • R1 - 1.5 MΩ 1/4W 5% resistor
  • R2 - 47 kΩ 1/4W 5% resistor
  • R3, R5 - 10 kΩ 1/4W 5% resistor
  • R4 - 1 MΩ 1/4W 5% resistor
  • R6 - 100 kΩ 1/4W 5% resistor
  • R7 - 1 kΩ 1/4W 5% resistor
  • C1 - 1 µF tantalum capacitor
  • C2 - 100 pF ceramic capacitor
  • C3 - 100 µF electrolytic capacitor
  • L1 - 200 µH inductor or choke
    • The exact value is not critical. You can purchase one or build one following the directions provided in this project.

 

Optional Parts and Materials for Building the 200 µH inductor

  • 26 feet (8 meters) of 26 AWG magnet wire 
  • 6/32 x 1.5-inch screw, an M4 x 30 mm screw, or a nail of similar diameter cut down to size. It must be made of steel or iron, but not stainless.
  • Matching lock nut (optional)
  • Transparent tape (optional, needed if using screws)
  • Super glue
  • Soldering iron and solder

 

Learning Objectives

  • Learn another mode of operation for the 555
  • How to handle ESD-sensitive parts
  • How to use a transistor for a simple gate (resistor transistor inverter)
  • How inductors can convert power using inductive flyback
  • How to make an inductor

 

Instructions for Building a 220 µH Inductor (Optional)

If you have purchased the 220 µH inductors, you can skip this portion of the experiment and go to Step 8. As was mentioned above, this is not a precision part. Inductors, in general, can have a large variance for many applications. The target here is greater than 220 µH, but it can be off on the high side a large amount.

The term inductor is generic, you can also find this component called a choke or a coil. A solenoid coil would also work since that is also a type of inductor, and so would the coil from a relay. Of all the components I have used, this is probably the least critical I’ve come across. Indeed, coils are probably the most practical component you can make yourself. 

Step 1: If you are using a screw, first wrap one layer of transparent tape over the threads before wrapping them with wire. This is to prevent the threads of the screw from cutting into the wire and shorting the coil out.

Step 2: If you are using a lock nut, put it on the screw 1” (25 mm) from the head of the screw.

Step 3: As shown at the left of Figure 2, starting around 1” from one end of the wire, use the glue to tack the wire on the head of the nail or screw as shown, and let the glue set.

 

Use glue to first tack the wire when beginning (left) and then finishing (right) the inductor wire wrap.

Figure 2. Use glue to first tack the wire when beginning (left) and then finishing (right) the inductor wire wrap.

 

Step 4: Wind the wire neatly and tightly for 1” along the length of the screw, again tacking it in place with super glue, as shown in Figure 2 (right). You can use a variable speed drill to help with this, as long as you are careful. Like all power appliances, it can bite you. Hold the wire tight until the glue sets.

Step 5: Then, start winding a second layer over the first. Continue this process until all of the wire except the last 1” is used, using the glue to occasionally tack the wire down. Arrange the wire on the last layer so the second inductor lead is on the other end of the screw, away from the first. Tack this down for a final time with the glue. Let dry completely.

Step 6: Gently take a sharp blade and scrap the enamel off each end of the two leads.

Step 7: Tin the exposed copper with the soldering iron and the solder, and you now have a functional inductor that can be used in this experiment. Figure 3 is a photo of the one I made. 

 

Photo of a DIY wire wrap inductor.

Figure 3. Photo of a DIY wire wrap inductor.

 

The connections shown are being used to measure the inductance, which worked out pretty close to 220µH.

 

Instructions for Building the Oscillator with Flyback Inductor

Step 8: Build the circuit illustrated in Figures 1 and 4. If you build your own inductor, it will replace inductor L1, shown in Figure 4.

 

Breadboard implementation of the 555 timer oscillator circuit with inductive flyback for LED drive.

Figure 4. Breadboard implementation of the 555 timer oscillator circuit with inductive flyback for LED drive.

 

The basic concept is adapted from another invention, the "Joule Thief." A joule thief is a simple transistor oscillator that also uses inductive kickback to light an white light LED from a 1.5 V battery, and the LED needs at least 3.6 V to start conducting! Like the joule thief, it is possible to use 1.5 V to get this circuit to work. However, since a CMOS 555 is rated for a 2.0 V minimum, 1.5 V is not recommended, so we are using 3.0 V with the two AAA batteries in series. 

This circuit can drive more than 1 or 2 LEDs in series. As the numbers of LEDs go up the ability of the batteries to last a long duration goes down, as the amount of voltage the inductor can generate is somewhat dependent on battery voltage. For the purposes of this experiment, two dissimilar LEDs were used to demonstrate the independence of LED voltage drop. The high intensity of the blue LED may swamp the red LED, but if you look closely, you will find the red LED is at its maximum brightness. With that in mind, you can use pretty much whatever color of LEDs you choose for this experiment.

Generally, the high voltage created by inductive kickback is something to be eliminated. This circuit uses it, but if you make a mistake with the polarity of the LEDs, the blue LED, which is more ESD-sensitive, will likely die (this has been verified). An uncontrolled pulse from a coil resembles an ESD event. The transistor and the TLC555 can also be at risk.

 

Theory of Operation

Both capacitors and inductors store energy. Capacitors try to maintain constant voltage, whereas inductors try to maintain constant current. Both resist change in their respective aspect. This is the basis for the flyback transformer, which was a common circuit in old cathode ray tube (CRT) circuits. It also finds other uses where high voltage is needed with minimal fuss.

When you charge a coil, a magnetic field expands around it. Basically, it is an electromagnet, and the magnetic field is stored energy. When the current stops, this magnetic field collapses, creating electricity as the field crosses the wires in the coil.

The circuit, as illustrated in Figure 1, uses two astable multivibrators. The first multivibrator controls the second. Both are designed for minimum current, as well as the inverter is made using Q1. Both oscillators are very similar. The first has been covered previously in the red LED flasher project.

The problem is that it stays on, or is high, 97% of the time. On the previous circuits, we used the short low state to light the LED and minimize total current consumption. In this case, the high state is what turns the second multivibrator on. Using a simple transistor inverter designed for an extra low current solves this problem. This is actually a very old logic family, RTL, which is short for resistor transistor logic.

The second multivibrator oscillates at 68.6 KHz, with a square wave of around 50%. This portion of the circuit uses the exact same principles as shown in the basic red LED flasher experiment. Again, the largest practical resistors are used to minimize current, which means a really small capacitor for C2. This high-frequency square wave is used to turn Q2 on and off as a simple switch.

Figure 5 shows what happens when the Q2 is conducting and the coil starts to charge. 

 

Charging of the flyback inductor

Figure 5. Charging of the flyback inductor  

 

If Q2 were to stay on, then an effective short across the batteries would result, but since this is part of an oscillator, this won’t happen. Before the coil can reach its maximum current, Q2 switches, and the switch is opened.

Figure 6 shows Q2 when it opens and the coil is charged. 

 

Figure 6. Discharging of the flyback inductor.

 

The coil tries to maintain the current. If there were no discharge path for the coil, it would create a high voltage pulse as it seeks to maintain the current that was flowing through it. However, we have a couple of LEDs in the discharge path, so the coil's voltage pulse quickly exceeds the combined voltage drop of the series LEDs. This turns them on, allowing the coil to dump the rest of its charge as current through the LEDs. As a result, the voltage generated is limited from getting too high. The LEDs are pulsed, and the light curve follows the discharge curve of the coil fairly closely. However, the human eye averages this light output to something we perceive as continuous light.

 

Related Content

Learn more about the fundamentals behind this project in the resources below.

 

Textbook:

 

Calculator:

 

Worksheet: