The simplest running lights in just one chip without programming

This article will help to make a useful thing in everyday life, please yourself and your loved ones, understand the basics of radio engineering. For the manufacture of running lights, you will need quite a bit of time. The necessary radio components can be bought in specialized stores, and they are inexpensive.

The simplest running lights in just one chip without programming

Required materials and devices:

The simplest running lights in just one chip without programming

Scheme and principle of operation

The flashing LED gives one impulse in 0.5 seconds. This impulse enters the input of the chip. The microcircuit reads this pulse and sends it alternately to the outputs. Each impulse goes to a new output, sequentially from the first to the tenth. After the tenth exit, the meter is reset, and the process begins again. Thus, the effect of running lights is obtained.

The simplest running lights in just one chip without programming

We make simple running lights

The simplest running lights in just one chip without programming

LEDs can be located freely and hold onto the wires. But for convenience, it is better to make a housing for our lights. Take a piece of plastic, we drill ten holes in it. Cut the surplus, leaving a thin strip.

The simplest running lights in just one chip without programming

Impretten the imagination of the LEDs, and insert them into the plastic holes.

The simplest running lights in just one chip without programming

Contacts of LEDs that are soldered to the jumper from one side.

The simplest running lights in just one chip without programmingThe simplest running lights in just one chip without programming

Speakers for jumper contacts cut off.

The simplest running lights in just one chip without programmingThe simplest running lights in just one chip without programming

Next, we make an assembly of the scheme in the figure.

The simplest running lights in just one chip without programmingThe simplest running lights in just one chip without programmingThe simplest running lights in just one chip without programmingThe simplest running lights in just one chip without programming

Let's supply voltage from 5 to 12 volts to the conclusions of the circuit. To do this, you can use the power supply or ordinary batteries and batteries. Enjoy the result.

The simplest running lights in just one chip without programming

Recommendations

If you have only ordinary finger batteries at your finger - 1.5 volts, to achieve the necessary voltage you can combine. By the plus of one battery, we connect minus the second, to the second plus - minus the third and so on. This is called a serial connection. To achieve a voltage of 6 volts, we need to connect the sequential 4 batteries of 1.5 volts.

When connecting lighting lights from the power supply, it is necessary to make sure that the polarity and voltage level. Typically, all information is applied to the block body. If there are no such information, you need to use the voltmeter. In the voltmeter, contacts are signed, usually plus red, minus black. With properly connected to the power unit, the device will show a positive value, for example 12 volts. If plus and minus are confused, then the testimony of the voltmeter will be negative, that is, with a minus sign - 12 volts.

As a chip of IC 4017, a domestic analogue can be used - the K561I8 microchip. The flashing LED is better to use red - it has higher pulse voltage. Two-color flashing LEDs cannot be used, there will be no scheme with them.

Watch the video

Safety:

  1. Be sure to follow the polarity of the device connection.
  2. If there is no marking on the power supply and you have nothing to check the tension that it gives it, it is impossible to use it.
  3. Before use, the entire scheme of the running lights must be hidden in any case or insulate in a prevalence of short circuits.

How to make running lights on LEDs?

Category: LED

Creating tape running LEDs is an excellent use of the light source in decorative purposes. With your own hands to make a running fluorescently simply, especially since as a result, the product may have different effects, including the attenuation of the light and the alternate operation of the elements.

Running lights on LEDs

ATTINY2313 microcontroller for running lights

This device refers to the AVR microcontrollers of the ATMEL brand microcontrollers. It is under his control that the running light ribbon is most often made, since the performance of the model is high enough. Microcontrollers are simple in programming, multifunctional and maintain the implementation of different electronic devices.

Attiny2313 is made by a simple scheme, where the port for output and input has an identical value. Choose a program (one of 12) on such a microcontroller is very easy, because it is not overloaded with superfluous options. The model is available in two housings - SOIC and PDIP, and each option has identical characteristics:

  • 8-bit common registers in the amount of 32 pieces;
  • capabilities of 120 operations for one clock cycle;
  • Flash memory inside the system for 2 KB with support for 10 thousand erasing and recording cycles;
  • intrasystem EEPROM for 128 bytes with support for 100 thousand cycles;
  • 128 bytes of the built-in RAM;
  • 4 PWM channels;
  • Timer counter on 8 and 16 bits;
  • Built-in generator;
  • Convenient interface and other functions for different purposes.

Microcontroller Attiny2313

The microcontroller has two types in accordance with the energy polrameters:

  • The classic ATTINY2313 model has a voltage of 2.7 to 5.5 V and current up to 300 μA at a frequency of 1 MHz in activity mode;
  • ATTINY2313A (4313) variant (4313) has the characteristics of 1.8-5.5 V and 190 μA at the same frequency.

In idle mode, the device has an energy consumption of no more than 1 μA.

As already mentioned, the memory of the microcontroller is equipped with 11 combinations of light circuits, and the ability to select all combinations of LEDs sequentially - this is the 12 program.

Scheme of running lights and the principle of its work

The frame-created lighting lights on LEDs is based on the placement of the microcontroller in the center. All of its output ports are connected to LEDs:

  • The port B or PB0-PB7 is used completely to control the glow;
  • Three outputs from the port D (PD4-PD6) are maximally involved;
  • PA0 and PA1 also work, as they are free due to the implemented internal generator.

Withdrawal No. 1 - PA2 or RESET - is not an active link of the circuit, therefore the R1 resistor is connected to the ATTINY2313 power supply chain. Plus part of the nutrition 5 V to the output No. 20 - VCC, and minus - No. 10 (GND). The C1 polar capacitor is set to prevent failures and disinfect the operation of the MK.

Considering that each conclusion has a small load capacity, it is advisable to put LEDs on them with a par value of up to 20 mA.

Suitable as classic SMD3258 and LEDs of high brightness in the DIP case. There must be 13 pieces of them. The current limit function is assigned to R6-R18 resistors.

The operation of the scheme is controlled by means of the SA1 switch, the SB1-SB3 buttons and the PD0-PD3 digital inputs that are connected through resistors R2, R3, R6 and R7. This design allows you to include flashing LEDs in 11 different modes, specifying a specific program with the SB3 button. And using the SA1 switch changes the speed of blinking. For this:

  1. SA1 is translated into a closed position.
  2. The speed changes with the SB1 and SB2 and SB2 (deceleration).

Note that when the switch is blurred by these buttons, the brightness of the luminosity of the LEDs from barely noticeable flicker is changed to maximum power.

Assembly options

There are two available and relatively simple embodiments of running lights: on a printed or dumping board. And in that, and in another case, it is desirable to take the scheme in the PDIP case on the DIP-20 panel. It is necessary that the remaining components are also in DIP-enclosures.

When assembling on the dumping board, there will be enough model 50 × 50 mm in a step of 2.5 mm. LED will be placed not only on the board itself, but also on the external line, connecting them into the scheme with flexible wires.

A miniature printed circuit board is a more practical option for those cases when running lights on LEDs do it with their own hands for active further operation.

Project PCB

For example, when they are installed on a bike or car. In this case, these components will be needed:

  • one-sided textolite 55 × 55 mm;
  • Condenser 100 μF-6.3V;
  • DD1 - ATTINE 2313;
  • Resistor 10 KOM-0.25 W ± 5% (R1);
  • 17 resistors 1 KOM-0.25 W ± 5% (R2-R18);
  • 13 LED LEDs with a diameter of 3 mm (color is not important);
  • 3 KLS7-TS6601 buttons or analog (SB1-SB3);
  • Switch engine ESP1010 (SA1).

Radiators with practical experience of assembling printed circuit boards is better to take for this schema ATTINE2313 SOIC C SMD resistors. Due to this, the general dimensions of the scheme will decrease almost twice. You can also install supernogo SMD LEDs in a separate unit.

Running lights by 12V

This scheme of running lights by 12 volts is widely known in the network, as it has a very simple and understandable design. The mode generator is the pulse timer, and the counter, calculating them, applies to the outputs appropriate logical levels. The LED element connected to each output lights up with a logical unit and goes out at zero. The effect of running lights is created at the expense of consistent flicker. The speed of "run" is set by the generator, the operation of which is controlled by the nominal parameters of the C1 condenser and the resistor R1.

Running lights by 12V

The brightness of the LED is enhanced by increasing the supplied current, but for this they should be connected through buffer transistors. The fact is that the cost of the counter does not differ in high load capacity.

In this old scheme, the Soviet symbols of components and chips are given, but in our time it is not difficult to find the appropriate analogues of foreign production.

Firmware

The ATTINE 2313 microcontroller is recommended to be sewed using a self-made programmer, which is connected via RS-232 or popular PoneProg2000. Before starting the firmware, it is necessary to set fuses as indicated in the picture.

Put ticks before firmware

For a clearer view of the operation of the device, consider some of its main nodes. We begin to consider the work of the running lights from the K155L3 chip which is a set of four logical elements of the 2nd-not shown in Fig. 1.

K155L3.

1,2,4,5,9,10,12,13 - the inputs x1-x8; 3 - yield y1; 6 - yield y2; 7 - total; 8 - yield y3; 11 - yield y4; 14 - supply voltage;

We use only two elements 2I - not. Below, the generator scheme, the alternation of the rectangular pulse of the logical zero and the logical unit shown on the chart.

Generator

The generator provides for adjusting the speed and duration of the alternation of logical pulses using R1 and C1.

If we connect the LED through a resistor of 1 com - we will see that we have a simple blighter on a microcircuit with an adjustable flicker speed. Let us consider the chip K155TM2 - which includes two independent D-triggers, which are triggered by the positive edge of the clock signal, It will connect the clock generator to it.

Conditional graphic designation K155TM2 is shown in Fig.2. Figure 3 shows the structural scheme and the truth table of one of the chip elements, where each element consists of four elements 2I - not.

K155TM2.K155TM2.

And below is a "decryption" of the chip conclusions: 1 - inverse setting of the setting "0" R1; 2 - input d1; 3 - synchronization input C1; 4 - inverse setting of installation "1" S1; 5 - Output Q1; 6 - Output inverse Q1 ; 7 - total; 8 - output inverse Q2; 9 - input Q2; 10 - inverse setting of installation "1" S2; 11 - synchronization input C2; 12 - input d2; 13 - inverse setting of the installation "0" R2; 14 - voltage nutrition;

Next, we briefly consider the work of one trigger cascade depicted in Fig.4.

Work of one trigger cascade

Connect the output 2 to inverse output 6 and connect to the output 3 clock generator. When the logical unit arrives at the output 3 at the output 5 there will be switching to a logical unit, when the next logical unit is passed to the output 3 - there will be a switch to a logical zero (output 5) and so shift to infinity will occur. At the output 6 (which is inverse ) There will be a mirror value of the 5th output.

And running lights will be made of clock generator and four elements of the trigger (2 chips K155TM2) Fig.5

Running lights from a clock generator and four elements of the trigger

In the diagram, we see the non-fixed S2 button that serves to switch the subroutines and the S1 selector to which the main programs are switched. If you make small changes in the diagram - disconnect the output going to 13 legs D1.2 and connect it to 10 d1.2 and do the same on the second chip, the indication programs will also change (the change is marked in the dotted line). If you use the S1 multisective selector, you can connect a change in the selector to the selector and thereby increase the number of programs.

The circuit uses a 2.5-3.6 volt voltage bulbs, but if you use LEDs, then the need for transistors eliminates (in the diagram marked with a red square) and the connection of the LEDs is carried out to T, T1, M, M1, P1, F1 F1 F1, P1, F1 .

Running lights from a clock generator and four elements of the trigger

If you use 220 volts lamps, then instead of transistors, you need to connect simistors or as they are also called symmetrical thyristors, a triode thyristor or triak. Symstar conditional graphic designation in Fig.6

Siemistor

Simistor can be represented by two thyristors included in the counter-parallel. He misses the current in both directions. The simistor has three electrodes: one control and two main to pass the operating current. The structure of this semiconductor device is shown in Fig.6a. In Fig.6 B appearance of Simistor KU208.

Fig. 7 shows a scheme of lighting lights with a simistor control.

Symstory Running Lighting Scheme

The assembled device from the inside and the appearance of the device.

Running lights

Running lights

The parts used in the running lights can be replaced with imported and domestic counterparts: K155L33 on SN7400, K155TM2 on SN7474N, CT315 transistors on KT342; Kt503; Kt3102; 2n9014; SP546B, and cu208 on BT134; BT136. LEDs can be applied any. The cost of parts is approximately 60 - 100 rubles.

This scheme is easy to recycle and change the work algorithm.

The scheme itself has a minimum of easily accessible parts, easy to assemble and with proper installation in the setup does not need.

List of radio elements

Download List of Elements (PDF)

Flashing garlands will decorate any territory. They are acquired in the store or create themselves. You can make running lights on LEDs with your own hands. True, it will take advantage of the necessary materials.

Running lights

Scheme and principle of running lights

The design for lights can be performed in analog form.

For her needed:

  • NE555 microcircuit;
  • Decifurator CD4017 (or 22);
  • current-limiting and trimming resistors;
  • LEDs;
  • Filtering capacitors.

NE555 performs the role of meander generator, and the decoder sets the sequence in which the LEDs are lit. A variable resistor is connected between the 7th and 2nd chip conclusions. Changing it rated, increase or reduce the speed of switching LEDs (the speed of their "running").

To CD4017, up to 10 LEDs are connected simultaneously (according to a circuit with a common anode). The microcircuit generates an account from 1 to 10, alternately feeding the signal to diodes. For example, running turn signals or pointers are created.

The filter capacitor by 220 MF is connected to the supply of power NE555 and CD4017 parallel to the ground.

The led anodes are connected to a common wire through the tightening resistor 1 com.

Schemes of running lights

Much faster to collect the same scheme on the microcontroller. To do this, you will need a programmable fee (for example, Arduino Uno, Nano or any other model), to which the conclusions should be connected according to the scheme with a general anode 8 LEDs. Each turn of rotation is connected through the tightening resistor 330 Ohm to the ground.

It is only necessary to write a program for the controller and flash the fee.

Tools and materials

To create running lights on Arduino, you will need:

  1. Programmable fee.
  2. LEDs.
  3. Current-limiting resistors.
  4. Connecting wires.
  5. Make-up or assembly.

If running lights are created not as an experiment, but for regular use, it is better to mount them on a universal, and not on a dump fee.

For large-scale projects 8 LEDs are not enough, therefore, the WS2812 LED tape is used.

All 3 wires use to connect it:

  • signal;
  • food;
  • Earth.

You will also need to connect between the signal output "Arduino" and the input of the tape 1 resistor 470 Ohm.

Arduino

For assembly, you will need a soldering iron, solder (if you need a rigid connection of the elements), as well as a knife for removing insulation from the wires. No additional tools are needed to work with the dump truck.

Step-by-step manual instructions

Assembling running lights on 8 separate LEDs is produced like this:

  1. Diodes are mounted in a fee (soldered if necessary).
  2. Resistors are connected to them (they are either inserted into the connectors, or solder to lights).
  3. Diodes are connected to Arduino Pins using wires.
  4. Resistors with a common point are connected to the output of the GND card.
  5. A microcontroller is powered.
  6. The firmware is loaded.

The tape is connected to the power not from the Arduino board, but from a third-party power supply, because The microcontroller can provide a maximum current of 800 mA at a voltage of 5 volts, and that is enough only to ignite 13 LEDs.

WS2812 consists of RGB diodes, each of which consumes 20 mA (i.e., a total of 1 pixel requires 60 mA).

For the power supply of the computer, in which there is a wire for +5 V and +12 V. Knowing power P (standard device value) and the supplied voltage U, calculate the current (private from division P to U).

Resistors

Firmware and setup

To work with 8 LEDs, the following sketch is loaded into Arduino:

INT Last_Pin = 10; // Number of LEDs

// Block to initialize input-outputs and other source data

Void setup () {

For (int i = 0; i <last_pin; i ++) // Cycle

Pinmode (I, Output); // Initialize Pins as outputs

}

// Main cycle

void loop () {

for (int j = 0; j <last_pin; j ++) {// Catch out pins from 0 to Last_Pin

DigitalWrite (J, High); // Ignition of the next LED

Delay (300); // Delay 300 ms

DigitalWrite (J, Low); // Gasim all LEDs

}

}

To set up a diode tape to work with a microcontroller, you need to flash it with such a code:

#ifndef lumazoid_h

#Define Lumazoid_h.

#if (Arduino> = 100)

#Include.

#ELSE.

#Include.

#Include.

#Endif

TypeDef struct {

UINT8_T BaseColor;

UINT8_T AGE;

UINT8_T Magnitude;

UINT8_T RND;

} peak_t;

#Endif

Safety regulations

When working with electronic devices, adhere to the following safety standards:

  1. Isolate all the current parts so that the water does not hit them so that it is impossible to touch them the bare body. 800 mA is not the value of the current that gives, for example, a Tesla transformer, but not to feel it difficult.
  2. The soldering iron use only a pair with a comfortable stand, to which the instrument is put after work, otherwise the likelihood of something melted, burn or burn.
  3. Diode tape has all the contacts for connection are deprived of isolation. When it is in working condition, it is impossible to touch it either with hands nor metal objects.

The soldering iron and radio components are located on apart to accidentally not burn the elements sensitive to overheating.

Useful advice

If you connect to the microcontroller not one, but several LED tapes, you can create an interesting illumination that is easy to program.

For example, you can convert any video into a pixel image, all frames encode 8 bits and with the help of shear operations to withdraw them on tapes. The latter form 1 large screen.

There is a huge number of various blinking colored lights of LED devices that blinking colored lights that can make any holiday brighter. Why buy standard LED flashers, when it is much more interesting in a few hours with your own hands to collect an original and fully functional device capable of switching LEDs in a specific sequence, thereby creating the effect of running lights. For novice radio amateurs, this homemade will be a wonderful project of the weekend.

In this figure shows a scheme of running lights on LEDs.

Running lights scheme on LEDs do it yourself
Scheme of running LED lights on the NE555 chip, CD4017, CD4022

Download the scheme of traveling LED lights on the chip Download

The device consists of two microcircuits, the principle of operation is very simple. Specifying impulse generator is made on the NE555 universal microcircuit. The signal from the generator enters the input of the binary meter of the CD4017 or CD4022 decoder, these chips are similar and completely interchangeable. The microcircuit has 10 outputs to which LEDs are connected. When the clock pulses are submitted from the pulse generator to the meter input, sequential switching between the chip outputs occurs.

LEDs are ignited in a strict sequence from 1 to 10 and therefore it turns out the effect of running lights. The switching speed of the LED is adjustable by changing the frequency of the parameters of the pulse generator with a P1 stroke resistor. The supply voltage of the LED is set by the selection of resistance resistor R1. The scheme is powered by a voltage from 5 to 15 volts. Also pay attention to the numbering of LEDs in the diagram. If you want the LEDs to be lit one by one, then place them in order indicated in the diagram.

This figure shows the printed circuit board of traveling LED lights on two chips.

Printing fee of traveling LED lights on two chips with their own hands
Printing fee of traveling LED lights on two chips with their own hands

Download Running Lights Package on LEDs Download

Details of the device are easily placed on a printed circuit board with a size of 65x45 mm. I installed chips for convenience in DIP panels, there are a penny, in the event of a replacement of the chip, you do not need to solder anything.

Running lights on LEDs

LEDs with a board are connected by wires. No more than three LEDs can be connected to each channel of the chip. In his homemade, I decided to put two LEDs on each channel and place the LEDs one on the other in such a way that the circular rotation effect of two points was turned out. You can place LEDs in any sequence, create figures, various options, fantasize ...

I want to sharpen your attention on the fact that if you put multicolored LEDs. On one channel you can install LEDs, only one color. All because multicolored LEDs are different resistance and therefore will only be glowing, which is less resistance. Of course you can fix this case if you replace the R1 resistor with a jumper, and to put a separate resistor to each LED. Then all the LEDs will glow, as it should.

LED running lights on the chip

My task was to collect an autonomous, pocket device, which will serve as a light addition to the musical "boombox", so the LEDs and a battery card, gently posted in a plastic case from an electromagnetic relay. LEDs flooded thermo glue. Thus glued a printed circuit board. Put the switch and one Diode in4007 to protect the device from the ransom.

Running lights on LEDs

It turned out a pretty pocket device, which can be taken with you and enjoy running in a circle by LED lights.

Running lights on LEDs do it yourself

And what to do if you want to connect a larger load, such as LED ribbons? Then you have to improve the scheme slightly. On each channel you need to put a transistor key.

Scheme of transistor key

Download transistor key diagram Download

In this scheme, almost any transistors of the N-P-N structure are well operating: BD139, TIP41C, MJE13006, MJE13007, MJE13008, MJE13009, MJE13008, MJE13009, CT815, KT805, KT819 and other similar to select depending on the required load. All transistors must be fixed on the radiator, transistor collectors according to the scheme are connected together, so it is not necessary to isolate from the radiator. Resistors R1, R2, R3, R4, R5, R6, R7, R8, R9, R10 Connect to the outputs of the chip. Power Schemes Take from the general power source.

Radio metal for assembling running lights on LEDs

  • Microcircuit NE555
  • CD4017 or CD4022 chip
  • Strip Resistor P1 on 50K
  • Resistor R1 1K, R2 22K
  • Condensatory C1 220 ICF 25V, C2 10 μF 25V
  • LEDs with supply voltage from 2 to 12V

Friends, I wish you good luck and good mood! See you in new articles!

I recommend watching a video on how to make running lights on LEDs

Schemes All that exhibited earlier and now - workers a hundred percent, soldered himself, caught up the details. In the schemes of these by the way, the quality of work depends largely on transistors and strapping, the details here are also selected for the best work.

Here are some Schemes of LED Running Lights

This is the same option, only with the effect of smooth ignition and attenuation of LEDs.

And here is another very useful scheme for the CMU and SDU. Since now, unfortunately, there are no linear outputs on the equipment, and the beep has to take from the output to the column or headphones, then when changing the volume level on the tape recorder, you have to adjust the overall level on the color-music device. This scheme allows you to get rid of such a problem. At its output, a certain level of the signal is maintained regardless of the signal level at the entrance, starting certainly from a certain minimum.

And the scheme works clearly, the output signal is not distorted, testing it with a car, that is, the signal fed to the input circuit from the output to the speaker. Posted by: Senya70.

Forum on led.

   Forum on the discussion of the material Running LED lights

Among the dozens of diverse LED flashers, a decent place occupies a scheme of running lights on LEDs collected on the attribrony2313 microcontroller. With its help, you can create various lighting effects: from a standard alternate glow to colorful smooth growing and planting of fire. One of the options of how to make your own hands running fire on LEDs running the MK Attiny2313, consider on a specific example.

Heart of running lights

Attiny2313.

The fact that AVR microcontrollers atmel have high performance characteristics - a well-known fact. Their multifunctionality and lightness of programming allows the most unusual electronic devices. But to start acquaintance with the microcontroller technique is better from the assembly of simple schemes in which the I / O ports have the same purpose.

One such schemes are running lights with a choice of programs on attiny2313. This microcontroller has everything you need to implement such projects. At the same time, it is not overloaded with additional functions for which they would have to overpay. ATTINY2313 is produced in the PDIP and SOIC housing and has the following specifications:

  • 32 8-bit general purpose register;
  • 120 operations performed for 1 clock cycle;
  • 2 KB intrasystem Flash memory, withstanding 10 thousand cycles Record / Erasing;
  • 128 bytes of intrasystem EEPROM, withstanding 100 thousand cycles Record / erasing;
  • 128 bytes of built-in RAM;
  • 8-bit and 16-bit counter / timer;
  • 4 PWM channel;
  • Built-in generator;
  • Universal serial interface and other useful functions.

Energy parameters depend on the modification:

  • Attiny2313 - 2.7-5.5V and up to 300 μA in active mode at a frequency of 1 MHz;
  • Attiny2313a (4313) - 1.8-5.5V and up to 190 μA in active mode at a frequency of 1 MHz.

In waiting mode, power consumption is reduced by two orders of magnitude and does not exceed 1 μA. In addition, this family of microcontrollers has a number of special properties. With the full list of ATTINY2313 features, you can find on the official page of the manufacturer www.atmel.com.

The scheme and the principle of its work

In the center of the concept of electrical circuit, the ATTINY2313 MK is located, to the 13 outputs of which the LEDs are connected. In particular, port in (PB0-PB7), 3 outputs port D (PD4-PD6), as well as PA0 and PA1, which remained free due to the applied internal generator, are fully involved. The first output PA2 (RESET) does not take actively participating in the diagram and through the R1 resistor is connected to the power circuit of the MK. Plus 5V power is supplied to the 20th pin (VCC), and minus to the 10th output (GND). To exclude interference and failures in the operation of the MK for nutrition, a Pole condenser C1 was installed. Scheme

Taking into account the small load ability of each output to connect the LEDs calculated on the rated current of no more than 20 mA. It can be both supernators LED in the DIP case with a transparent lens and SMD3528. All of them in this scheme of running lights 13 pcs. Resistors R6-R18 perform as current limiters.

The numbering of LEDs in the diagram is indicated in accordance with the firmware.

Through the PD0-PD3 digital inputs, as well as using the SB1-SB3 buttons and the SA1 switch, the scheme is managed. All of them are connected via resistors R2, R3, R6, R7. At the programming level, 11 different variations of the flashing LEDs are provided, as well as a consistent bust of all effects. The program selection is set by the SB3 button. Within each program, you can change the speed of its execution (flashing LEDs). To do this, the SA1 switch is transferred to the closed position (program speed) and the zoom buttons (SB1) and the reduction (SB2) of the speed achieve the desired effect. If SA1 slides, the SB1 and SB2 buttons will adjust the brightness of the LEDs (from weak flicker to the glow at the rated power).

PCB and assembly details

Specially for novice radio amateurs offer two options for assembling running lights: on maquet and on the printed circuit board. In both cases, it is recommended to use a chip in the PDIP case installed in the DIP-20 panel. All other parts are also in DIP housings. In the first case, there will be a 50x50 mm dummy card with a pitch of 2.5 mm. At the same time, the LEDs can be placed on both the board and on a separate lineup, connecting them to the flexible wires. pay

Pricing fee in .lay6 format can be downloaded here.

If running lights on LEDs are supposed to be actively used in the future (for example, in a car, bicycle), it is better to collect a miniature printed circuit board. To do this, you will need one-sided textolitol size 55 * 55 mm, as well as radio elements:

  • C1 - 100 ICF-6,3V;
  • DD1 - ATTINY2313;
  • HL1-HL13 - LED of any color with a diameter of 3 mm;
  • R1 - 10 com-0.25 W ± 5%;
  • R2-R18 - 1 com-0.25 W ± 5%;
  • SB1-SB3 - KLS7-TS6601 clock button (any similar);
  • SA1 - three-wheel drive engine ESP1010.

For those who have the experience of making printed circuit boards, it is better to use ATTINY2313 SOIC form factor, as well as SMD resistors. This will reduce the size of the device by about 2 times. You can also take the supervil SMD LEDs and place them in a separate unit.

Firmware

For the firmware of the ATTINY2313 MK, you should use a home-made programmer connected to the RS-232 computer and known to many PonyProg2000. Before the firmware, it is necessary to set fuses in accordance with the table. Flues.

Firmware for running lights on attiny2313 can be downloaded here.

Running lights on LEDs - one of the variants of an automatic device based on LED lighting devices or simpler species that are widely used in promotional lighting structures, as well as in the automotive industry. In essence, this is a device that controls LEDs and devices based on them strictly in accordance with the program laid down in the chip.

Very popular when controlling light devices, built on the basis of programmable controllers. By this principle, most of the running lights running. The eight-bit microcircuit controller with PIC12F629 memory drive can be attributed to the mass of the most common control microcircuits. And the simplest device that can be made with its own use is reversible running lights, i.e. performing the alternate return-translational inclusion of LEDs or other light sources.

The scheme of such a device is quite simple and contains only a control device with an appropriate program already embedded. The voltage is supplied from the source of the stabilized nutrition of five or twelve volts using the additional integral stabilizer.

Simple Running Light Scheme
Simple Running Light Scheme

Sixteen LEDs built in any desired manner are located on a textolite basis and switched in such a sequence that is required for a given target. Such a device is very economical in power consumption both from 12 and from 5 volts with a total current of about 20 milliam.

Such running lights can be successfully applied in the car as an additional stop signal, since the LEDs will be turned on alternately until the device is supplied.

More complex devices

For devices with complex switching algorithms, more high-tech microprocessors are used. Scheme of running lights on LEDs of this type can be seen in the figure below. In order to make them with your own hands, it will take the manufacture of a multivibrator based on the DD1 K561L7 microcontroller, as well as a DD2 C561I8 microcircuit.

Using the first, the impulse will be created, a one or another LED will be included. The meter will switch the power to groups of light sources. Thus, it is possible to implement such a device as running lights with a selection of programs.

Below is a diagram of similar running lights. The signal amplifier is based on the VT1 and VT2 transistors, which are opened when the voltage is applied from the meter. The C2 and C3 condenser is used as a filter. Well, C1 regulates the frequency of feed.

You can mount a similar device of the running lights on a printed textolite board size of only 3.7 x 5 cm, i.e., with a matchbox.

Scheme of a more complex device
Scheme of a more complex device

According to the scheme, the LEDs in groups are connected to three conclusions. The number of light elements depends on the supply power, but should not form very large groups to avoid the overload of the supply network.

It is also desirable to protect CT972A transistors with heat sink radiators. By the way, they can be replaced by slightly less powerful analogues, namely CT315 or KT815 - all this is already at the discretion of the master, the changes in the work of the diagram itself does not affect.

Elements such as DD1.1 and DD1.2 perform the functions generating the pulse supplied to the counter.

When the resistance is selected R6, it is necessary to take into account that its nominal value should not be less than 1 kiloma.

Of course, the LEDs themselves are mounted on a separate platform. Although if such a device is intended for use as a running lights on a car stop signal and factory lights consist of LEDs, you can connect directly to them. It will save from unnecessary installation and switching a new platform for light elements.

One of the applications of running lights - Advertising
One of the applications of running lights - Advertising

Conclusion

Even having a slight experience in electrical engineering and radio electronics, collect the scheme of running lights is quite possible. But if with such knowledge at all at all, and install the lights to your car there is a great desire, then there is a sense to purchase a ready-made device. To date, on the shelves of auto shops, and electrical shops, such devices are presented in a huge assortment. More functions will be present in such structures, such as the inclusion or flashing of the stop signal at an emergency stop, moving back, etc.

Running lights in the car stop signals are not only tribute to aesthetics, but also safety. After all, the flashing or moving light is always more noticeable than static burning. Therefore, the installation of such a device is always desirable.

Scheme of running lights on chips

In this article, we will analyze such a question as a scheme of running lights on LEDs. These schemes can be used by car, motorcycle, bicycle, etc., as they will attract the attention of the audience.

We created 3 different schemes of running LED running lights using very simple components.

In the first scheme, we have implemented flashing LEDs using a transistor based on Astable Multivibrator.

The second scheme is based on the CD4017 chip, where we have chasing LEDs. In this case, the LEDs simply turn on one after another successively.

The third scheme is also implemented using CD4017. In this scheme, the LEDs will glow in a different way, that is, two-way LEDs.

These schemes can be used to decorate a car or can be useful during emergency stop when your car broke and you need help.

We will see the details of each of these chains, such as a schematic diagram, the necessary components and work in the following sections.

To the contents ↑

Simple Running LED Light Scheme

Simple Running LED Light Scheme

To the contents ↑

Components for this project

2 x 2N2222A (NPN transistor) 2 x 22 μF - 50 V condenser (polarized) resistor 2 x 46 com (1/4 W) bright white LED 6 x 8 mm12 in power supply

To the contents ↑

Principle of operation

It is clear from the schematic scheme that the project is based on a simple Astable Multivibrator. When the circuit is turned on, one transistor will be turned on (in saturation mode), and the other will be turned off (in the cut-off mode).

Assuming that T1 is turned on, and T2 is turned off, the C2 capacitor will be charged through serial LEDs. Since the LEDs are connected to the current path, they will light up.

During this time, the T2 transistor is turned off due to the C1 discharge capacitor (since the negative plate is connected to the Q2 base). After a time constant, C1R1 C1 capacitor is completely discharged and begins to charge through R1.

Charging direction reverse. When the condenser is charging, it creates a sufficient voltage (0.7 V) to turn on the T2 transistor. At this time, the C2 capacitor begins to discharge through Q2.

When the C2 capacitor plate, which is connected to the base of the T1 transistor, becomes a negative, the T1 transistor turns off, and this set of LEDs is turned off.

The C1 capacitor now begins to charge from the corresponding consecutive LEDs (through the database T2). Since this set of LEDs is connected in the current path, they will be included.

Now the C2 condenser is discharged and after complete discharge begins to charge through R2. When the charge accumulates in the C2 condenser, when the voltage reaches 0.7 V, it will turn on the T1 transistor. From this point on, the process is repeated, as before. Accordingly, the effect of running lights is created.

To the contents ↑

Scheme of traveling LED lights on the chip

Scheme of running lights on chips

The second project in the series of running LED lights is a diagram using the CD4017 Counter Counter and 555 IC Timer.

To the contents ↑

Necessary components

1 x CD4017 Decade counter IC1 x 555 Timer ICreensistor 1 x 18 com (1/4 W) 1 x 2.2 kΩ Resistor (1/4 W) Potentiometer 1 x 100 Complex 1 x 1 μF - 50V Condenser (polarized) Ceramic disk Condenser 1 x 0.1 nf (code 100 PF 101) 10 x 8 mm Bright white LEDs5 in power supply

To the contents ↑

Principle of operation of the running lights on LED using a microcircuit

In this project, we have developed a simple scheme in which the LEDs are included one by one and give us the effect of one LED, chasing the other. Let's see how it works.

The first thing is visible on the concept - there are two parts: part of the timer 555 and part of the CD4017 integral meter with LEDs. Timer 555 in this project is configured as an unstable multivibrator.

In this mode, it generates a pulse, the frequency of which is determined by the components R1 (2.2 kΩ), R2 (18 com), VR1 (100 com) and C1 (1 μF). The pulse frequency can be controlled by adjusting the POT 100 com.

This pulse is fed to the CD4017 decadal signals counter as its clock entry. Understanding the work of the CD4017, for each clock pulse, which he gets at the entrance of the clock entrance, the account increases by 1, and as a result, each output contact will be high for each corresponding clock pulse.

Since this is a decimal counter, we will receive a bill 10, and since we have connected bright white LEDs to output contacts, each LED will turn on when the corresponding contact will be high.

After 10 clock pulses, the countdown is reset and starts from the beginning. If the LEDs were placed in a circle, we get a feeling of chase on LEDs.

To the contents ↑

Two-band chart of running lights on LEDs

Railing Lighting Lighting SchemeThis is another working scheme, but the difference between this and the previous one lies in the fact that in the previous scheme it has been developed as a unilateral chain of LEDs, whereas in this scheme the LEDs will operate in two ways.

To the contents ↑

Components for assembling this chain

1 x CD4017 Decade meter IC1 x 555 Timer ICreensistor 1 x 18 com (1/4 W) 1 x 2.2 kΩ Resistor (1/4 W) 1 x 470 Ohm Resistor (1/4 W) Potentiometer 1 x 100 KOM1 x 1 μF - 50V condenser (polarized) ceramic disk capacitor 1 x 0.1 nf (code 100 PF 101) 8 x 1N4007 Pn diodes transition white LEDs 11 x 8 mm

To the contents ↑

The principle of operation of the two-band system

Work on the project of bilateral LEDs is similar to the previous project, except that the orientation of LEDs is different.

Part 555 (the operation is similar to the scheme described in the above) generates a pulse signal, which is fed to the CD4017 counter as the clock frequency. LED6, which is connected to Q0 CD4017, lights up first.

LED5 and LED7, which are connected to Q1 CD4017, will light up. The compounds continue, as shown on the schematic diagram, and this process continues to Q5, which is connected to LED1 and LED11. Prior to this stage, one-sided lighting of the LED will be completed.

To achieve bilateral LED lighting, Q6 is connected to LED2 and LED10, Q7 connected to LED3 and LED9 and so on.

The final effect will consist of two-way LEDs, and the sequence will be as follows: LED6 (Q0), LED5 - LED7 (Q1), LED4 - LED8 (Q2), LED3 - LED9 (Q3), LED2 - LED10 (Q4), LED1 - LED11 ( Q5) in one direction and then LED2 - LED10 (Q6), LED3 - LED9 (Q7), LED4 - LED8 (Q8), LED5 - LED7 (Q9).

In principle, this can be completed by our narration on how running LED lights and which schemes can be used in these cases. Examples shown are quite complex to understand, but simple to make them with their own hands. And if you do not understand anything in electronics, simply bypacing all the details, as shown in the schemes, you will definitely get the final product - running LED lights operating in different modes.

Добавить комментарий