home - Recovery
How to make a lamp clock with your own hands. Clock on gas-discharge indicators

This article will focus on making original and unusual watches. Their uniqueness lies in the fact that the time is indicated using digital indicator lamps. A huge number of such lamps were once produced, both here and abroad. They were used in many devices, from watches to measuring equipment. But after the appearance LED indicators lamps gradually fell out of use. And so, thanks to the development of microprocessor technology, it became possible to create watches with a relatively simple circuit using digital indicator lamps. I think it would not be amiss to say that mainly two types of lamps were used: fluorescent and gas-discharge. The advantages of luminescent indicators include low operating voltage and the presence of several discharges in one lamp (although such examples are also found among gas-discharge indicators, but they are much more difficult to find). But all the advantages of this type lamps have one huge disadvantage - the presence of a phosphor, which burns out over time, and the glow dims or stops. For this reason, used lamps cannot be used.

Gas-discharge indicators are free from this drawback, because a gas discharge glows in them. Essentially, this type of lamp is a neon lamp with multiple cathodes. Thanks to this, the service life of gas-discharge indicators is much longer. In addition, both new and used lamps work equally well (and often used ones work better). However, there are some drawbacks; the operating voltage of gas-discharge indicators is more than 100 V. But solving the problem with voltage is much easier than with a burn-out phosphor. On the Internet, such watches are common under the name NIXIE CLOCK.

The indicators themselves look like this:

So, about design features Everything seems clear, now let's start designing the circuit of our watch. Let's start by designing a high-voltage voltage source. There are two ways here. The first is to use a transformer with a secondary winding of 110-120 V. But such a transformer will either be too bulky, or you will have to wind it yourself, the prospect is so-so. Yes, and voltage regulation is problematic. The second way is to assemble a step up converter. Well, there will be more advantages here: firstly, it takes up little space, secondly, it has short-circuit protection, and thirdly, you can easily adjust the output voltage. In general, there is everything you need to be happy. I chose the second path, because... I had no desire to look for a transformer and winding wire, and I also wanted something miniature. It was decided to assemble the converter on MC34063, because I had experience working with her. The result is this diagram:

It was first assembled on a breadboard and showed excellent results. Everything started immediately and no configuration was required. When powered by 12V. the output turned out to be 175V. The assembled power supply of the watch looks like this:

A linear stabilizer LM7805 was immediately installed on the board to power the clock electronics and a transformer.

The next stage of development was the design of the lamp switching circuit. In principle, controlling lamps is no different from controlling seven-segment indicators, with the exception of high voltage. Those. It is enough to apply a positive voltage to the anode and connect the corresponding cathode to the negative supply. At this stage, two tasks need to be solved: matching the levels of the MK (5V) and lamps (170V), and switching the cathodes of the lamps (they are the numbers). After some time of thought and experimentation, the following circuit was created to control the anodes of the lamps:

And controlling the cathodes is very easy; for this they came up with a special K155ID1 microcircuit. True, they have long been discontinued, like lamps, but buying them is not a problem. Those. to control the cathodes, you just need to connect them to the corresponding pins of the microcircuit and submit data in binary format to the input. Yes, I almost forgot, it is powered by 5V, well, a very convenient thing. It was decided to make the display dynamic because otherwise, you would have to install K155ID1 on each lamp, and there will be 6 of them. The general scheme turned out like this:

Under each lamp I installed a bright red LED, it’s more beautiful. When assembled, the board looks like this:

We couldn’t find sockets for the lamps, so we had to improvise. As a result, the old connectors, similar to modern COM, were disassembled, the contacts were removed from them, and after some manipulations with wire cutters and a needle file, they were soldered into the board. I didn’t make panels for the IN-17, I did them only for the IN-8.

The hardest part is over, all that remains is to develop a circuit for the “brain” of the watch. For this I chose the Mega8 microcontroller. Well, then everything is quite easy, we just take it and connect everything to it in the way that is convenient for us. As a result, the clock circuit included 3 buttons for control, a DS1307 real-time clock chip, a DS18B20 digital thermometer, and a pair of transistors for controlling the backlight. For convenience, we connect the anode keys to one port, in this case it is port C. When assembled, it looks like this:

There is a small error on the board, but it has been corrected in the attached board files. The connector for flashing the MK is soldered with wires; after flashing the device, it should be unsoldered.

Well, now it would be nice to draw a general diagram, once said and done, here it is:

And this is what it all looks like assembled:

Now all that remains is to write the firmware for the microcontroller, which is what was done. The functionality turned out to be as follows:

Display time, date and temperature. When you briefly press the MENU button, the display mode changes.

Mode 1 - time only.

Mode 2 - time 2 min. date 10 sec.

Mode 3 - time 2 min. temperature 10 sec.

Mode 4 - time 2 min. date 10 sec. temperature 10 sec.

When held, the time and date settings are activated, and you can navigate through the settings by pressing the MENU button.

The maximum number of DS18B20 sensors is 2. If the temperature is not needed, you can not set them at all; this will not affect the operation of the watch in any way. The sensor is not hot plugged.

Briefly pressing the UP button turns on the date for 2 seconds. When held, the backlight turns on/off.

By briefly pressing the DOWN button, the temperature is turned on for 2 seconds.

From 00:00 to 7:00 the brightness is reduced.

The whole thing works like this:

Firmware sources are included with the project. The code contains comments so it will not be difficult to change the functionality. The program is written in Eclipse, but the code compiles without any changes in AVR Studio. The MK operates from an internal oscillator at a frequency of 8 MHz. Fuses are set like this:

And in hexadecimal like this: HIGH: D9, LOW: D4

Also included are boards with bugs corrected.

This clock operates for a month. No problems were identified in the work. The LM7805 regulator and converter transistor are barely warm. The transformer heats up to 40 degrees, so if you plan to install the watch in a case without ventilation holes, you will have to use a higher power transformer. In my watch it provides a current of around 200mA. The accuracy of the movement is highly dependent on the quartz used at 32.768 KHz. It is not advisable to install quartz purchased in a store. The best results were shown by quartz from motherboards and mobile phones.

In addition to the lamps used in my circuit, you can install any other gas-discharge indicators. To do this, you will have to change the board layout, and for some lamps the voltage of the boost converter and the resistors on the anodes.

Attention: the device contains a high voltage source!!! The current is small, but quite noticeable!!! Therefore, be careful when working with the device!

One of the assembly options of this project:

List of radioelements

Designation Type Denomination Quantity NoteShopMy notepad
Gas discharge indicatorIN-84 To notepad
Gas discharge indicatorIN-172 To notepad
CPU MK AVR 8-bit

ATmega8

1 To notepad
Real Time Clock (RTC)

DS1307

1 To notepad
temperature sensor

DS18B20

2 To notepad
DD1 ChipK155ID11 To notepad
IC1 DC/DC pulse converter

MC34063A

1 To notepad
VR1 Linear regulator

LM7805

1 To notepad
VT1-VT6 Bipolar transistor

MPSA92

6 To notepad
VT7-VT12 Bipolar transistor

MPSA42

6 To notepad
VT13, VT14 Bipolar transistor

BC847

2 To notepad
VT15 Bipolar transistor

KT3102

1 To notepad
VT16 Bipolar transistor

KT3107A

1 To notepad
VT17 MOSFET transistor

IRF840

1 To notepad
VDS1 Diode bridge 1 To notepad
VD1 Rectifier diode

HER106

1 To notepad
HL1-HL6 Light-emitting diode 6 To notepad
C1 100 µF1 To notepad
C2, C3-C5, C7, C9, C11 Capacitor0.1 µF7 To notepad
C6, C8 Electrolytic capacitor1000 µF2 To notepad
C10 Capacitor510 pF1 To notepad
C12 Electrolytic capacitor4.7 µF 400V1 To notepad
R1-R4, R6-R8 Resistor

4.7 kOhm

7 To notepad
R5, R9-R14, R27-R32, R42 Resistor

10 kOhm

14 To notepad
R15, R17, R19, R21, R23, R25, R45 Resistor

1 MOhm

7 To notepad
R16, R18, R20, R22, R24, R26 Resistor

13 kOhm

6 To notepad
R33, R34 Resistor

Tube clock in the style of the well-known game "Fallout". Sometimes you wonder what some people are capable of. Fantasy, coupled with straight arms and a clear head, works wonders! Well, it’s time to start talking about a real work of art :)

In his product, the author uses only output components, tracks on a printed circuit board with a width of at least 1 millimeter, which, in turn, is very convenient for beginners and inexperienced radio amateurs. The entire circuit is on a single board, the component values ​​and the components themselves are indicated. Since the author of the product could not decide on the color LED backlight lamps, it was decided to use the PIC12F765 controller to adjust the RGB LEDs. Incandescent lamps are also used to provide a cozy glow to illuminate the instrument panel and ammeter. Some parts and the case itself were taken from the old (1953 release) Soviet TT-1 multimeter. I would like to use only original parts from this multimeter, so it was decided to keep the ammeter with the instrument panel, and plug gas-discharge indicators into the place under the cover. But the first problem arose - there was too little space under the lid for the indicators, so the lid simply could not close with the indicators inside. But the author found a way out - to slightly recess the panel into the housing and make the ammeter a little smaller in volume.

The hefty ferrite magnet was replaced by two miniature neodymium ones, in general, the author removed all unnecessary parts to make room for the filling, while maintaining the functionality of the TT-1. The ammeter is planned to be connected to the MK leg, which regulates the supply of current to the anode of the sixth lamp, which is responsible for displaying the seconds, so the hand will move in time with the changing seconds on the lamp.


The author used a 0.8A toroidal transformer to convert 220 Volts to 12 Volts. It's a pity that the transformer couldn't be placed outside the case, because it fits the design of Fallout so much.


The board is made according to LUT technology standards. Designed according to the body dimensions.


The author pays special attention to the DS1307 clock chip. In the photo it is in a DIP package, but the wiring for this microcircuit is made like for SMD, so the legs are turned in the other direction, and the microcircuit itself is stuck belly up. Instead of K155ID1, KM155ID1 was used; the author claims that only with the replaced part was it possible to avoid glare. Placement of elements on the board:



The author has assembled a simple LPT programmer for programming K ATMega8 (firmware for ATMega8, all boards, firmware for PIC at the end of the article)


PIC programmer:



IN-14 gas-discharge indicators have long soft leads for soldering, but due to their limited resource, it was decided to make them easily replaceable. Therefore, the author used collets from the DIP chip panel, and shortened the IN-14 legs to the depth of the collets. The holes in the center of the sockets are made specifically for LEDs, which are located under the lamps on a separate board. The LEDs are connected in parallel, one resistor serves to limit the current per color.


This is what gas-discharge indicators look like, mounted in an aluminum corner.
The fastening, which is an aluminum corner, is etched in ferric chloride, because of this it has aged very visually, which gives it more ambiance. As it turned out, aluminum reacts very violently with ferric chloride: a very large amount of chlorine and heat are released. Of course, the solution after such tests is no longer suitable for use.


Other parts were made using similar technology (LUT) (the fallout-boy logo, Vault-Tec, as well as the number HB-30YR). The device was intended as a gift to a friend for his 30th birthday. For those who don't understand, the number HB-30YR stands for Happy Birthday - 30 YeaRs :)



The author used a nichrome spiral with antennas F-type connectors at the ends for routing wiring between the housing and the cover. Fortunately, there were 6 holes on the panel in the right place, and they served as connectors for the wire leads.


Hours before full assembly. The wires, of course, are not routed neatly, but this will not affect the functionality in any way.


Power cable. Some old military connectors. The author made the adapter for the plug himself.



Power cable connector, as well as a fuse on the surface of the case at the bottom.


View of the device in a closed state. Indeed, it is not much different from the TT-1.



General view of the device.


Limiter to prevent the lid from tipping back.



The watch looks best in the dark.


I welcome users again and keep my promise!

Today I’m starting to post a detailed photo report on watch making on gas discharge indicators(GRI). The IN-14 is taken as the basis.

All manipulations in this and the following posts are accessible to a person without experience, you just need to have a little skill. I will divide the work into several parts, each of which will be described in detail by me and posted online.

Let's proceed to the first stage - etching the boards. After researching the literature, I found several technologies:

  1. . To work you need three components: laser printer, ferric chloride and iron. The method is the simplest and cheapest. It has only one drawback - it is difficult to transfer very thin tracks.
  2. Photo resist. To work, you need the following materials: photo-resist, printer film, soda ash and a UV lamp. The method allows you to etch boards at home. The downside is that it is not cheap.
  3. Reactive ion etching (RIE). The work requires chemically active plasma, so it cannot be done at home.

Most often, anodic etching is used. The anodic etching process involves the electrolytic dissolution of the metal and the mechanical removal of oxides by the released oxygen.

It is quite understandable that I chose the LUT method for etching the boards. Scroll necessary equipment and materials should look something like this:

  1. Ferric chloride. It is sold in radio products at a price of 100-150 rubles per jar.
  2. Foil fiberglass. Can be found in radio stores, radio flea markets or factories.
  3. Capacity. A regular food container will do.
  4. Iron.
  5. Glossy paper. Self-adhesive paper or a plain page from a glossy magazine will do.
  6. Laser printer.

IMPORTANT! The print version must be a mirror image, since when the image is transferred from paper to copper, it will be reflected back.

You need to mark and cut a piece of PCB for the board. This is done with a hacksaw, a breadboard knife or, as in my case, a drill.

After that, I cut out a sketch of the future board from paper and attached the design to the textolite (on the foil side). The paper is taken with a reserve in order to wrap the PCB. We secure the sheet on the reverse side with tape to secure it.

From the side of the drawing, we draw across the future board with an iron several times through sheet A4. It will take at least 2 minutes of intense ironing to transfer the toner to copper.

We place the workpiece under a stream of cold water and easily remove the paper layer (the wet paper should come off freely on its own). If the surface heating was not sufficient, small pieces of toner may come off. We finish them with cheap nail polish. As a result, the blank for the board should look like this:

In a prepared container, prepare a solution of ferric chloride and water. It is better to use hot water for these purposes, this will increase the reaction rate. It is better to avoid boiling water, as high temperatures will deform the board. The finished liquid should have the color of medium-brewed tea. We place the board in the solution and wait for the excess foil to completely dissolve.

If you occasionally stir the solution in the container, the reaction rate will also increase. Ferric chloride is not dangerous for the skin of your hands, but your fingers may become stained.

To make the process more clear, I partially placed the board in the solution. What changes should happen can be seen in the photo:

Excess copper dissolves in the composition after about 40 minutes. After which the etching process can be considered complete. All that remains is to make a few holes. We mark with an awl and drill small holes with a drill. The tool must operate at high speeds so that the drill does not move out. The result should look something like this:

The second stage of making watches using GRI is soldering the components. I will talk about this in my next post.

Download:

  1. Program ).
  • Post about soldering components - ;
  • Post about microcontroller firmware – ;
  • Post about making the case - .

Convenient fringe cutter for transformers. Soldering iron heating regulator with power indicator

Hi all. I want to tell you about my recent “craft,” namely a clock with gas-discharge indicators (GDI).
Gas discharge indicators have long since sunk into oblivion; personally, even the “newest” ones are older than me. GRIs were used mainly in watches and measuring instruments, later they were replaced by vacuum-luminescent indicators.
So what is a GRI lamp? This is a glass container (it's a lamp!) filled inside with neon with a small amount of mercury. Inside there are also electrodes curved in the form of numbers or signs. The interesting thing is that the symbols are located one after another, therefore, each symbol glows at its own depth. If there are cathodes, there must also be an anode! - he is one for all. So, in order to light a certain symbol in the indicator, you need to apply a voltage, and not a small one, between the anode and cathode of the corresponding symbol.
For reference, I would like to write how the glow occurs. When a high voltage is applied between the anode and cathode, the gas in the lamp, which was previously neutral, begins to ionize (i.e., a positive ion and electron are formed from the neutral atom). The resulting positive ions begin to move towards the cathode, and the released electrons begin to move towards the anode. In this case, the electrons “along the way” additionally ionize the gas atoms they collide with. As a result, an avalanche-like ionization process occurs and electricity in the lamp (glow discharge). So now the most interesting thing, besides the ionization process, i.e. formation of a positive ion and electron, there is also a reverse process, called recombination. When a positive ion and an electron “turn” back into one! In this case, energy is released in the form of a glow, which we observe.
Now directly to the clock. I used IN-12A lamps. They have a not quite classic lamp shape and contain symbols 0-9.
I bought a fair amount of lamps that were not used!

So to speak, so that there is enough for everyone!
It was interesting to make a miniature device. The end result is a fairly compact piece.
The case was cut on a laser machine from black acrylic according to a 3D model, which I made based on printed circuit boards:



Device diagram.
The clock consists of two boards. The first board contains four IN-12A lamps, a K155ID1 decoder and optocouplers to control the lamp anodes.


The board also has inputs for connecting power, controlling optocouplers and a decoder.
The second board is the brain of the clock. It contains a microcontroller, a real-time clock, a 9V to 12V conversion unit, a 9V to 5V conversion unit, two control buttons, a buzzer and the outputs of all signal wires that match the display board. The real-time clock has a backup battery, which prevents time loss when the main power is turned off. Power is supplied from a 220V-9V unit (200mA is sufficient).





These boards are connected using a pin connector, but not by insertion, but by soldering!





The whole thing comes together this way. First, a long screw M3*40. A tube from a 4mm air hose fits onto this screw (it is dense and suitable for holding printed circuit boards, I use it very often). Then there is a stand between the printed circuit boards (printed on a 3D printer) and then a brass through nut tightens it all. And the back wall will also be fastened with M3 bolts to through brass nuts.




During assembly, this unpleasant feature became clear. I wrote the firmware, but the clock refused to work, the lamps flickered in an incomprehensible order. The problem was solved by installing an additional capacitor between +5V and ground right next to the microcontroller. You can see it in the photo above (installed it in the programming connector).
I am attaching project files in EagleCAD and firmware in CodeVisionAVR. You can upgrade if necessary for your own purposes)))
Firmware for the watch is done quite simply without any bells and whistles! Just a watch. Two control buttons. One button is “mode”, the second is “settings”. By pressing the “mode” button for the first time, only the numbers responsible for the hours are displayed; if you press “settings” in this mode, the hours will begin to increase (when they reach 23 they are reset to 00). If you click on “mode” again, only the minutes will be displayed. Accordingly, if you click “setup” in this mode, the minutes will also increase in a “circular” order. When you click on “mode” again, both hours and minutes are displayed. When changing the hours and minutes, the seconds are reset.

DIY clock with IN-14 lamps

I have long wanted to post an article on making DIY watches with IN-14 lamps, or as they say, a watch in the steam punk style.

I will try step by step and stopping at key points state only the most important things. The clock indication is clearly visible both day and night, and they themselves look very nice, especially in a good wooden case. Anyway, let's get started.

Device diagram (to enlarge - like everywhere else - click):

This watch has IN-14 gas-discharge indicators. They can also be replaced with IN-8, naturally taking into account the differences in pinout. The indicator pins are numbered clockwise from the pin side. For IN-14, pin 1 is indicated by an arrow.


Watch characteristics:

Supply voltage, V 12
Current consumption, no more, mA 200
Typical current consumption, mA 150
Type indicators IN-14
Time display format Hours\Minutes\Seconds
Date display format Day month Year
Number of control buttons 2
Alarm clocks 2
Discreteness of setting the alarm time, min 5
Software gradations for adjusting the brightness of indicators 5

Atmega8 microcontroller in TQFP package. The clock does not work with a controller in a DIP package. Real time clock DS1307. The sound emitter has a built-in generator and a supply voltage of 5V. All necessary project files - board, controller firmware - download

Fuses:


More photos:


The boost voltage converter is based on the MC34063A chip. (MC33063A). In terms of prevalence and cost, it is somewhat inferior to the 555 timer, on which such a converter can be built, but it is cheaper and more accessible than the MAX1771.

Non-polar capacitors are ceramics, polar capacitors are Low ESR electrolytes. If Low ESR is not available, place ceramics or film parallel to the electrolyte. The choke in the boost converter is 220 µH for a current of 1.2A. The minimum rated inductor value is 180 µH, the minimum rated inductor current is 800 mA.


Two K155ID1 housings operate as decoders. The anode voltage switch uses a TLP627 optocoupler. The values ​​of R23 and R24 must be selected independently, depending on the degree of luminescence. Without them, the currents through the points exceed permissible level. When installing, we do not push the indicators all the way in. Since the housings of all indicators are individual, they will need to be aligned relative to printed circuit board and among themselves.

Clock control on IN-14:

The transition from mode to mode occurs along the ring with the button "MODE".

The value is set using the button "SET".

The adjusted value either blinks or is brighter.

Setting the seconds value involves resetting them to zero.

Setting the value of minutes, hours, day, month, year consists of adding 1 to the current value along the ring to the maximum value, after which the value is reset.

The alarm clock minutes are set from zero in increments of 5 minutes (00-05-10-15:55).

If the watch is not in the main mode and you stop pressing the buttons, then after a few minutes the watch returns to the main mode.

Cancel sound signal alarm clock is activated by button "SET".

In this case, the next time the alarm time is reached, the alarm will be activated. Commas in tens and units of seconds indicate the activity of alarms 1 and 2, respectively. The operating modes of the clock are shown in the table. Red symbolizes brightly lit discharges, orange indicates dimly illuminated discharges, and black indicates extinguished discharges. For time: H - hours, M - minutes, S - seconds. For the date: D - day of the month (day), M - month, G - year. To set an alarm: 1 - alarm 1, 2 - alarm 2, X - no value (switched off).

First switching on, controller programming and setup. First check that the clock circuit is installed correctly. Then check the power circuits for short circuit. If not found, try applying power to the input from a 12V source. If smoke does not come out, check the voltage of the power supply circuit D5V0. Using trimmer resistor RP1, set the output of the boost converter to a voltage of 200V (for the indicated ratings). Wait a few minutes. The circuit elements should not heat up noticeably. This is especially true for the inductor of a high-voltage converter. Its overheating indicates an incorrectly selected rating or a design with too low operating current. This throttle must be replaced with a more suitable one.


From now on, you will need a VT1 battery type CR2032. As a last resort, short-circuit the contacts of the battery socket, but then you will set the time and date every time the power supply is cut off.


Program sequentially Flash And EEPROM microcontroller using the supplied firmware. This operation must be done in the specified sequence. The indicators will show " 21-15-00 ". The seconds will tick by. If you still haven't connected BT1, then instead of the time and date you will see something like " 05-05-05 ".

Set the time, date, and alarms in accordance with the table describing operating modes. When you get to the brightness setting, programmatically turn on the minimum brightness of the indicators. Adjust the boost converter so that each of the indicators glows at minimum brightness, but fully. That is, it should not be the case that part of the indicator digit is lit and part is not. Then programmatically set the maximum brightness and check the glow of the indicator numbers.

The indicators should not glow too brightly, and there should be no “volumetric” glow. Brightness correction is again done using RP1. After this, check the glow again at minimum brightness and so on until acceptable results are obtained. If acceptable results are not obtained, try to select the values ​​of the anode resistors and repeat the above steps.

Such watches will compare favorably with ordinary Chinese ones, based on LEDs, which, by the way, cost a lot of money.

Video of work in our VK group



 


Read:



How to set and set up a reminder on iPhone How to set a reminder on iPhone 8

How to set and set up a reminder on iPhone How to set a reminder on iPhone 8

One of the oldest features of the iPhone, which not every owner of the gadget uses, is a reminder of birthdays and memorable dates....

How to enter a military personnel’s personal account without registration - instructions

How to enter a military personnel’s personal account without registration - instructions

An employee today has the opportunity to use a convenient and official resource on the Internet, which will allow him to quickly view the following data:...

Military serviceman's office personal entrance without registration, by personal number

Military serviceman's office personal entrance without registration, by personal number

Starting from mid-2012, the payslip, in other words, all money transferred to the serviceman is displayed in the appropriate section on...

Personal computer device

Personal computer device

What do you, dear reader, know about a computer? Of course, the completeness and depth of your answer will depend on many factors. Some of you...

feed-image RSS