Howdy partners welcome to another CMB minecraft tutorial today I’m gonna be taking you through the old RS nor latch or a memory cell specifically this one which is the sequential one where the torches light up in order and then you can subtract them back down like that These are really useful for things like 7-segment displays which are featured in my last tutorial and combination locks much like this so yeah I’m gonna go through how to build it today and then hopefully I’ll also get up a tutorial on how to make a combination lock and hook It up to a decoder this afternoon so yeah cool stay tuned hop guy so let’s start off just building the latches if you don’t know what an RS nor latch is you can check out my previous tutorial on it I’ll put a link in the description and all that so you Can understand what it is it’s basically a 1 bit memory cell that just remembers one piece of information when you want it to so we’re gonna do four in a line but you can do as many as you want in this array depending on what application It’s for if you’re going to use it for a 7 segment display you would 110 preferably 0 to 9 each latch representing a number going into a decoder etc but yet in this example gonna use 4 so that is it done basically you’ve got all of the latches With a gap in between and just running out in a line like this and then what you’ve got to do because currently in example if we were to use one button or input to try and trigger these in order we would actually just set them all off At once which is not what we’re trying to do we’re trying to get this one to go then this one then this one then this one on every button press so to do that you have to put and gates in between each of the latches and that’s what we’re gonna do now So we’ve got upper and gates in between each one of these latches to make them go in order rather than all at the same time from one button so I’m gonna build it and then I’ll explain it so we’ve got black blocks it’s gonna be R and K so we Start like this one in between like that redstone torch on each one and then dust on top of that then we’ve got to extend out the back of these latches so we do that by going to blocks three blocks two blocks and that would just carry on out If you had more latches so few blocks etc so that’s that and then we’re gonna put redstone torches at the end of these extensions like that and these are what going to be our kind of inverted and gates and I’ll explain that a little bit so I’ve done that then want a repeater There redstone block above it a repeater repeater redstone repeater redstone and then just finish off wanna put a repeater there and a repeater there and this is gonna be our input line here which we can actually put in now so your input line is going to go into every Latch so that goes into that latch that one and that one and then the buttons gonna be here but I’ll do that a sec and then finally you just need to connect up this torch with this blue block at the beginning of the latch like that and That is actually pretty much the array done now to add a button or an input unless it’s over there in our combination lock you kind of have to do this so I’ll show you what it is so you’ve got a block with a button on It and then we need to feed into the first latch like that with the repeater there just to stop any feedback coming through when this torch gets swapped – we don’t want the signal to come back into this block because it’s going to be a repeater this side with full delay Torch their and then connect that up to our inputs now our inputs always want to be on to keep this torch off otherwise we’re going to activate our latches when we don’t want to and that’s why it’s kind of an inverted and gate if you Don’t know what a NAND gate is I did to do a tutorial on this as well so I’ll put that in the description and you can check it out and see what it is but in this case what we want is two power sources powering one block to keep one Torch off and then when both those power sources turn off they allow this to turn on and flip the next latch so currently that’s how this works so the first one goes second one third torch torch like that now let me explain how that works okay so when you press this button here It comes in here and it just powers this latch on so that’s pretty self-explanatory but now that we’ve got this black wall block here with the redstone top this torch is also powering that redstone which then turns this torch off which is the first part of our First and gate because this torch is off this repeat is off and it’s not actually powering this redstone anymore even though it’s on which is coming from here but what this means is when this repeater now turns off its going to allow this torch to turn on for a very Short period of time and then activate our second latch so if I give you an example that now when I press this button this repeaters going to turn off and that torch will turn on very briefly as you can see there and it’s allowed our second latch to turn on and it’s Just carried over exactly the same idea onto this and gate which is the half of the third latch and then it just keeps going down the line like that so hopefully you guys understand that the third one fourth one like that and if you don’t understand it you can just Copy the building it work anyway so brilliant yeah so that’s the that’s the add line done and now if you want to be able to traps we’ve got to add this green thing to the back of it to allow you to pull the torches back one every time which is More useful for the 7-segment display and stuff like that rather than the combination lock so we’ll do that now all right so adding the subtract line I’m gonna use green more for this so you want to come round the back of the latches and then put your green wall in Here like this and then torches on that block in front not directly below but just one block in front there then a block here then you want redstone on top of these blocks torch torch torch and then repeaters going into the back of each latch like that there should be as Well then what you want is repeaters going into each one of those blocks just again to stop any feedback coming through to our button we’re about to put here connect all those repeaters up then you got your block with a button on it so this is our pulse limiter which Limits the pulse mm-hmm I’ll explain that in a second so now that’s it done what this allows you to do is when you count up so say you are on balanced a bug-out if you were on three the third torch and you wanted to bring it back to Two so say you’re trying to display two on a digital display press that button and it resets you back up to two torches press it again now bring you back to one so yeah like I say that’s way more useful things like digital displays rather than our combination lock which I’ll explain in the next video so that’s it pretty much once you’ve got those two things in the last thing you can do is add a kind of universal reset switch which I’ll show you now so that goes a bit like this you want to put red wall Above each cross of redstone here because reset elapsed we’ve got a power this cross of redstone so to make a switch that just resets the whole thing you want to just put repeaters down like that and these are going to power the red blocks in turn and just reset every Single latch and you can actually do that you can actually make the torches reset themselves in sequence so let me show you that as well torch there that there and then invert them so now what will happen is when you get to this final torch it will light This up turn this torch off turn this torch on and then it’s going to power this entire reset line and just reset every latch so I’ll show you that so we go through the first three latches and then when we hit the fourth one it just Resets it like that which can be quite good for counters if you need to reset back to the zero so you get nine there and then it just resets all the way back to zero so that’s a little addition that you can put on otherwise that’s pretty Much it for this tutorial I’m gonna give minecraft addict a shout out because this is really his design I’ve tweaked it slightly but he came up with it so I’m not gonna claim any credit for it I just thought you guys would find it useful and like I say I’m going to put Up at least a combination lock tutorial in depth hopefully this afternoon so yeah just watching Video Information
This video, titled ‘RS NOR Latch Array! Sequential Memory Cell [Advanced Minecraft Redstone Tutorials]’, was uploaded by CNBMinecraft on 2011-10-11 19:34:47. It has garnered 75187 views and 541 likes. The duration of the video is 00:11:00 or 660 seconds.
Dingdong! Today I take a look at how to put RS NOR latches in series and in turn make them switch on one after the other, rather than at the same time. This is essential for circuitry involving seven segment displays and combination locks!
RS NOR Latch Tutorial: http://www.youtube.com/watch?v=xW3k-Vdnos0
World Download: http://www.mediafire.com/?5odi1w6trrcbwgd
Mods: Singleplayer Commands
Music: Intro Ditty: Droptear Modelmaker – Erazer-Head (CNBMinecraft) Outro Ditty: Droptear Modelmaker – Black Out (CNBMinecraft)