[Mod] Nixie Tubes [nixie_tubes][git]

User avatar
VanessaE
Moderator
 
Posts: 4280
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

[Mod] Nixie Tubes [nixie_tubes][git]

by VanessaE » Tue Jun 09, 2015 20:28

Image

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", and they can display strings across multiple tubes.

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.

Strings will be displayed using all tubes in a lineup, so long as they all face the same way, starting from the tube the Lua Controller is connected to, going left to right. The other tubes in the line do not need to be connected to anything - think of them as being connected together via wireless. NFC :-) Only the tube at the far left need be connected to the Lua Controller.

The string will spread down the line until either a tube is found that faces the wrong way, or has a channel that's not empty/nil and is set to something other than what the first is set to, or if a node is encountered that is not an alpha-numeric tube at all.

Tubes to the left of the connected one are ignored (unless they, too, have their own connections).

You can put multiple lines of tubes end to end to form independent displays, so long as the tubes that start each of the lines have unique channel names set.

The string is padded with spaces and then trimmed to 64 characters.

Any unrecognized symbol or character outside the ASCII 32 - 129 range, whether part of a string or singularly is ignored.

Only the alphanumeric tubes support strings.

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://gitlab.com/VanessaE/nixie_tubes ... master.zip
...or browse the code: https://gitlab.com/VanessaE/nixie_tubes

Crafting
+ "Show recipes..."

Additional screenshots:
+ "Show images..."

Example Lua Controller code:
+ "Show it..."
Attachments
screenshot_20170205_023200.png
(583.25 KiB) Not downloaded yet
nixie_tubes-recipe2.png
(26.48 KiB) Not downloaded yet
nixie_tubes-recipe1.png
(25.75 KiB) Not downloaded yet
nixie_tubes-decatron.png
(168.36 KiB) Not downloaded yet
nixie_tubes3.png
(273.32 KiB) Not downloaded yet
nixie_tubes2.png
(218.41 KiB) Not downloaded yet
nixie_tubes.png
(369.67 KiB) Not downloaded yet
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
 

User avatar
Krock
Developer
 
Posts: 4106
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

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

by Krock » Wed Jun 10, 2015 17:00

Interesting, I have never seen this digit-display method before.
How about a dash "-" sign?
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
VanessaE
Moderator
 
Posts: 4280
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

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

by VanessaE » Wed Jun 10, 2015 17:06

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.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
 

User avatar
VanessaE
Moderator
 
Posts: 4280
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

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

by VanessaE » Thu Jun 11, 2015 04:47

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).
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
 

cheapie
Member
 
Posts: 310
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

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

by cheapie » Thu Jun 11, 2015 07:43

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
 

User avatar
Dopium
Member
 
Posts: 233
Joined: Sat Jun 09, 2012 15:43
Location: Australia

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

by Dopium » Fri Jun 12, 2015 04:22

Nice work kinda cool for making industrial super computers.
 

User avatar
minermoder27
Member
 
Posts: 138
Joined: Wed Nov 20, 2013 23:24
Location: Unfortunately, not in Baikonur
GitHub: ZNixian
In-game: minermoder27

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

by minermoder27 » Sun Jun 14, 2015 02:57

Oooh, looks awesome! What about adding some form of high-voltage driver that you would need to power them?
 

User avatar
VanessaE
Moderator
 
Posts: 4280
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

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

by VanessaE » Sun Jun 14, 2015 06:19

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)
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
 

Sokomine
Member
 
Posts: 3616
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

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

by Sokomine » Thu Jun 18, 2015 01:10

Looks nice! I'm sure a lot of places could be marked with larger "signs" that way.
A list of my mods can be found here.
 

User avatar
Hybrid Dog
Member
 
Posts: 2670
Joined: Thu Nov 01, 2012 12:46

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

by Hybrid Dog » Fri Jun 19, 2015 15:44

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.

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪
 

User avatar
VanessaE
Moderator
 
Posts: 4280
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

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

by VanessaE » Fri Jun 19, 2015 16:00

Indeed, using an entity for the display would reduce the total number of nodes to just two, but entities suck right now. Too buggy.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
 

User avatar
cd2
Member
 
Posts: 562
Joined: Mon Jun 01, 2015 06:30
Location: Linux
GitHub: cdqwertz
In-game: cd cd2
 

User avatar
VanessaE
Moderator
 
Posts: 4280
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

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

by VanessaE » Sat Jun 20, 2015 08:32

Update: now with Decatron tubes as well. See first post and README for details.

Another update: Better textures for the Decatron tubes' cathodes.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
 

DDroid
Member
 
Posts: 12
Joined: Thu May 28, 2015 21:13
Location: Georgia, U.S.A.
GitHub: DDroid
In-game: DDroid

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

by DDroid » Fri Jun 26, 2015 22:13

HP TouchSmart iQ505
CPU: Intel Core 2 Duo T5850 @ 2.16GHz
GPU: Intel GMA 960(?) @ 372MB
RAM: 4GB DDR2
OS : Windows Vista 64bit/Ubuntu Studio 16.04.1LTS 64bit
SSD: (VISTA PARTITION: 400GB; UBUNTU PARTITION: 64GB)
Res: 1650x1050x32 single touch
 

User avatar
12Me21
Member
 
Posts: 873
Joined: Tue Mar 05, 2013 00:36
Location: (Ignore all of my posts before 2018)
GitHub: 12Me21

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

by 12Me21 » Sat Dec 05, 2015 00:13

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...
 

cheapie
Member
 
Posts: 310
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

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

by cheapie » Sat Dec 05, 2015 01:01

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.
 

User avatar
VanessaE
Moderator
 
Posts: 4280
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

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

by VanessaE » Sun Feb 05, 2017 12:33

Thanks to a contribution from cheapie, this mod now has Numitron tubes similar to RCA DR-2115.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
 

User avatar
VanessaE
Moderator
 
Posts: 4280
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
 

User avatar
VanessaE
Moderator
 
Posts: 4280
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

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

by VanessaE » Wed Aug 15, 2018 21:54

Update: this mod can now display strings across multiple alphanumeric tubes (but not the other types) that are placed in a line. See README for further details.

Also, the "cursor" has been moved to char(31), and the "allon" keyword and the symbol it invokes has been moved to char(144), to match my led_marquee mod.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 7 guests