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

Car mirror heater timer. Encyclopedia of radio electronics and electrical engineering

Free technical library

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

Comments on the article Comments on the article

The timer is designed for installation in a car equipped with exterior rear-view mirrors with heated mirror elements. Its distinguishing feature is that the driver has the ability to change the heater operation mode quickly, without interfering with the timer microcontroller program.

The following timer modes are provided:

"BASIC" - a simple inclusion of the heating elements of the mirrors by pressing a button. After a set time interval, they will be turned off automatically. Before this interval has elapsed, the heater can be turned off by pressing the same button. The next press on it will turn on the heater again, but the countdown of its operation time will start again;

"AUTO" - automatic switching on of the heating elements of the mirrors when power is supplied to the timer with automatic switching off after a specified time;

"SETTING" - in this mode, set the duration of the heating elements before automatic shutdown.

Car Mirror Defroster Timer
Fig. 1

The timer circuit is shown in fig. 1 The DD1 microcontroller works according to the program written in its FLASH memory, receiving clock pulses with a frequency of 4 MHz from the built-in RC generator. The heating elements of the mirrors are switched on using relay K1, controlled by transistor VT1 according to the signals generated by the microcontroller at pin 5 (GP2).

Car Mirror Defroster Timer
Fig. 2

The timer is assembled on a small-sized single-sided printed circuit board, shown in fig. 2. Many elements on it (including the microcontroller) are for surface mounting and are installed from the side of the printed conductors. On the same side is the HL1 LED, and the SB1 button is located above the microcontroller. The wire going to the heaters is soldered to a pad next to the relay output (TR20-12VDC-SC-AD) and then passed through a hole in the board.

The codes from the t_mirror_12.HEX file are written into the PIC675F12-E/SN microcontroller (or its analogue with a lower maximum allowable temperature PIC675F675-I/SN). Without any modifications to the board, PIC16F629 microcontrollers with the same indexes can also be used, but for their programming, the t_mirror_629.HEX file should be used.

The microcontroller is programmed by installing it on a board on which the SB1 button and the HL1 LED are not yet mounted. The wires leading to the programmer are soldered to the pads A-C, as well as to the printed conductor of the common wire. If the microcontroller is supposed to be powered from the programmer during programming, then the integral stabilizer DA1 is also temporarily not installed on the board, and the +5 V voltage from the programmer is supplied to the contact pad designed to output 1 of the stabilizer. Otherwise, the board with the installed stabilizer should be supplied with a 12 V supply voltage for the time of programming. After loading the program, all the wires temporarily soldered to the board are removed and the missing parts are mounted.

I placed the board in a square plug for the dashboard of a VAZ-2110 car, making two holes in it. One (in the center) - for the SB1 button pusher, the second (offset) - for the HL1 LED. After checking the operability of the timer, I fixed the board in a plug, for which almost all the free space in it was filled with sealant. A 5 A fusible link not shown in the diagram protects the timer power circuit from overload.

At the beginning of its work, the microcontroller program configures the corresponding pins of its GPIO port as inputs and outputs, disables those peripheral devices built into the microcontroller that are not required for its operation. Then the status of the SB1 button is checked.

If it is pressed, the "SETUP" mode starts, as indicated by the HL1 LED, which remains on until the button is released. Within 3 seconds after the LED turns off, press this button again and hold it down until the required heater operation time is set. It increases in steps of one minute every 2 s. Upon reaching 20 min, the specified duration is reduced by a jump to 1 min, then a new cycle of its increase begins. Each step is marked by LED flashes. Short flashes (about 0,3 s) mean units of minutes, there can be from one to four. Long flashes (about 0,8 s) - five-minute intervals. For example, four short flashes - 4 minutes, long and three short ones - 8 minutes. three long and two short - 17 min.

When the desired duration is reached, the SB1 button is released. Approximately 5 seconds after that, the LED will indicate with one long flash that the set value has been written to the EEPROM of the microcontroller. Then the program continues to work in the "BASIC" mode.

If the program did not detect the pressed button immediately after power-up, it checks whether the "AUTO" mode was enabled in the previous cycles of operation. If not, the program switches to work in the "BASIC" mode. When the "AUTO" mode is enabled, a pause of 20 seconds is counted, during which the LED flashes. After it, the mirror heaters are turned on for the time specified and recorded in the EEPROM. While they are working, the HL1 LED shines continuously. By pressing the SB1 button, you can turn off the heaters and the LED before the specified time has elapsed. The described procedure is performed once each time the timer is turned on, after which the operation continues in the "BASIC" mode.

To enable or disable the "AUTO" mode, you must press the SB1 button after the power is turned on and hold it until the HL1 LED emits three long or short flashes. Long ones indicate that the mode is on, short ones indicate that it is off. The "AUTO" mode activation sign is stored in the EEPROM of the microcontroller. This mode is convenient to use in the off-season, when moisture settles on the mirrors in the morning or even frost appears, or drops remain on the mirrors after rain.

Microcontroller programs can be downloaded from ftp://ftp.radio.ru/pub/2013/02/t_mirror.zip.

Author: S.Kashutin

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

HDR-15/30/60 DIN rail power supplies 18.04.2017

Mean Well has developed a family of compact HDR DIN rail power supplies (HDR-15, HDR-30, HDR-60 series). Power supplies are available in three power outputs: 15,30 and 60 W with output voltages of 5/12/15/24/48 V with the ability to manually adjust and have a form factor that is widely used in building automation systems.

The feature of the new family of power supplies is compact size, the width of the case is 1SU, 2SU, 3SU for each power respectively (SU=17,5mm), while the height of the case is only 90mm.

The converters are characterized by high efficiency (up to 91%), low power consumption at idle (<0,3 W), operable in the temperature range of -30°С...+70°С and have class II protection against electric shock.

The HDR family is designed for systems in the field of industrial and domestic building automation, industrial control systems and other systems where compact DIN rail power supplies are required.

Other interesting news:

▪ Battery ZMI 20 25000 mAh

▪ Named the most difficult year in the history of mankind

▪ Explay Power phone with powerful battery

▪ Beer in orbit

▪ Crater in the desert

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ radio section of the website. Article selection

▪ article No fluff, no feather. Popular expression

▪ article Who wanted to create a helicopter powered by gunpowder? Detailed answer

▪ article Driver transporting people by truck. Standard instruction on labor protection

▪ article Spiral GP for low bands. Encyclopedia of radio electronics and electrical engineering

▪ article Solar cells and modules. Encyclopedia of radio electronics and electrical engineering

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