Page 1 of 1

Nixie tube countdown timer

Posted: Fri Nov 19, 2021 10:59 pm
by OgreVorbis
I needed a simple countdown timer (like kitchen timer). You enter the time in minutes 1 - 59 and it counts down and shows on a nixie tube clock.
It's just a virtual timer for your desktop. This is the beginning of a clock app I'm making. The other app will be an actual nixie clock, not a timer. It will also have other clocks.

If you want to mod this to exceed the limit of 59 minutes, I would love that, but I'm not sure how. It will have to draw some more tubes for that.

Image

Anyway, here's the code for quick reading:
https://pastebin.com/BfvHmDLF

But to use it, you will need this archive containing everything:
https://drive.google.com/uc?export=down ... iq5gbsYuFG

Re: Nixie tube countdown timer

Posted: Sat Nov 20, 2021 1:38 am
by GoodNPlenty
Nicely done. Thank You for sharing.

Re: Nixie tube countdown timer

Posted: Sat Nov 20, 2021 2:22 pm
by OgreVorbis
GoodNPlenty wrote: Sat Nov 20, 2021 1:38 am Nicely done. Thank You for sharing.
You're welcome.

BTW, I am aware that the numbers move around a tiny bit, like 1px, as they change. This seemingly can't be fixed. I spent a long time aligning the tube's image files perfectly and for some reason, they look different. It's good enough for me though.

You can drag it around. The only part that is not obvious is that to close it, you need to right click the taskbar tab and click close window.

Re: Nixie tube countdown timer

Posted: Sat Nov 20, 2021 7:58 pm
by OgreVorbis
Update:
  • Added flashing ":" to the middle tube
  • Embedded all graphics - producing standalone EXE
  • Right click for exit menu
  • New icon
  • Always on top option (default)
https://drive.google.com/uc?export=down ... EWQoyvnzF2

Re: Nixie tube countdown timer

Posted: Sat Nov 20, 2021 9:18 pm
by Kwai chang caine
Really nice, simple and great idea :D
With this, I go back to the memories of my childhood :wink:
Thanks for sharing 8)

Re: Nixie tube countdown timer

Posted: Sat Nov 27, 2021 1:56 pm
by AAT
Very nice, thanks!

The nixie is good not only for timer.
I take my diy nixie year indicator out of the box in December and change the year on January 1st. :)

Image

Re: Nixie tube countdown timer

Posted: Tue Dec 07, 2021 2:29 am
by OgreVorbis
The beta version of the full clock app based on this, is now available here: https://www.purebasic.fr/english/viewtopic.php?t=78336