Turning on and off load on schedule

I propose to build one more electronic device designed to automate human life. It can be described as: at the specified time it switches on the load, and at the specified time it turns off, and the next day the cycle repeats. Those. If there is a need, for example, to turn on the light every day at 10:00 and turn it off at 21:00, this device will perfectly cope with this task. To use it, in addition to turning on the light, you can, for example, watering plants once a day.

Device layout

Enabling and disabling the load on a schedule
A few words about the scheme. It contains two chips, a clock DS1307 and an Attiny13 microcontroller. Two buttons "1" and "2" allow you to set the on and off time of the load. Transistor SS8050 on the circuit controls the relay, instead of it it is possible to put any low-power NPN transistor, for example, BC547, KT315. Instead of a relay, you can use a transistor switch if the load is powered by direct current.Between legs 3 and 4 of the DS3107 chip, a backup power supply of 3 volts is connected, i.e. ordinary watch battery. In the case of disconnecting the main power, the clock of the circuit will continue to go on and you will not have to set the time interval again. However, the circuit can work without a backup power source. Flashing LED L1 indicates that the circuit is working. Supply voltage - 12 volts.


The board is made using the LUT method using a piece of textolite measuring 55 x 30 mm. Photo board without soldered parts:
Enable and disable load on schedule
Chip for ease of use and reusability should be installed in the panels. Before installing it on the microcontroller board, you need to flash it, the firmware is attached to the article. When using a new microcontroller, it is not necessary to change its factory fusions (it must be clocked from the internal 9.6 MHz generator, the divisor by 8 is enabled).
Enable and disable load on schedule
Enabling and disabling load on a schedule

Setting time intervals

The process of setting the on and off times is betterjust explain with an example. Suppose you need to turn on the light bulb at 14:00 and turn off at 16:30. To do this, we wait until 14:00 and briefly press the “1” button, after that we wait for 16:30 and press the “2” button, the time setting process is over. Now the light will turn on every day at 2:00 pm and turn off at 4:30 pm.
Date: 09.10.2018, 12:38 / Views: 64485

Related News

And you know what high fashion is
Luminaire without power outlet: a great solution for the garden
How to make a blind area around a barn on an uneven site
Simple yarn bracelets without knitting
Why handicraft improves mood 6 good reasons
New technology of warming floors with penokleksom
How to blind a person from plasticine