Over the past couple of months, several designs of NIXIE CLOCK watches were presented at the Habré. A characteristic feature of which is the output of time on gas-discharge indicators of the type IN12, IN18, IN17 and the like. On the Internet, I have seen many designs of such watches. There is something in them, some kind of soft and warm energy comes from them. I also fired up to do something like that. But not just just a watch so that they not only show the time, but also delight the eye. I want to share my thoughts not only in the circuitry of watches, but also the ideas that came to mind during the development of the design of watches. It seems to me that the appearance plays an important role. The thing should make you happy, create positive emotions, make life a little bit more colorful. I offer my structure to the readers. I accept the criticism positively. That's actually what a watch turned out: A little bit about the functional. They contain:
date display (year, month, day);
indication of time (hours, minutes, seconds);
indication of the days of the week;
alarm clock;
indication of the correction mode;
indication "Alarm set."
Only time and date are set, and an alarm is set. When setting the date, the day of the week is automatically determined. The number of days in months and a leap year are taken into account.
Power is supplied from a pulsed power supply unit 12 V. 0.3 A. Small and light. Type of such: The idea to power the device from a 12 V source is caused by two reasons:
Excluded mains bulky transformer
For security.
Not only is an anodic 180 V present in the circuit (under which, during adjustment, I repeatedly got a little pleasant). I did not want to delve into the board, where there is also 220 V !!!
In the circuit itself, to power the controller, a DC-DC step-down converter was implemented, and a step-up converter was used to power the anodes. MC34063 was used in both converters. In my opinion, these are wonderful chips, although they have been manufactured for a very long time. The circuits of these converters are not original and were taken from datasheets on these microcircuits. And here, actually, and the scheme of hours: Assembled like this: Some of you may reproach me: “Why did he not make a dynamic indication. This would significantly reduce the number of chips. ". And they will probably be right. The reason is pretty banal. Laziness mother. The fact is that the indicators were made much earlier. This is a board with two IN12 and two K155ID1. Under IN12 I did not find the panels, I had to solder it. And it was lazy to unsolder. And there was no shortage of ID1 and IR22. And to be honest, in the manufacture of these watches, the emphasis was not on the circuit design. The IN12 was used to indicate the time, the “neon” used to indicate the days of the week, which were torn from the ancient tube TVs. They stood there in the program selection blocks, if I am not mistaken, they were the INS-1. In case of power failure, an emergency source is provided in the clock. Indicators go out, but the clock continues to work. ')
Now about the alarm clock. I wanted to breathe some life into the clock. In the old Soviet phones of the last century, with dialing dialers, they used metal cups-bells for the call. So, in some models, these cups were made of a special alloy. They are yellow in color and look like bronze. Their sound is clear, transparent, “crystal”. And these same bells I decided to use for the alarm signal. In my opinion it turned out well. The device beating the bell, had to make yourself. For this, I used a coil from the relay. Relay at the right time attracts reed (pictured below) and throws striker. The sound of the cups can be adjusted by turning it around the axis (the axis of the bell is not located in the center). The case was made of plywood 10mm thick and veneered with mahogany veneer. I want to share the idea of writing on metal plates. I think that this method can be useful to anyone who is engaged in the manufacture of various "homemade", both amateur and professional. And it is not necessarily electronic devices. And the method is simple. I applied a film photoresist. The technology is the same as in the manufacture of printed circuit boards. I will not describe, the Internet is full of information on this subject, you can easily find it. I do not pretend to authorship, I think I have not thought of this alone.
Back cover: Front view: These are the nameplates:
The heart of the clock is the Atmel ATMega32 microcontroller. Clocked by quartz 4 MHz. For clocking the clock logic used clock quartz 32.768 KHz. The program did not cause much difficulty. First implemented the logic of the clock and calendar. Everything is simple - I consider second impulses. I counted 60 - increased the minute and so on. The number of days in months is known, except February, depending on the year. According to the formula, I determine leap year . I also consider the day of the week according to the formula . Along the way, I check the alarm clock, but then suddenly it is necessary to beat the bells. And at once I bring everything to the indicators. CPU time, all these operations take little, so the rest of the time I poll the buttons. There are four of them: UP, DOWN, MODE / ENTER, ALARM. Using the UP and DOWN buttons in the setting mode, I increase or decrease the adjustable parameter. In normal mode, any of them switches the display to the date display mode (4 seconds). MODE / ENTER - enters the clock in the mode of setting the time and date. All changes are applied by the same button. ALARM - sets the alarm, or turns it off if the alarm rings or just wants to turn it off beforehand. Low protection against "fool" - can not be installed manually, for example, on April 31, June 31, February 29 in a non-leap year, etc. But then I cheated a little - the year can be set only from 2000 to 2099 (there are two familiarities on the indicators), so it seemed to be enough. Although the code considers the year completely and, theoretically, the clock can take up to 2 ^ 16 years, it is not difficult to change it. Separately implemented the ringing of bells. Made such a similarity to the editor, that is, the melody itself is recorded in the form of durations (hit, release) for each cup. What for? I do not know. All the same, he calls all the “melodies” as “Din-Don” :).
I wrote everything in Atmel Studio 6 in assembly language. The code is available on github . The project is working, compiled.