Multi digit numeric display with lamps

Post pictures and videos of your factories.
If possible, please post also the blueprints/maps of your creations!
For art/design etc. you can go to Fan Art.

Post Reply
JasonC
Filter Inserter
Filter Inserter
Posts: 448
Joined: Tue Mar 22, 2016 3:05 am
Contact:

Multi digit numeric display with lamps

Post by JasonC »

This blueprint is for a single digit in a multiple digit numeric display. It looks like this:

Image

Code: Select all

H4sIAAAAAAAA/8Va7W6jOBR9lYqfuzALBkKiEfsio1XkATe1ZDAyZmajaN59DU03GAbHX0n7qy2Oc+85955z7aSmL4RWkLwcywtqOeYY9eXl0sIGlUHfQEIi
ApsuCDvai4e0LS//llH8JQ/PZVR8yX+FFW1bVI2PxAu/BUnwT3lhqBabTPudj7gu01/iZ1xZ4+vCCrNqwLy8vGLW82OPTy0k5YWfO/G+r2TAdRC+B0Hw6Y1H
FJNg2qHnsOVlLH5tOsggp6wMymDc/k7Q15j3+jGHs79yhwz6gbwODFcRrMQ/3bKITNMAUhqJWRo/MOMDJP8nMj2MEsccEsPqyeUUDHOQqHhD8MfZQzElTixk
PliA7Zm/4fa0ncnf80waVOOhiRARoY612FGCFqV1TSoXSWnXYa6LwEEm0VARMEfNR/4VhZ60YKcfvH3JVWyokYeSi0yD3kuIFy4SPHwXJSPi9tM12jUjWl0q
Gi99A/wkoU1DJucQf0Lv32mDTJuP1IkPqaZ+Qo6Yp5bQTqCQ4wefHH9iin+8jF/6swiv4b87zvPrrEZiwEEsEgu+43ZcsHSYMV0wpltj9p5tCfRS382TG0eA
8FsA7q9UQbQeJK4JmEB0RoTQn3OADotCCOnAu0Fvt8O0UXc+VnRo+fGV0eaIW/FqUX2Q9Mgc7cQK7VzGScLwoM1ErmDioC5WL0wUDkwUBkxAhvlbg7gYq7bI
cKj8QoGiCuG9Nk+Fgu21xt+y1ZnVuk6UKGUCr7BH4zaK1ZjR9rqWipfBCaXgzw3e1jOhBSV27bHXl5j5MwC0KVmRZ8bB72s63yJhW4wMebgxaCxUsQ9bkNCO
fViGvMuDhGrnIFQ735ZhR8RBQYS+dx8UROyeQETuQETu3zGsqACJAkSgoCnVpUl+B3N12jxcGohTpidOv5vZLWzCjgig786hEt5NIlaG4kDEx4nGgITUxqlv
E4E5EVZ2LRc2UGItPcu0eVi1jg+7jrfI2Owf04aY3U2Zc2E1zcqYAqUASc+0p9k1a58wOu0syJjdTZtadmZFhWJ2SrVnp6Utb+/yIMtOHSw79T07pVZEKE7b
+kMsUJwFnzLEZg5EZP5nJ7ueUBy2lxIkVbr2yQ7cuYKykyfwEN+W5KlDnFGChiY6wd7GL+x6I9P1hAVZK5g3CXE8aqtAerB9zz4aNxWqnQ0ZS1eQOkB7WFq6
wvYuDxKqxEGoEt+OkVt1heq0nWtXvuq0nT+BCOBABPDvGHY9oTht67tC6nii3i5WA1cobCToJl/mgFvVfqo4VS9htHOENW2fQIbN/cbii0ZmhExqtJcZ2ekx
opg8U+27v7WB+ED9xBBqzZAXgcnYR0bC9CFzpkZQWDWD6jitMIk0Xcq7Li3b7/Agk1h+rm7CRezfJAqrDlndXW/C/ZCbpI8uuI1A8bzA/zACdeoPc+DspEX7
TjpdjT1PAO4vI+Cum02h4WqK6oLbGo34rL4oIhZ9ZYgPrH05fkVt/R82xqKsqSsAAA==
Usage is as follows:
  • S: This is a spot for a substation. Place as needed.
  • IN: For the rightmost (one's) digit, send your value to display here, on the red circuit. Use the green square signal. For all remaining digits connect this to the OUT of the previous digit.
  • OUT: Connect this to the next digit (it's IN divided by 10).
  • You can chain as many together as you want.
If you want to move the lamps around you can. Just create a blueprint from the lamps, destroy the original ones, then create them anywhere you want, then run a connection from any one of the lamps to either side of any one of the ='s or +'s, doesn't matter. Here is a blueprint for just the lamps if it's useful:

Image

Code: Select all

H4sIAAAAAAAA/72V7W6DIBSGb6XxtzTSrh/Jwm5kWQwD2p4EwSB0M8R7H9qmmfvIpJL5S0Hgfc55z4HrhdSMykVJvFAWLIiGeK9oJUjWVFRKJGlVZ3mtmzCp
FfHvpFhu8pYgvNx0OdNKCdbPhHXPGc5eiDeChz2G7doSOFl1+aevdReefh2H6zIGhjmwxB/ANLZs4KioJN62dRBxkA54ll8VOXlwBhiiLAwOuzSWKkuK8FrV
1FCrDclI1h/xBwWKxcAjjIc4jDMY66i8gQyTCM9kwLMQdikQqGrtCdTxd5KnmGwU0011v40kHE8WaZAzw3/RPFnydoZkZhwXCSSjSM2bkWNwMSfq7jWUbtCd
xvSTEdYjhP0MgpOg5zZBEnBcDnbjHEQ20CRlWwkOrkJCBq19/621FF+MdYHqW9FUE05uW9txACJLH6yobmWkaZqiX01uuePbD0feGyP/vVErTJoGMF0/TtcB
UujHcdbZz4r+z7WzSoJwdwb+s/67HNhwhAfFRZCef0MLPz0aYZ1Ri/JRKP4B973Z5FMKAAA=
You can also design any font you want, as long as it's basically 7-segment in nature (plus the 6 vertices if you want). All you need to do is lay out your lamps, string them all together with red wire, then copy + paste the settings from the lamps above to your new font. For example, here is a larger digit with no vertices:

Image

Code: Select all

H4sIAAAAAAAA/82W727bIBTFXyXyZ1MZnKSVKp5kmiwEpL0SBgvjbhHKuw+n7jS6SYVBq+RTHP7k/Hwu5yLMThnO1G6gXmoHDuRMvddslLSZR6YUUmycmnYy
cxg0mvqfFHV3h/ZMUX93uLTcaC35OhQWfmtw8516K0XY5LrfeQBByaX942l/CZ91nYBtGQfLF3DUn8DObpjhSTNFvTtPQcVJLSCadpO0qNNigSPGw4/XXWbH
tKNd+DpOzDJnLG1os/7FBxi5FDii6G+EAhd5cbwRCrRhkP8z41CAoeDp2SEDqhICTkXYRwgPN4BAMk3oI4L7AoJnyV7O9QiSPThGBJjcAMJbHXWpDIeYofvC
QhqlgGVEUgWNaxJMRsl/huwK8zH56+Rk8IcYPI4EXJIJ3C5CVvAyEyh4FyGU9JhaCCSzGu/rIdQ6UTjTBfw+FKLHkpirZcqWEend8l1GZDYbcHL8jWBYJfXJ
IY33RQlXWT3JfPXxgSCZLeYFrFuC5rc713UQkSoM6QbEjR5n3ho/h2GrovTre1xFBH9JFaV2yD6lQb5O3Sdf9eMgIyVZ/IM5aUsdy9XfFaVWdf0ks+CORa//
c04NLrIgN72yLbi0wK/betBCBrntXzhh0qOVbrF6NzxKLX4BnTJKrMMQAAA=
Here is an example of a 5-digit display that shows how much water is in some tanks (the comparator next to the tanks changes the water signal to the green square):

Image

I find it easier to read from far away... the contrast isn't very good on the lamps. It's not that easy to read in general but... whatever.

But looking around the forum there's way better versions of this out there with much fewer combinators; I'm not quite there yet. :lol:
Last edited by JasonC on Mon Apr 04, 2016 1:41 am, edited 1 time in total.
Took a break from 0.12.29 to 0.17.79, and then to ... oh god now it's 1.something. I never know what's happening.

JasonC
Filter Inserter
Filter Inserter
Posts: 448
Joined: Tue Mar 22, 2016 3:05 am
Contact:

Re: Multi digit numeric display with lamps

Post by JasonC »

Here's a video of it displaying the current play time: https://youtu.be/vLxM_2Gs5Ug:

Image

I forgot to wire up the colons.
Took a break from 0.12.29 to 0.17.79, and then to ... oh god now it's 1.something. I never know what's happening.

lamesnow
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Apr 02, 2016 5:07 pm
Contact:

Re: Multi digit numeric display with lamps

Post by lamesnow »

I based my display on this post: viewtopic.php?f=8&t=19825&p=128090#p128215, and came to this display:
Image
(I like to use more lamps for better visibility).
The two combinators on the top right are not needed, they decide the number I display in this setup. The setup requires 3 constant combinators and 5 arithmetic combinators, plus 2 arithmetic and 2 decider combinators per digit.

JasonC
Filter Inserter
Filter Inserter
Posts: 448
Joined: Tue Mar 22, 2016 3:05 am
Contact:

Re: Multi digit numeric display with lamps

Post by JasonC »

Those are way better. I'll have to look at the blueprints later to see how they pack so much in so few combinators.

Your font is my favorite out of all the ones in that thread.
Took a break from 0.12.29 to 0.17.79, and then to ... oh god now it's 1.something. I never know what's happening.

lamesnow
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Apr 02, 2016 5:07 pm
Contact:

Re: Multi digit numeric display with lamps

Post by lamesnow »

Right, i'll post my blueprint as well, although it uses a few more combinators than their designs.

Code: Select all

H4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jZmDjuG+86aC
WIKaKs/volbJnNk8oFWyluyCdiQVbwMJxfu3qDOQ+uaSWo5qzhnvAXler6naqmxAIYEgWksyUbtNSt6bJEUNuw0K/ptLzsT+EH1zynuglUdT1bQjKXkkGA8k
ZNLuTTntTZoWN7sNctoG0OLmNeU9OxLH20ASk+27qOe/eSIx2fHeA/3TmhqeygYUElCxaBKJyRnvTWnEZD6x0bSoib445TsQxzTFLXscy3gkoCKgqTeakdBp
jqglzRzG6MxS1IJm/uJ8UhOwOyMNIsHnmdCCFjTKlWYgdIoj6lgyhzA+w4GOpZClwewCb4E0Ihqdz4g6kkQzTrkOHI5naQQwPi+DjqSQSTiFnY/SrqTpQDJv
n3RWJuo4MrsOn8rkeI1dEsDsdJQHgn0FaVAKOiUTdaiIvjhlAdhOnSQSW4HwSwI6IoJG5826m/IrAjoigksiTo/YWyVhWTP/1PdOIgrzRFTTcWINATydgw6H
4CURwIqDZ3MFXgaWkCINDsqPkuBEfCqs6Sixxi36fFXUQWL93nwGD50XwSfBG/gTSuiECT4JIseXQzXNB9a4xRcVS9z/k+Bt9NGG6I6+me/wmYumScK64fNH
MtBcEEISV81GnMhAc0EISTA5/pBb1Exg3Tr5ewWi5gHzjPPJIjQPhCAJXiLXoYBgs+NZ2cTL75x6XJJABC9bwcXGQ2J/I1+ezH2TN0Xlm3LQ85MH35HcjpHv
jOF7x+h9THI7VtgZq/8Vv94XJTdD+Z2h+l/0O/Gs5HY0tzNaQYM88HDjdtRsZ9T+FyuHPTC5GbRudgbtf7Vy8CuT23HrnXH7X6888tTkdpRqZ5RmyJ7AVzQ0
HTTmcMKXNCooBQQJNT8F5Olydr0d+/F5H7jcA9Z9ref1/fyzwy0j3Vi/LNv1w/Lup0+/tHc3/wdnjt4Ccx8BAA==
About the font, do you mean the bigger numbers? Because I use the most basic number font I could imagine :o. I also use green wires for the lamps because they are less visible than the red wires.

JasonC
Filter Inserter
Filter Inserter
Posts: 448
Joined: Tue Mar 22, 2016 3:05 am
Contact:

Re: Multi digit numeric display with lamps

Post by JasonC »

Yeah the bigger numbers. It's basic, which is good. In a 6x10 square there's all sorts of things somebody could call "basic" but would still look awful; so don't be so surprised. :lol:
Took a break from 0.12.29 to 0.17.79, and then to ... oh god now it's 1.something. I never know what's happening.

lamesnow
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Apr 02, 2016 5:07 pm
Contact:

Re: Multi digit numeric display with lamps

Post by lamesnow »

It works by using a const combinator emitting "magic numbers" which are the decimal representations of two's complement numbers:

***0123456789*******************
0: 00101000000001000000000000000000 -> 671350784
1: 00101001000001000000000000000000 -> 688128000
2: 00100000000001000000000000000000 -> 537133056
3: 00101110001001000000000000000000 -> 774111232
4: 00111111111111000000000000000000 -> 1073479680
5: 00100000110001000000000000000000 -> 549715968
6: 00101000001001000000000000000000 -> 673447936
7: 00111000001001000000000000000000 -> 941883392
8: 00100000000001000000000000000000 -> 537133056
9: 00101011101011000000000000000000 -> 732692480
a: 00111111111111000000000000000000 -> 1073479680
b: 00100100000001000000000000000000 -> 604241920
c: 00101001001001000000000000000000 -> 690225152
d: 00101001001001000000000000000000 -> 690225152
e: 00100000000001000000000000000000 -> 537133056

the rows (0-E) are the specific lights (in this case 2x2 lights because I use the big display), and the columns are which number we want to display. It is inverted though, so we have a 0 if we want to have the lights on, and a 1 when the lights should be off. For example, light 4 has 1's everywhere, meaning it's always off. I numbered my lights like this:

012
345
678
9ab
cde

so light 4 is the place where you don't have a lamp.

An other example, 0: 00101000000001000000000000000000. This light is always on except when we display a 1.


To get the final number, you should convert it as a 32 bit two's complement integer to a normal decimal number (I used http://www.exploringbinary.com/twos-com ... converter/)

User avatar
Evan_
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Sun Mar 13, 2016 9:24 am
Contact:

Re: Multi digit numeric display with lamps

Post by Evan_ »

lamesnow wrote:It works by using a const combinator emitting "magic numbers" which are the decimal representations of two's complement numbers:
I thoroughly read your whole description multiple times, and didn't understand a word of it. Well of course besides 'number' and 'magic'. But I already knew this must be the main two attributes of a numeric display that doesn't have a bigger combinator-field than a regular beginner 3-science fab.

Just for comparison, I'm gonna repost my display, because hell, I'm still bloody proud of it people will appreciate your awesome wizardry even more next to it. Ok I admit, I asked for help with the math, as I'm a layman who can't tell what is 7 times 8 without a combinator.

Image

As you may see, I was very afraid of chaining wires, as I was convinced it will make them pick up rogue signals and I'll never be able to debug it. Tuns out it was not the case, but all the wiring makes it look impressive and complicated. :P

JasonC
Filter Inserter
Filter Inserter
Posts: 448
Joined: Tue Mar 22, 2016 3:05 am
Contact:

Re: Multi digit numeric display with lamps

Post by JasonC »

lamesnow wrote:It works by using a const combinator emitting "magic numbers" which are the decimal representations of two's complement numbers:
That part, and representing lamps with bits, makes sense. I finally looked at the blueprints. The thing I was missing was a basic understanding of how the wildcard symbols worked. So I attempted to do it using standard logic gates for 7-segment display drivers. Techniques for storing and selecting information using the wildcards with multiple signals didn't occur to me. This opens up a whole new world of possibilities. Thanks!
Took a break from 0.12.29 to 0.17.79, and then to ... oh god now it's 1.something. I never know what's happening.

Post Reply

Return to “Show your Creations”