[Mesecons] 4-bit Decoder to 7 Segment Display

Loadable maps as opposed to OldCoder's zoomable maps
cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

[Mesecons] 4-bit Decoder to 7 Segment Display

by cornernote » Mon Aug 27, 2012 00:14

removed
Last edited by cornernote on Mon Nov 05, 2012 10:11, edited 1 time in total.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Mon Aug 27, 2012 00:39

Link is broken.
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Mon Aug 27, 2012 01:13

This is amazing!
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Tue Aug 28, 2012 06:30

I made a tiny 4-bit decoder using 64 microcontrollers

download

Image


Mesecon Microcontroller Programming

A=input from button
B=input from larger bit
C=output to larger digit
D=output to current digit

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
---------------------------------------------------------------------------
bit 4 (+8)    bit 3 (+4)    bit 2 (+2)    bit 1 (+1)     << indicator lights
---------------------------------------------------------------------------
sbi(D,A)    sbi(D,A&B)    sbi(D,A&B)    sbi(D,A&B)     |    F    |
sbi(D,A)    sbi(D,A&B)    sbi(D,A&B)    sbi(D,!A&B)    |    E    |
sbi(D,A)    sbi(D,A&B)    sbi(D,!A&B)   sbi(D,A&B)     |    D    |  O
sbi(D,A)    sbi(D,A&B)    sbi(D,!A&B)   sbi(D,!A&B)    |    C    |  U
sbi(D,A)    sbi(D,!A&B)   sbi(D,A&B)    sbi(D,A&B)     |    B    |  T
sbi(D,A)    sbi(D,!A&B)   sbi(D,A&B)    sbi(D,!A&B)    |    A    |  P
sbi(D,A)    sbi(D,!A&B)   sbi(D,!A&B)   sbi(D,A&B)     |    9    |  U
sbi(D,A)    sbi(D,!A&B)   sbi(D,!A&B)   sbi(D,!A&B)    |    8    |  T
sbi(D,A)    sbi(D,A&!B)   sbi(D,A&B)    sbi(D,A&B)     |    7    |
sbi(D,A)    sbi(D,A&!B)   sbi(D,A&B)    sbi(D,B&!A)    |    6    |
sbi(D,A)    sbi(D,A&!B)   sbi(D,B&!A)   sbi(D,A&B)     |    5    |
sbi(D,A)    sbi(D,A&!B)   sbi(D,B&!A)   sbi(D,B&!A)    |    4    |
sbi(D,A)    sbi(D,A|B)    sbi(D,A&!B)   sbi(D,A&B)     |    3    |
sbi(D,A)    sbi(D,A|B)    sbi(D,A&!B)   sbi(D,B&!A)    |    2    |
sbi(D,A)    sbi(D,A|B)    sbi(D,A|B)    sbi(D,A&!B)    |    1    |
sbi(D,A)    sbi(D,A|B)    sbi(D,A|B)    sbi(D,!A&!B)   |    0    |  << the row closest in the image
---------------------------------------------------------------------------
bit 4 (+8)    bit 3 (+4)    bit 2 (+2)    bit 1 (+1)     << input buttons
---------------------------------------------------------------------------
 ^^ the column closest in the image

** In addition to the table above, all have: sbi(C,A)
Last edited by cornernote on Tue Aug 28, 2012 09:23, edited 1 time in total.
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Tue Aug 28, 2012 08:13

Next I added the 7 segment display decoder on top. I was able to get the connection to the upper level using only 2 nodes with inverters.

The whole 4-bit input to 7-segment driver is only 10x17x3, including the input buttons and indicator lights.

download
Image

The whole 7x16 grid of microcontrollers is programmed like this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
no need to list every chip, you just have to decide if you want the piston in or out:

POWER ON - (piston out) will hide on 7 segment display
sbi(B,D)sbi(A,C|!D)

POWER OFF - (piston in) will display on 7 segment display
sbi(B,D)sbi(A,C&D)
Last edited by cornernote on Tue Aug 28, 2012 08:14, edited 1 time in total.
 

Magicdolphin
New member
 
Posts: 7
Joined: Tue Sep 18, 2012 11:22

by Magicdolphin » Tue Sep 18, 2012 11:59

very impressive!!
 

User avatar
Nexdah
Member
 
Posts: 42
Joined: Fri Jul 06, 2012 22:35

by Nexdah » Tue Sep 18, 2012 23:17

You Kids and your Fancy Machines these days!

Back in my day, it was called Infiniminer!
This is a Signature.


First ever Astronaut in Minetest.
 

creeper96
Member
 
Posts: 25
Joined: Thu Sep 13, 2012 10:52

by creeper96 » Wed Sep 19, 2012 08:27

Two words so frekkin AWESOME how long did it take to build anyone of them.And yes i did not use two words
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Wed Sep 19, 2012 08:44

The first ones took quite a few hours, cos i basically didn't understand how it was going to work. Once you understand how to build the basic things its a lot easier.
 

User avatar
Tom
Member
 
Posts: 49
Joined: Sat Dec 31, 2011 15:42
IRC: Tom-s

by Tom » Wed Sep 19, 2012 12:48

Very nice work. ;)
 

User avatar
qwrwed
Member
 
Posts: 323
Joined: Sun Jul 22, 2012 20:56
In-game: qwrwed or Nitro

by qwrwed » Fri Nov 30, 2012 17:16

Why is this removed?
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Sat Dec 01, 2012 01:18

qwrwed wrote:Why is this removed?


Cornernote removed most of his work and then left the forums.
 


Return to Minetest Maps

Who is online

Users browsing this forum: No registered users and 3 guests

cron