You are on page 1of 5

hands-on clocks

Sputnik Time Machine


Nostalgia and
microcontroller
technology merged
in a single design
Dieter Laues

Sputnik 1, the first artificial satellite, was launched


in 1957. It captured the attention of the entire world
with the eerie beeps it transmitted, which could be
received by radio amateurs everywhere in the world.
Fifty years after this historic event, it seems fitting
to build a clock in the shape of the Sputnik satellite
that combines a nostalgic Nixie tube display with a
modern microcontroller.

Technology has changed a lot in recent electronic equipment. A Nixie tube is the company that developed them,
decades. Launching a satellite that a cold-cathode valve, which means it Haydu Brothers Laboratories.
simply transmitted a beep signal was does not have a heated filament. The
a major achievement in 1957, but now valve thus remains quite cool during
we routinely put satellites into orbit operation.
Schematic diagram
that can transmit hundreds of televi- The valve is also not evacuated, The clock is controlled by a small mi-
sion channels. but instead filled with a gas mix- crocontroller – an Atmel 89C2051,
This design uses a combination of ture consisting primarily of neon. If which has 2 KB of flash memory. The
modern and old-fashioned technolo- a sufficiently high voltage is applied digit cathodes of the Nixie tubes are
gy. The shape of the Sputnik and the to the electrodes, the gas molecules driven by type 74141 driver ICs. Al-
Nixie tubes are elements of old-fash- around the cathode become ionized though these ICs may appear to be
ioned technology, while the low-loss and emit light ranging in colour from standard TTL devices, they are spe-
switching regulators for the supply reddish-orange to purplish. The valve cially designed to handle the high
voltages and the microcontroller-based contains a separate cathode in the voltage level of Nixie tubes. Like the
control logic are examples of modern form of a numeral for each digit to be Nixie tubes, they are readily available
technology. displayed. through ‘regular’ commercial channels.
We thus strongly advise readers who
‘Nixie’ is a trademark name given to want to build this clock to first see
Nixie tubes these valves by the Burroughs Corpo- whether they can find these parts be-
Nixie tubes were introduced commer- ration, which incidentally didn’t actual- fore they invest in the rest of the hard-
cially in 1954 to display numbers in ly develop them but instead purchased ware. The first digit of the display,

42 elektor electronics - 1/2007


R1 R2 R3 R4

15k

15k

15k

15k
V1 A1 ZM1332 V2 ZM1332 V3 ZM1332 V4 ZM1332
A2

A1
A2

A1
A2

A1
A2
DPL

DPL

DPL

DPL
DPR

DPR

DPR

DPR
R5
K0
K1
K2
K3
K4
K5
K6
K7
K8
K9

K0
K1
K2
K3
K4
K5
K6
K7
K8
K9

K0
K1
K2
K3
K4
K5
K6
K7
K8
K9

K0
K1
K2
K3
K4
K5
K6
K7
K8
K9
100k
T2 T3 16 15 8 9 13 14 11 10 1 2 16 15 8 9 13 14 11 10 1 2 16 15 8 9 13 14 11 10 1 2

0 1 2 3 4 5 6 7 8 9 +5V 0 1 2 3 4 5 6 7 8 9 +5V 0 1 2 3 4 5 6 7 8 9 +5V


5 5 5

R14 R9
IC2 IC3 IC4
74141 12 74141 12 74141 12
10k

10k

A B C D A B C D A B C D
2x 3 6 7 4 3 6 7 4 3 6 7 4
MPSA42 +5V +5V

C9

C12 100n
20
10µ
25V
1
RST/VPP
IC1 12
AIN0/P1.0
2 13
P3.0/RXD AIN1/P1.1
3 14
P3.1/TXD P1.2
6 15
P3.2/INT0 P1.3
7 16
P3.3/INT1 P1.4
8 17
P3.4/T0 P1.5
9 18
P3.5/T1 P1.6
19
P1.7
11 AT89C2051
P3.7
X1 X2
R13 A 5 X1 4 10
S1
10k

C11 C10
B 180V

33p 12MHz 33p


D6
L2 BYV26C

R12 330µH
1Ω

IC5 4x 1N4002 IC6


6 +5V 6

1 5 R10 D3 D1 1 5 T1 R6
SWI COL COMP IN SWI COL COMP IN C8
L1
68k

750k
7 2 7 2
I SENS SWI EMI I SENS SWI EMI
330µH 10µ
8
MC34063 3 8
MC34063 3 350V
DRI COL TIM CAP DRI COL TIM CAP IRF820
R11 D4 D2 R8 R7
C3 C2 D5 C4 C1 C6 C5 C7
150 Ω
22k

5k6
4 4
100n 470p 470µ 1000µ 100n 100n
1N5819 16V 25V 470p

050018 - 11

Figure 1. The circuit of the Sputnik clock consists of a microcontroller, four Nixie tubes and their drivers, and two supply voltage regulators.

which shows tens of hours, is driven output voltage in the range of 14–25 V to the Nixie drivers. The tens of hours
by two discrete transistors instead of can be used. In addition, this power digit forms an exception here. As only
a driver IC – since only the numerals ‘1’ supply arrangement generates rela- the ‘1’ and ‘2’ have to be driven here,
and ‘2’ are necessary. tively little heat. This is important be- only two output lines are necessary.
cause the circuit is fitted in a closed There is only one user control, consist-
The power supply section consists of housing and would otherwise become ing of a pushbutton that can be used to
two independent switching regula- quite warm. set the time, adjust the brightness, and
tors, each of which is built around an display the software version number.
MC34063 general-purpose PWM regu- Refer to the inset for the details of the
lator IC. IC5 operates as a step-down
Software operator interface.
converter and provides +5 V for the The software is written in assem-
low-voltage portion of the circuit. IC6 bly language. This yields a very com- The brightness of the Nixie tubes is
operates as a step-up converter and pact program that implements a 24- controlled by varying the duty cycle
provides the high voltage for the Nixie hour clock, the user interface, display of the drive signals instead of vary-
tubes. FET T1 is included in the circuit brightness control, and smooth display ing the anode current. Every time the
because the MC34063 is not rated for transitions in just 568 bytes of code. minutes display changes, the clock
operation above 40 V. One of the ad- The clock operates on the usual princi- makes a smooth transition from the
vantages of not using conventional ple of dividing down the interrupt rate one number to the next. This is also
voltage regulators is that the circuit is of the timer interrupts. The information implemented using the variable duty
not choosy about the raw input volt- to be displayed in hours and minutes cycle. The duty cycle of the old number
age, so an AC mains adapter with an is output in BCD format via I/O ports decreases gradually while the duty cy-

1/2007 - elektor electronics 43


hands-on clocks

Use sockets for all of the ICs. Then turn the board over and
solder the Nixie tubes on the copper side of the board. It is
a good idea to trim the leads of the Nixie tubes stepwise
and then insert them in the holes in pairs starting with the
longest ones, since it is rather difficult to get all the leads
into the holes if they all have the same length. Align each
Nixie tube exactly perpendicular to be board before solder-
ing the leads.

Initial checkout
Start by fitting only the voltage regulator ICs (IC5 and IC6)
in the sockets, and check the polarity of C8 before plugging
in the AC mains adapter. Then use a meter to check the sup-
ply voltages. The voltage for the low-voltage portion must
be +5 V, and the voltage on C8 (for the Nixie tubes) must be
approximately +180 V. If everything’s OK, you can unplug
the AC adapter. Be sure to give C8 enough time to discharge
before proceeding further. (Caution: high voltage!)
After this you can fit the remaining ICs. After being powered
up or after a voltage dropout, the display shows a blinking
value of ‘0.00’. The default brightness value is set to ‘7’. The
time is shown in the European 24-hour format. A zero in the
first digit is not displayed, so this digit remains dark every
morning until 10 o’clock
Figure 2. The double-sided PCB has a round outline so it can be fitted in a plastic ball.
Mechanical construction
We know that electronics hobbyists often find it difficult to
do a nice job of fitting a circuit in a rectangular enclosure,
cle of the new number increases gradually. The brightness set- so how can we expect them to manage with a spherical
ting of the display is also maintained during this transition. enclosure? The answer is that it takes a certain amount of
skill and patience.
Construction Transparent plastic balls are available in hobby shops. For
Building the circuit should not present any particular difficul- this project, we used one with a diameter of 10 cm, consist-
ties. Only ‘standard’ components are used (no SMDs). Start ing of two hemispheres. In one of these hemispheres, we
by fitting all the parts on the component side of the board. drilled holes for the three legs (along the upper rim), the
control pushbutton (lower middle), and power supply con-
nector (diagonally to the rear). You must drill carefully. The
best results can be obtained using a drill press, but if neces-
Operating instructions sary you can manage with a battery-powered drill. Drill the
holes from the inside with the material supported on a firm
surface, since otherwise the plastic can crack. The legs are
Setting the time
made from aluminium rods, which you can buy in a DIY shop
1) Press and hold the button until the hours display starts blinking.
by the metre. Cut three lengths of 15 cm and bend one end
After this, the time will be advanced by 1 hour each time you press
of each rod in a vice (depth of bend approximately 2 cm) to
the button briefly.
give them the right shape. The angle of the bend should be
2) Press and hold the button until the minutes display starts blinking.
approximately 100 degrees. The sharper the bend, the closer
After this, the time will be advanced by 1 minute each time you press
the legs will be together in the assembled clock. The legs
the button briefly.
must all have the same shape (as close as you can manage),
3) Press and hold the button until the display returns to non-blinking
since otherwise the finished clock will stand crooked. After
mode. The seconds are set to 0 at this time. bending the ends of the legs to the right angle, cut a 4-mm
Setting the brightness thread on the short end of each leg.
Press the button briefly. The current brightness setting will be dis-
played. The brightness setting is increased by 1 each time the button Cut a round cover plate for the circuit board from a sheet of
is pressed briefly, from 01 (minimum) to 09 (maximum). The clock plastic. Make a hole for the fastening screw in the middle
returns to the time display mode if the button is not pressed for sev- and four larger holes for the display.
eral seconds. Before assembling the clock, paint the bottom hemisphere
Displaying the version number and (if you wish) the cover plate. Spray-paint canisters avail-
With the AC mains adapter unplugged, press and hold the button able in DIY model shops are quite suitable for this. After
while plugging in the adapter. The version number of the software
painting the ball black, you can use silver paint to give it a
will then be displayed (such as ‘1.07’). After releasing the button,
‘starry sky’ effect by pressing the spray button very lightly.
you can set the time as described above.
You can also use an airbrush to create attractive effects. Here
you can give your creativity free rein, but make sure the paint

44 elektor electronics - 1/2007


Figure 3. Top and bottom sides of the assembled circuit board.

the circuit board with flexible wire


leads. Finally, align the circuit board
Web links
so it is level and solder it in place on Mike’s Gallery – a collection of several types
the three copper wires, and then fit the of Nixie clocks
cover board. www.electricstuff.co.uk/nixiegallery.html
After checking to ensure that every- A recording of the original Sputnik beeps
thing works properly, you can fit the www.muenster.de/~dambergj/Sputnik.htm
top half of the ball.
(050018-1)
you
use is com-
patible with the plastic
of the ball – otherwise you may end up
COMPONENTS Inductors
L1,L2 = 330µH
with an unattractive, spotty surface.
You can also use a transparent cov-
LIST Semiconductors
er coat to protect the paint against Resistors D1,D2,D3,D4 = 1N4003
R1,R2,R3,R4 = 15kΩ D5 = 1N5819
scratching. Another option is to paint
R5 = 100kΩ D6 = BYV26C
the inner surface of the ball. Although R6 = 750kΩ T1 = IRF820
the colours may not be as bright with R7 = 5kΩ6 T2,T3 = MPSA42
this option, the paint coating is abso- R8 = 150Ω IC1 = 89C2051, programmed, order code
lutely scratch-resistant. R10 = 68kΩ 050018-41
After the painting is finished, you can R11 = 22kΩ IC2,IC3,IC4 = 74141
R12 = 1Ω IC5,IC6 = MC34063
assemble the clock Thread an M4 nut R13,R14,R15 = 10kΩ
onto each of the three legs and then fit
Miscellaneous
the ends of the legs through the holes Capacitors Q1 = 12.000MHz quartz crystal
in the ball. Secure each of them with C1 = 1000µF 25V
AN1,AN2,AN3,AN4 = ZM1332
a second M4 nut on the inside. Before C2 = 470pF
IC sockets: 2 off DIL 8-pin; 3 off DIL 16-
C3 = 100nF
tightening the inner nut, fit a length of pin; 1 off DIL 20-pin
C4 = 470µF 16V
copper wire with a loop formed on one C5 = 470pF PCB, ref. 050018-1 from ThePCBShop
end. Later on, you can solder the circuit C6 = 100nF Source and hex code files, free download
board to these three wires to secure it C7 = 100nF # 050018-11.zip from project page at
in the enclosure. C8 = 4.7µF 400V www.elektor-electronics.co.uk
C9 = 100nF Drilling templates, free download #
C10,C11 = 33pF 050018-W.zip, from project page at
Next, fit the power supply socket and C12 = 10µF www.elektor-electronics.co.uk
the pushbutton and connect them to

1/2007 - elektor electronics 45


The third sentence under the heading ‘Schematic diagram’ should be modified to read:
Although these ICs may appear to be standard TTL devices, they are specially designed to handle
the high voltage level of Nixie tubes. Like the Nixie tubes, they are not readily available through
‘regular’ commercial channels.

Tthe 74141 TL ICs for the Sputnik Timer Machine clock (January 2007, Ed.), are available from us
under order number HLT0579. Suitable Nixie tubes like the types Z590M and B5870 are also in
stock.
Further offers relating to Nixie clocks are found on the website http://www.askjanfi rst. com/r5.htm

In the components list, ‘R15’ should read ‘R9’. Capacitor C8 is listed as 4µF7 400V, but appears as
10µF/350V in the schematic. Either value will work as only little current is drawn from the
highvoltage supply, and even 4µF7/180V will work in this circuit.

You might also like