Board index » The Lounge » MLK Minecraft

Server status:
Image

This forum can be used for everything relating to Minecraft! Suggestions for the server, showing off your work, looking for other members to build with, etc.

Post new topic Reply to topic  [ 7 posts ] 
Author Message
User avatar
Years of membershipYears of membershipYears of membership

Joined: September 29th, 2011, 1:19 am
Gender: Male
Posts: 10113
Pride Points: 158
Location: Hurr Durr Murika Land
Nickname(s): Reg, Regs, Last Person to Post
PostPosted: July 16th, 2012, 12:43 am 
Post subject: Redstone 4 Bit Counter



It may not look like much from the outside, but at least it works. :D
Image

What this does is count from 0 to 15. About every 8 seconds, the number shown on the display will increase by 1. When it gets to 15, it resets back to 0.

Although this counter isn't particularly useful, considering that this is the first time I've ever done anything with redstone, I'm quite impressed.

I got the idea to do this because it's something I've done many times using circuit designing software. I already knew how to make this work, the hard part was learning how to make it work with redstone.

Which is why my first setup failed.
Image

And my second, third, and fourth. :annoyed:
Image

Now that I've got it working, it really isn't so complicated anymore. In fact, the entire circuit is quite organized and systematic.

The display is made up of 7 panels. A, B, C, D, E, F, and G. A is at the top, and the rest continue clockwise, with G being the center panel. Image

The power line to each panel is represented by one of the gold paths below. A on the right, F on the left.
Image

But, the way these lines receive power is a bit more complex. Perpendicular to each gold power line, is an iron power line underneath it. Each iron line represents a number, starting with zero, and ending with 15. The seventh line, for example, connects to the gold lines representing A, B and C, while the eighth line connects to all the gold lines.
Image

With the exception of slight unintended delays in the system, only one iron line is powered at a time. So, whenever a path marked by a number is receiving power, it sends it to the respective panels.

Now, how these numbered paths receive power is from AND gates. Quite simply, AND gates only activate if two inputs are both on. Each number has 3 AND gates, arranged in a triangle shape, so that the number is only on if the four respective subpaths are at the right conditions. Here's the line of AND logic gates.
Image

And this is where it kinda gets a bit complicated. Why four, you ask? Because with four different paths, each with the possibility to be on or off, there are 16 possible combinations of states. If all paths are off, this represents zero. If all are on, that represents 15. Here, you can see each of the four paths, before they branch off to each of the AND gates.
Image

This is why it's called a 4-bit counter. A bit, in computer terms, is a zero or a one; literally a bit of data. At this point, the counter is working in binary code. To understand binary, all you have to do is think about our decimal number system. Whenever you count, when you get to 9, you go back to 0 and start again with a 1 in front of it. That 1 represents 10 units. In binary, you do the same, but you count to 1, then when you get to 2, go back to 0, and add a 1 in front of it, which represents 2. So, basically:

0000 = 00
0001 = 01
0010 = 02
0011 = 03
0100 = 04
0101 = 05
0110 = 06
0111 = 07
1000 = 08
1001 = 09
1010 = 10
1011 = 11
1100 = 12
1101 = 13
1110 = 14
1111 = 15


Now, I know what you're thinking. Why would I ever use this system? Well, that's because we're getting to the beginning of the circuit. Notice the pattern of each number. the right most digit alternates between each number. The one to the left of it changes states when the right most digit changes from one to zero. The same thing happens with the digit to the left of that one, and so on.

That's how this works. A single clock powers this entire circuit. In electrical terms, a clock is a device that generates a steadily fluctuating electrical signal. These three 'flip flops' take that signal, and create another signal, at exactly half the frequency of the input. Since they're all connected to each other, this is how the power for the four paths is generated, which counts in binary.
Image

And there you have it. The entire system weighs in at around 200+ block long. Yeah, I have way too much time on my paws. And to think much more complex circuits are small enough to fit on a wrist... :P
Image

Hopefully, this project has been an inspiration. If not, I still don't blame anyone for hating redstone. This was the most frustrating thing I've ever done in Minecraft. I have to say, I'll never be doing something quite this ambitious ever again. :umno:

Free tours are available! Go to the flat world to see it. 8-)




Offline 
 Profile album
 
 

Also remembering the Hitch
User avatar
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership

O.O

Joined: June 5th, 2008, 5:04 am
Gender: Male
Posts: 6035
Pride Points: 114
Location: Savanna of Wisconsin
PostPosted: July 16th, 2012, 1:21 am 
Post subject: Re: Redstone 4 Bit Counter



This is honestly the coolest thing I've gotten to see first hand in Minecraft. I've played around with redstone before, but I'm not a hardware guy. It's really impressive you were able to do this with it being your first time using redstone. Great explanation of the whole system, too. I finally understand how the converter from binary to your segmented display works. :P

Well done, Regulus! If you do ever have ambition to work on any smaller redstone projects, I wanna see them. :3


The Lion King Wiki (Please help us!) • Fan Art AlbumsLion King TheatreRules of MLKAsk for Help

Image
Signature by queenofthepridelands! Thanks!


Offline 
 Profile album
 
 

Still thinking about running?
User avatar
Years of membershipYears of membershipYears of membershipYears of membership

Think you can outrun the world?

Joined: June 30th, 2010, 8:39 am
Gender: Female
Posts: 4018
Pride Points: 55
Location: Lost
Nickname(s): Rani
PostPosted: July 16th, 2012, 2:42 am 
Post subject: Re: Redstone 4 Bit Counter



It's amazing! Me, Dashie and Kops toured it earlier today and we were all blown away! The most amazing thing I have ever seen! Amazing job, regs! =)


Image
Image

You know the problem with being the last of anything? By and by, there'll be none left at all.


Offline 
 Profile album
 
 
User avatar
Years of membershipYears of membershipYears of membership

Joined: September 29th, 2011, 1:19 am
Gender: Male
Posts: 10113
Pride Points: 158
Location: Hurr Durr Murika Land
Nickname(s): Reg, Regs, Last Person to Post
PostPosted: July 16th, 2012, 3:23 am 
Post subject: Re: Redstone 4 Bit Counter



Thank you. It is pretty cool, isn't it? :macho2:

And, by the way, if it's ever not working, that's probably because the clock needs to be reset. I think that's a bug or something.




Offline 
 Profile album
 
 

dragon queen
User avatar
Years of membershipYears of membershipYears of membership

Joined: February 16th, 2011, 6:11 am
Gender: Female
Posts: 12350
Pride Points: 171
Location: the magical indoors
Nickname(s): rena/dashie/whatever
PostPosted: July 16th, 2012, 4:02 am 
Post subject: Re: Redstone 4 Bit Counter



Incredible Regs, like Rani said, our minds were blown. Amazing job.
Also sorry for the chat messages on the screenshots...
XD

~RD


Image Image

~♛~


find me here !!
v tumblrs v
mirmulniir | zahkriisos | relonikiiv


Offline 
 Profile album
 
 
User avatar
Years of membership

Joined: November 13th, 2012, 4:39 pm
Gender: Male
Posts: 2247
Pride Points: 14
Nickname(s): Jonas
PostPosted: November 19th, 2012, 12:22 am 
Post subject: Re: Redstone 4 Bit Counter



Way to complicated for me. xD



Offline 
 Profile
 
 
User avatar
Years of membershipYears of membershipYears of membership

Joined: September 29th, 2011, 1:19 am
Gender: Male
Posts: 10113
Pride Points: 158
Location: Hurr Durr Murika Land
Nickname(s): Reg, Regs, Last Person to Post
PostPosted: November 19th, 2012, 12:39 am 
Post subject: Re: Redstone 4 Bit Counter



Geez, I've just realized it's been so long since I last played MC.

I have another idea for a redstone project, although it won't be nearly as complex as this one. It will involve minecarts. :D




Offline 
 Profile album
 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Board index » The Lounge » MLK Minecraft


Search:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Copyright ©2006-2010 by Moka & My Lion King

Proudly powered by phpBB Version 3.0.7
Copyright © 2000, 2002, 2005, 2007 phpBB Group

Karma functions powered by Karma MOD © 2007, 2009 m157y