Hacked Gadgets Forum

September 2, 2009

Single Nixie Tube Clock

at 12:41 pm. Filed under Complex Hacks, Cool Gadgets, Electronic Hacks

 

There is something very cool about clocks, you have constantly changing information that your design needs to represent. This Single Nixie Tube Clock is a very interesting clock design, it uses a low voltage plug in wall transformer and makes the high voltage needed for the clock on the circuit board. We have seen lots of cool tube clocks in the past and this one is sure to not be the last.

"With PIC microcontroller I used a "watch" crystal at 32,768kHz. It’s value is pretty cool and now we will see why. PIC16F84 has internal TMR0 counter that increments itself no matter what the PIC is doing at the moment. Think of it as a threaded sub-program. This counter can generate an interrupt when it’s value overflows from 255->0. We can also prescale this counter to slow it down a bit so we can make it generate an interrupt on every 2, 4, 8, 16, 32, 64, 128 or 256 overflows. So, when we finally connect our 32,768kHz crystal on PIC microcontroller, we should also know that the speed it runs at is divided by 4 and this characteristic is only found with PIC microcontrollers. This all means that our PIC runs at 8,192kHz which tells us that TMR0 will overflow 32 times per second. Now when we prescale it by 32 it means that it will overflow once per second and generate us an interrupt."