You Are Here: Home » AVR ATmega Projects » Nixie Clock with AVR using ATmega48 microcontroller

Nixie Clock with AVR using ATmega48 microcontroller


 This is the hardware and source code for an Atmel ATmega48 based four digit Nixie Tube Clock.


This was my second Nixie clock project. I wanted something a little smaller / cheaper / simpler then my rather large B-7971 clock. I will post the design for that one of these days. I was trying to simplify everything. And basically wound up with a one chip solution, … the micro itself does just about everything.

The Nixie tubes are relatively cheap and available (Ebay) Russian IN-17s.

Discrete transistors drive the tubes in a 1×4 mux arrangement. Needs 15 I/O lines from the processor.

No external RTC chip. Saw no need for 10 years backup with a lithium battery. Really just wanted a few hours to handle the typical short term power outages I get so I don’t have to reset the time too often. The mega48 has some very low power operations and support for an asynchronous xtal clock that’s perfect for RTC functions. This alone makes the  newer Atmels more attractive for clock designs.  A relatively small ‘supercap’ provides back up power during mains outages (8-12 hours).

The high voltage is generated with an fet and inductor connected to one of the PWM outputs on the chip. The voltage is measured via one of the A/D channels, and the PWM value is adjusted to provide regulation. The voltage van be adjusted via push buttons during set up and the value is stored in non-volatile memory (no voltage adjustment pot)


nix tubes


nix pcb top


No alarm / speaker / temperature / Westminster chimes on this design,  I wanted simple.

Two push buttons provide a user interface to set time and options.

A simple extruded aluminum case finishes the design.


For more detail: Nixie Clock with AVR using ATmega48 microcontroller

Leave a Comment

You must be logged in to post a comment.

Read previous post:
Atmel AT89C2051 hardware keylogers circuit with using AT89C2051 microcontroller

Atmel On the PC keyboard PS 2 AT89C2051 keylogers circuit connection cable connects to the circuit between what is written in...

Scroll to top