Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

Smooth dimming of lights in the car

Free technical library

Encyclopedia of radio electronics and electrical engineering / Automobile. Electronic devices

Comments on the article Comments on the article

A smooth change in interior light can be seen so often. The proposed scheme will add a similar option to your car.

When the door is opened, the lamps will be lit at full brightness for ~0.5 sec. After closing the doors, the lamps will continue to burn for ~ 10 seconds, then smoothly for 2 seconds. go out. The lamps will go out immediately if the ignition is turned on at the moment the doors are closed, or it (the ignition) was turned on during 10 seconds. excerpts from the moment the doors are closed.

The relay is based on the PIC12F629 microcontroller. The scheme is shown in Fig.1.

Smooth extinguishing of light in the car. Scheme
Rice. 1. Scheme (click to enlarge)

When the door limit switch (R1) is closed to ground, a logical 1 will be set at the input of the GP0 microcontroller, after which a PWM signal with a smooth increase in duration will begin to form at the GP0 output. After reaching the maximum duration, a constant logic 0 will be set at the GP1 output. When the limit switch is opened (disconnected from the ground), 1 is set at the GP1 input, PWM will begin to form at the GP0 output with a smooth decrease in duration, followed by setting a constant logic 0. If, when the limit switch is opened at the input 12V is not supplied to the ignition, then a pause of 10 seconds will be held before turning off, if it is, then the lamps will go out immediately.

Divider R2 R4 serves to reduce 12V to the operating voltage of the microcontroller (5V), VD1 to protect the input of the microcontroller from accidental connection of limit switches to 12V.

Details: DD1 - PIC12F629, VT1 - IRF640 (it is excessively powerful here, you can use less powerful analogues, I just had it at hand), R1 and R3 - 510, R2 - 5.1k, R4 - 3.6k, C1 - 0.1mF , C2 - 10mF 16V, C3 - 10mF 25V, C4 and C5 - 20p, ZQ1 - 20MHz, DA1 - LM7805, VD1 - at 5.1V.

The size of the printed circuit board 23x23 (see Fig. 2) allows it to be placed in the car relay housing (see Fig. 3).

Smooth extinguishing of light in the car. Printed circuit board
Fig.2 PCB

Smooth extinguishing of light in the car. Relay
Fig.3. Relay

Graphs of luminosity change:

Smooth extinguishing of light in the car. Schedule
Fig.4 Graphs

Project archive: SalonLampControl.

Connecting the relay will most likely require some change in the standard wiring, so it will be necessary to break the direct connections of the lamps and limit switches, bring all the limit switches to one wire, and connect all the lamps to the other and connect to the relay, it is also necessary to connect the wire from the ignition switch, which is supplied with 12V after inclusions. The exception is that if your car already uses a cabin light relay-controller (without smooth extinction, of course), then it is enough to simply repeat the functionality of the standard relay outputs (if possible).

PS. In my case, after installing the relay on the car, an incorrect operation of the alarm system was revealed, when arming, she swore that the doors were open. It turned out that she perceives 5V, which are present on R1, with open limit switches as an "open door", she had to pull R1 to 12V after 10k (the free end to which the limit switches are connected).

Author: Andrey Krachkovsky; Publication: cxem.net

See other articles Section Automobile. Electronic devices

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Artificial leather for touch emulation 15.04.2024

In a modern technology world where distance is becoming increasingly commonplace, maintaining connection and a sense of closeness is important. Recent developments in artificial skin by German scientists from Saarland University represent a new era in virtual interactions. German researchers from Saarland University have developed ultra-thin films that can transmit the sensation of touch over a distance. This cutting-edge technology provides new opportunities for virtual communication, especially for those who find themselves far from their loved ones. The ultra-thin films developed by the researchers, just 50 micrometers thick, can be integrated into textiles and worn like a second skin. These films act as sensors that recognize tactile signals from mom or dad, and as actuators that transmit these movements to the baby. Parents' touch to the fabric activates sensors that react to pressure and deform the ultra-thin film. This ... >>

Petgugu Global cat litter 15.04.2024

Taking care of pets can often be a challenge, especially when it comes to keeping your home clean. A new interesting solution from the Petgugu Global startup has been presented, which will make life easier for cat owners and help them keep their home perfectly clean and tidy. Startup Petgugu Global has unveiled a unique cat toilet that can automatically flush feces, keeping your home clean and fresh. This innovative device is equipped with various smart sensors that monitor your pet's toilet activity and activate to automatically clean after use. The device connects to the sewer system and ensures efficient waste removal without the need for intervention from the owner. Additionally, the toilet has a large flushable storage capacity, making it ideal for multi-cat households. The Petgugu cat litter bowl is designed for use with water-soluble litters and offers a range of additional ... >>

The attractiveness of caring men 14.04.2024

The stereotype that women prefer "bad boys" has long been widespread. However, recent research conducted by British scientists from Monash University offers a new perspective on this issue. They looked at how women responded to men's emotional responsibility and willingness to help others. The study's findings could change our understanding of what makes men attractive to women. A study conducted by scientists from Monash University leads to new findings about men's attractiveness to women. In the experiment, women were shown photographs of men with brief stories about their behavior in various situations, including their reaction to an encounter with a homeless person. Some of the men ignored the homeless man, while others helped him, such as buying him food. A study found that men who showed empathy and kindness were more attractive to women compared to men who showed empathy and kindness. ... >>

Random news from the Archive

Neural interface for controlling work with the power of thought 08.04.2023

Australian scientists have developed non-invasive biosensors that allow people to control various devices with their thoughts.

Engineers from the University of Technology Sydney have unveiled an advanced brain-computer interface. Through graphene sensors, researchers have achieved high conductivity, ease of use and reliability of the devices. The technology can be used to control jobs, prostheses, wheelchairs and machines.

The developers used graphene material combined with silicon to create wearable hard sensors. This approach has solved the problems of corrosion, durability and resistance to skin contact that have hampered everyday use of existing technologies, the engineers say.

Hexagonal graphene-patterned sensors are placed on the back of the head to detect waves from the visual cortex. Contacts are resistant to severe conditions, so they can be used in extreme conditions.

Devices are controlled using a special augmented reality lens installed in front of the user's eyes. White flickering squares are displayed on the screen. When the operator concentrates on a certain square, his brain waves are captured by the biosensor, and the decoder translates the signal into commands.

Our technology can issue at least nine commands in two seconds. This means that we have nine different types of commands, and the operator can choose one of these nine during this period of time, - said Chin-Teng Lin, a professor at the University of Technology Sydney and co-author of the development.

The researchers demonstrated the operation of the device to control the four-legged robot Ghost Robotics. The experiment showed that a trained operator can control the robot with up to 94% accuracy without the help of hands. Engineers believe that the development will find application in manufacturing, aerospace and healthcare.

News feed of science and technology, new electronics

We recommend downloading in our Free technical library:

▪ site section Electric motors

▪ magazines Radiocomponents (annual archives)

▪ book Voltage memory circuits and delay blocks. Zhovinsky V.N., 1963

▪ article And you, sir, I ask you not to really favor it either directly or by country road! Popular expression

▪ article Choosing a wind turbine. Encyclopedia of radio electronics and electrical engineering

▪ article IR light switch. Encyclopedia of radio electronics and electrical engineering

▪ reference Entering the foreign TV service mode. Book #2

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024