This is a new and improved version of "Warm Tube Clock" - the open source Nixie clock project. Important hardware changes between this new version and the previous one are:
- Timekeeping is more accurate and is done by DS3231 (or DS3232) RTC IC - There is no DS18S20 temperature sensor - the internal one of RTC IC is used instead - Backup battery is not powering AVR anymore, but only the RTC IC - There is no "slide switch" to control the alarm - now it is done in firmware - Crystal on PCB is optional and can be chosen up to 16 MHz. It clocks AVR and GSCLK pin of TLC59401 IC - Pin-compatible with previous version of Nixie "shields"
All project files (schematics, PCB & source code) are available for download by clicking on the red download button under the article (open source hardware).
UPDATE: Project is on Hack-a-Day and Hacked Gadgets :-) ! UPDATE 06-03-2011: New firmware added. UPDATE 06-04-2011: I have received few e-mails about the KIT for this clock. Unfortunately I can't send KITs because of some crazy postal rules in my country, but I can send factory-made PCBs. If you are interested, send e-mail to: kit at elektronika.ba with subject: "warmtube pcb". UPDATE 06-08-2011:W. Brok sent list of parts for both clocks that you can order from Farnell here.
UPDATE 26-03-2014: Planning to order another PCB batch, so if you are interested please send an e-mail to kit at elektronika.ba.
New firmware options
1. time display 2. date display 3. temperature display 4. seconds display 5. configurable times of showing for all of above (for example, the clock can display time for 20 seconds, and move to next thing to display: date, temperature or both and go back to time. It can even be set to display only the temperature) 6. configurable Nixie tube brightness 7. configurable color of bottom RGB LEDs that blink at 1/2 Hz rate (or even turned off) 8. configurable color of bottom RGB LEDs while displaying date (or even turned off) 9. fading tubes while showing the date for better understanding of what is on display (MM.DD and YYYY) 10. Nixie tube saver option - this option turns off Nixie tubes at defined "sleep" time and turns them back on at defined "wakeup" time (for example, the clock can be configured to shutdown at 23:30 and turn back on at 07:30 in the morning) in order to prolong the life of tubes 11. alarm function with user-configurable melody with snooze function 12. user configurable snooze length with automatic snoozing so that the clock doesn't ring constantly forever if forgotten about 13. Nixie tube cross-fading with configurable fade speed 14. the famous "candle mode" for the romantic "touch" 15. cathode anti-poisoning on every 5 minutes 16. 12-hour and 24-hour mode for time and date, temperature conversion to Fahrenheit
main board v2 - top side
main board v2 - bottom side
Design changes This version of clock uses DS3231 RTC IC and is fully compatible with DS3232. There were few different methods of how this IC could have been used in this project. I chose to use it's SQW pin to generate an interrupt in AVR each second (1 Hz precisely). So, on every SQW impulse the AVR reads RTC data (I2C) from DS3231/2 to display on tubes and for other things. Note: you must solder the SMD jumper on PCB in order to use currently supplied firmware. This jumper connects SQW pin to AVR.
DS3231 RTC IC is now where "slide switch" used to be
Second method is much simpler - supply AVR's OSC1 (PB6) pin with 32 kHz output of DS3231/2 instead of using 32.768kHz crystal. This way the AVR would get extremely accurate 32.768 kHz clock for incrementing the Timer1 of previous version of firmware. In that case, no I2C routines would be necessary. Third method would be not to use SQW or the 32 kHz output, but to read RTC data (with I2C) in a program loop at all times. There is that SMD jumper on board so you can disconnect the SQW pin to use this method.
Part of the schematics with DS3231/2 RTC IC
Nixie shields New version of clock is pin-compatible with previous one, so it is possible to use shields of previous version on this one and vice-versa. In this new version of clock, IN-8 shield is replaced with IN-14 shield because these tubes are cheaper and easier to find.
IN-14 Nixie shield
TLC59401 is at the bottom side of IN-14 Nixie shield
Under the Nixie tubes there are 4 SMD RGB LEDs
These IN-14 tubes are same as IN-16, only much bigger.
HV voltage booster Voltage booster has remained the same. But if you are using (for example) 12 MHz crystal to clock the AVR, then the frequency of PWM signal is 46.875 kHz (FREQ/256). Using crystal of higher frequency will also result in a smoother RGB LED effects. You can experiment with the coil value and power supply to achieve minimum heating of the booster circuit. When powering clock with 11 V you can use coil of around 680 uH or even less (@ 12 MHz).
Nixie dots (semicolons) Nixie dots are actually ordinary neon indicators from a 110/220V switch as you can see in the picture bellow.
Hello, I have compiled this watch and ran into a problem with voltage fuse is lit, or a coil.
May have particular requirements for it .. Where I could make a mistake? Coil did not buy that
company, which is listed in the project ... Tried on 480 and 1200. The result is the same ...
Where to look for a mistake ... Thanks in advance. IP: 22.214.171.124
Hello, this is the best watch that I have seen. Please help .. Please tell me how to set the
fuse bits on the microcontroller, use AVRDude ... They know little while And about the throttle
.. What the best out there in the scheme The range of choice, and the photo on 1200uH Thank you
in advance ... IP: 126.96.36.199
Looks like the V1.0 tube shields will work with the V2.0 controller board...I hope so?....Can't
wait to get a set of the V2.0 boards...The new design is a vast improvement over the old
version....Thanx for all your work TRAX....regards... IP: 188.8.131.52