Page 1 of 1

[Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Tue Jun 09, 2015 20:28
by VanessaE
Here's a simple mod to add some old-fashioned filament displays to your world

There are four types of display devices: the old-fashioned Nixie tube, which uses a generic/common design and displays the digits 0-9 (plus colon and period in this design), a Decatron tube similar to ETL/Baird Atomic GC10B, which displays its value by lighting up batches of "pins" on its face, an "alphanumeric" Nixie-like tube using a 14+1 segment display similar to the Burroughs B-7971 tube, and a Numitron design similar RCA DR-2115 (but using a 7+2 segment display with period and colon).

Place one, right-click it to set a channel, hook up some Digilines wires and a Lua Controller or so, and send the symbol you want it to display as a Digilines message. Decatron tubes can also be wall-mounted. A stripe indicates the "1" position on those.

The classic Nixies and the Numitrons respond to the numbers 0-9 and the words "colon", "period", and "off", while the alphanumeric Nixies will respond to the entire ASCII character set (32-127), the above three control words, plus "del", "allon", and "cursor".

Decatron tubes respond to 0-9 and "off" to directly set their states, "inc" and "dec" to bump the value up or down, "get" to read the current value back into your LuaController program, and they'll send "carry" or "borrow" as a message if the count overflows or underflows.

See the README for more details.

These tubes emit a small amount of light when displaying something.

Since these are meant to be driven by Digilines signals, only the "off" ones for all four types appear in the Creative Inventory. Use /giveme to get the others if you're not using Digilines (this is how the two middle Nixie screenshots were created). Node names are of the form "nixie_tubes:tube_{0..9, 'colon', 'period'}" for classic ones, "nixie_tubes:alnum_{ASCII char code}" for the alphanumeric ones, or "nixie_tubes:decatron_{0..9}" for the Decatrons.

No crafting recipes have been made for the Decatron yet.

Depends: Default minetest_game stuff, a recent Minetest engine, mesecons, and digilines

License: LGPL for the code, WTFPL for textures, models, and whatever else.

Download: https://github.com/VanessaE/nixie_tubes ... master.zip
...or browse the code: https://github.com/VanessaE/nixie_tubes

Crafting
+ "Show recipes..."

Screenshots:
+ "Show images..."

Example Lua Controller code:
+ "Show it..."

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Wed Jun 10, 2015 17:00
by Krock
Interesting, I have never seen this digit-display method before.
How about a dash "-" sign?

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Wed Jun 10, 2015 17:06
by VanessaE
I could add other symbols easily enough, but a "-" isn't especially common with Nixie tubes (though there are some designs that only display symbols like % or °C or so, but not numbers). I wanted to keep these more or less the same as the real things, which generally only have a dozen or so numbers and symbols to pick from.

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Thu Jun 11, 2015 04:47
by VanessaE
Update: I've added a set of alphanumeric tubes to the mod, in the form of a 14+1 segment display (similar to Burroughs B-7971, with the same wire layout). It has full ASCII support, and also responds to a few control words (see the README).

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Thu Jun 11, 2015 07:43
by cheapie
Here's a clock using it, based on the Mesecons Laboratory clock. It expects a digilines RTC on channel "clock", a blinky plant on any pin, and nixie tubes on channels "tenhour", "hour", "colon", "tenminute", "minute", and "ampm", in that order. "ampm" should be alphanumeric, the others plain numeric.

+ Luacontroller Code


+ Screenshot

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Fri Jun 12, 2015 04:22
by Dopium
Nice work kinda cool for making industrial super computers.

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Sun Jun 14, 2015 02:57
by minermoder27
Oooh, looks awesome! What about adding some form of high-voltage driver that you would need to power them?

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Sun Jun 14, 2015 06:19
by VanessaE
Think of it as having a digilines-to-HV multiplier/driver magically, invisibly embedded in the black casing at the bottom ;-)

(Really, doing so wouldn't be hard, but I don't really see a use for that)

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Thu Jun 18, 2015 01:10
by Sokomine
Looks nice! I'm sure a lot of places could be marked with larger "signs" that way.

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Fri Jun 19, 2015 15:44
by Hybrid Dog
l like it, but that are many nodes, l think. And l think if you use an object, you can modify its texture and don't need to register lots of nodes.

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Fri Jun 19, 2015 16:00
by VanessaE
Indeed, using an entity for the display would reduce the total number of nodes to just two, but entities suck right now. Too buggy.

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Fri Jun 19, 2015 18:10
by cd2
wow cool mod!

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Sat Jun 20, 2015 08:32
by VanessaE
Update: now with Decatron tubes as well. See first post and README for details.

Another update: Better textures for the Decatron tubes' cathodes.

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Fri Jun 26, 2015 22:13
by DDroid

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Sat Dec 05, 2015 00:13
by 12Me21
how exactly are you supposed to use "get"? I tried


digiline_send("tube0","get")
if event .channel == "tube0" then
digiline_send("nixie0",event.msg)
end

but that overheats the microcontroller somehow...

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Sat Dec 05, 2015 01:01
by cheapie
12Me21 wrote:how exactly are you supposed to use "get"? I tried


digiline_send("tube0","get")
if event .channel == "tube0" then
digiline_send("nixie0",event.msg)
end

but that overheats the microcontroller somehow...


You're firing off a "get" message on *any* event there, which includes the reply, forming an infinite loop. Make that first line only run on on "on" or "off" type event, and connect a blinky plant to the LuaC.

Re: [Mod] Nixie Tubes [nixie_tubes][git]

PostPosted: Sun Feb 05, 2017 12:33
by VanessaE
Thanks to a contribution from cheapie, this mod now has Numitron tubes similar to RCA DR-2115.