Automobile site - Behind the wheel

Automobile site - Behind the wheel

» A simple DRL controller without microcontrollers. Tested in the harsh conditions of the Yakut winter

A simple DRL controller without microcontrollers. Tested in the harsh conditions of the Yakut winter

This device will allow the low beam to automatically turn on when you start driving and regulates the voltage on the low beam lamps, depending on the speed at which you are driving. This will also make traffic safer and extend the life of the lamps.

Work algorithm

As soon as the car reaches a speed of 6 km/h, the lamps will automatically switch to 75% illumination mode, and will extend this indicator up to a speed of 69 km/h. Further, when the speed increases from 70 km/h to 94 km/h, the mode of 85% of the total on-board network voltage is switched on.

At a speed of 95 km/h - 95% of the on-board network voltage. After stopping the car for more than 22 seconds, the readings drop to 30%. As soon as movement is resumed, the readings increase according to the above parameters.


— If the driver turns on the low beam using the standard switch, the readings will be 100%. When the ignition is turned off, the headlights come on and off for a couple of seconds.

The low beam lamp readings change smoothly in steps of 5% every 1/20 or 1/10 second, depending on the operating mode. The lamps turn on instantly.

The conductors located on the board between legs 1,5,3 of the BTS555 key and their contacts must be reinforced with copper wire and soldered well. The first step is to solder the jumper wires, which are marked on the board.

The microcontroller can also be programmed via the ISP connector located on the board. The pinout is shown in the figure:

How to install microconsler fuses:



We install this device in the car

Contact 1—(SPD - input) must be connected to the output contact of the speed sensor, having a resolution of 6 pulses per meter.

Contact 2—(ON - input) must be connected to the standard wiring wire that drops +12 volts to the low beam lamps, but first it must be disconnected from the lamps.

Contact 3—(GND input) ground.

Contact 4—(IGN – input) is + 12 volts, they appear when the ignition is turned on and will disappear when it is turned off. You can take it right under the hood from the speed sensor.

Contact 5—(BAT – power input) +12 volts with battery. It must be connected to the battery using a 15 amp fuse.

The device is designed to automatically turn on and off daytime running lights (DRL) when starting and stopping. Assembled on a simple and cheap PIC12F629 microcontroller. Has a sound alarm and other useful little things.

Brief operating logic of the device

1.Power supply 12V
2.When the ignition is turned on after 6 pulses from the speed sensor, the DRL is turned on
3.When the dimensions are turned on, everything goes into normal mode
4.When the dimensions are off, go to step 2
5.When stopping (for example, in a traffic jam), the DRL will turn off after 3 minutes when you start moving, step 2
6.When you stop and turn off the ignition, the DRL lights up for another 20 seconds and turns off (polite backlight).

Device operating mode:

1. When the ignition is turned off, the HL1 LED blinks at a frequency of 1 time per second (1Hz), indicating that the device is in standby mode (standby mode).

2. When the ignition is turned on, the HL1 LED starts to light constantly, the microcontroller waits for the arrival of pulses from the speed sensor, and when the car starts moving, after 1 second the DRLs automatically light up and remain on all the time until the vehicle stops.

3. During a stop, the DRL switch-off time delay mode is activated (3 minutes), this is signaled by the built-in Beeper (2 short beeps - when the ignition is on and the car is stopped), if you turn off the ignition switch at this time (for example, during long-term parking) , 4 short beeps will sound, signaling that the DRL time delay mode has turned on for 20 seconds and then they will turn off (polite backlight mode), the device goes into standby mode.

4. When the side lights are turned on, the device automatically goes into standby mode, the DRLs turn off (traffic rules), everything works as normal.

5. The polite backlight mode can be turned on as follows: turn on the ignition, 2 short beeps will sound, and immediately turn it off (4 beeps will sound), and the device will automatically switch to the polite backlight mode. If you need to turn off the DRL without waiting for the time delay, you should turn on and then turn off the side lights.

6. The HL2 LED signals the status of the DRLs (lit - DRLs are working, off - DRLs are not working)


The relay used has a maximum current passing through the contacts of 10A, if you suddenly want to use this device for Automatic switching on of the BS, it is better to install an additional relay of type SLC - 12VDC - SL - C, the maximum current of the contacts is 30A, this is quite enough to control the BS. LEDs HL1 and HL2 are installed in a convenient place, for example in the dashboard. The BUZZER is also installed in a place convenient for the driver. The photograph of the assembled device shows that the LEDs are on the printed circuit board itself, but this was done only for debugging the circuit. Installation is optional!


The relay used has a maximum current passing through the contacts of 10A, if you suddenly want to use this device for Automatic switching on of the BS, it is better to install an additional relay of type SLC - 12VDC - SL - C, the maximum current of the contacts is 30A, this is quite enough to control the BS. LEDs HL1 and HL2 are installed in a convenient place, for example in the dashboard. The BUZZER is also installed in a place convenient for the driver. The photograph of the assembled device shows that the LEDs are on the printed circuit board itself, but this was done only for debugging the circuit. Installation is optional!

The DRL controller is a device used to monitor the performance of daytime running lights. With the help of this device, more stable and optimal operation of the optics is ensured, which allows optimizing the functionality of the electrical network as a whole. You can learn more about how to build such a device at home from this article.

[Hide]

DIY options

If you decide to build a daytime running lights controller for your car, then first we suggest you familiarize yourself with several options for manufacturing the device.

Photo gallery “Schemes for manufacturing”

  1. Relay-based DRL controller. Many vehicles have standard fog lights, but not all motorists use them. The reason may be the lack of need for operation, high voltage consumption of the optics, or its inefficiency. Alternatively, if necessary, the fog lights can be converted into daytime running lights, only the lighting sources will need to be replaced with diode ones. You will also need to slightly change the standard connection diagram; most likely, in this case you will need to dismantle the bumper and control panel.
    When you can access the on-board network, the connection procedure is carried out according to the diagram above. In this case, you need to ensure the correct operation of the optics - that is, the running lights should automatically turn on when you start the engine and turn off when you turn on the dimensions or high or low beam. To ensure this, the signal from the side lights can be taken from the button illumination, thanks to this you will not forget to deactivate the DRLs.
  2. Using ATmega8 board. This option is more preferable if access to the wiring in the car is difficult. The daytime running lights themselves are purchased separately; you do not need a control unit. You need to install the DRL into the bumper yourself; to do this, make the appropriate holes and fix the optics. After completing these steps, you will only have to work with the controller itself.
    It should be noted that this board also allows you to implement other, no less useful functions, for example, indicating the operation of the engine heater. In this case, the operating algorithm will be as follows: when the vehicle is not started, the voltage on the battery will be less than 13.5 volts. Accordingly, when the engine starts, the battery will be recharged, which means that the voltage will be more than 13.5 volts. The DRLs themselves will be activated automatically. To make the connection, two wires must be connected to the battery, and two to the optics itself.

Instructions for manufacturing the DRL regulator

Let's consider the process of making a regulator for DRLs at home in accordance with the diagram above.

The operating logic of this device is as follows - the unit activates the daytime running lights only in this case:

  • if the car’s power unit is started;
  • if the side lights and high and low beams are turned off.

Actually, these conditions are mandatory and meet all the requirements for the operation of daytime running lights. When you turn on the low beam at night, the controller will automatically turn off the running lights.

To make a block according to the diagram you will need the following elements:

  • two bipolar transistors, designated in the diagram as VT1 and VT6;
  • three rectifier diode elements, marked as VD1, VD2, VD3;
  • two 1 kOhm resistor components R1 and R2;
  • you will also need two 5.1 kOhm resistors - marked as R3 and R4;
  • one 10 kOhm resistor element - R5;
  • one 15 amp fuse and one 10 amp relay, marked K1 in the diagram.

All these spare parts can be purchased at any radio market, in the appropriate store or ordered online. There should be no problems finding the constituent elements of the circuit. The process of manufacturing the device itself should not cause problems - you just need to connect all the elements on the board in the manner shown in the diagram. The connection procedure is carried out using soldering. If you do not know how to solder, then it is better to contact a qualified electrician - any specialist with experience can solder such a regulator without any problems.


When soldering, be careful not to damage the components of the controller, as this may lead to its further inoperability. All parts must be securely soldered, since vibrations may occur when the car moves, and they, in turn, have a destructive effect on any moving elements. Especially when it comes to electronics.

After the device is made, it must be connected correctly:

  • DDM - must be connected to the engine fluid pressure controller or to the parking brake;
  • the +12 volt output must be connected to the generator device or the ignition switch, in particular, you need to connect it to the contact where voltage appears when the engine is running;
  • dimensions - as you might guess, in this case we are talking about the positive contact of the side lights, the specific connection location does not matter;
  • GND is the mass or body of the vehicle;
  • DRLs are daytime running lights themselves with halogen or diode lighting sources (the author of the video about the connection is Vitaly Novakov).

As for setting up the manufactured controller, this process consists of diagnosing the operating algorithm as a result of applying simulation pulses to it. When 12-volt voltage is supplied to the parking light input, the relay should automatically turn off. It will also turn off if the oil pressure controller input is shorted to ground.

Price issue

If for some reason you do not want to make a controller at home, then you can always buy it on the market or order it on the Internet. Costs may vary by store, with price differences ranging up to 40%. On average, the cost of a DRL controller today ranges from 650 to 1000 rubles.

Video “Review of the DRL controller purchased in China”

The video below shows a detailed overview of the Chinese daytime running lights controller (the author of the video is Sergey Stanevich).


A simple controller for DRLs. High beam lamps are used at 30% switched on. Brightness adjustment is carried out using PWM, and the function of smooth switching on of lamps is also implemented.

Version 1
Schematic diagram:

To power the microcontroller, a linear stabilizer L7805 was used (not shown in the diagram).

When you start the engine, the generator and oil sensor lamps go out, you can also turn on the handbrake and if the low/high beam is turned off, the DRL turns on (high beam by 30%, brightness can be changed in the source code). When you turn on the light, the DRLs turn off, to turn the DRLs back on you need to turn off the light, and then turn it on and off again. The circuit is assembled in Proteus, so you can try it.

Printed circuit boards:
Board for one field-effect transistor with parallel connection of lamps:


When connecting lamps in parallel, I advise you to use a more powerful transistor with a lower open-channel resistance, or connect several, otherwise the infection will heat up.

Board for two transistors - independent control of lamps:

This board is useful if you want to create some kind of strobe effect, or simply have the ability to connect to each lamp separately.

Download the Proteus project, printed circuit boards and source code: (downloads: 408)

Version 2
Schematic diagram:

The second version differs from the first only by the addition of an LED, which serves as an indicator that the lamps are turned on. A new printed circuit board was also installed with three field switches connected in parallel to control more powerful lamps.

Printed circuit board:


Assembled:

Download the Proteus project, printed circuit boards and source code for the second version: (downloads: 363)

Version 3
Schematic diagram:

To increase the response speed of the field switches, a driver based on transistors BC547 and BC557 (you can use KT315 and KT361) was added to the circuit, therefore the heating was reduced and the PWM frequency can be increased.

Daytime running lights (DRL) are additional external lighting devices designed to improve the visibility of a moving vehicle during daylight hours.

2012

I offer a simple diagram of a device for controlling the low beam or running lights of a car. Drivers very often forget to turn on the low beams when leaving a parking lot, which can result in a significant fine from inspectors. The device turns on the low beam automatically after 8-10 seconds. The circuit can be repeated even by a novice radio amateur, contains few radio elements and is reliable in operation.

2011

The proposed device controls the external lighting devices of the car: low beam headlights (LS), daytime running lights (DRL - daytime running lights), fog lights (FTL) and a circuit of dimensions, which is combined with instrument lighting and trunk lighting. The basis of the device is the ATMega8 microcontroller, the light sensor is a phototransistor under the windshield.