Nice tutorial man. It gave me a thought of making a Gatlin gun with a cool down timer connected to a hidden brazier (for Trailmakers in this case) to show a flaming barrel and smoke while it "cools down"
Hey dude, I always loved scrap mechanic but recently I've gotten bored with it. I can't build, I can't make decent creations, therefore I would get bored very quickly. But I've watched this video, and then led off with other and more advanced ones and now I am fairly decent with logic gate principals. Thank you for the help and I hope you continue your tutorials to teach other people like me.
7:30 I spent a few hours trying to figure that out yesterday and I gave up and did something else. You make it look easy. 12:45 I tried it and when I send a 1 tick pulse into the binary thing it starts flashing.
I've been playing a bit with the NOR -> NOR -> OR and back and it seems it sometimes needs a double input on the NOR connected to the button. I fixed that by having a timer connected to the button with a 200ms delay so it gets one from the button and another one from the timer after 200ms. After more testing you can take it down to 100ms. Lower then that and It'll fail to correct the pulsing.
@@justinmean7370 Kan has another video about the memory bits explaining exactly how to fix that issue ;) I think the video is logic 101 or smth like that
The sensor memory bit has a flaw: if it is not through the 1 sec period, it'll pulse the thruster. My solution to that would be to hook the output of the NOR gate (the one, which goes into the other NOR gate in the memory bit) into the interrupt timer's NOR gate, resetting the timer (it could still pulse, if the sensor detects you after less, than .1 sec, and the second solution is to cut the last timer into 2 separate interrupt timer segments, making the one in front .075 sec, the one in the back .025 sec)
nice.. could be fun if you showed how we made the circuits back in the days before logicblocks too.. i still use alot of the old systems ;) maybe logicblocks looks confusing but damn.. some of those big gizmos we made then ... all mechanical :) and with no weld tool an error was fatal
for the pictionary you could have made a 1 second loop that stops when you buzz in that will increase a binary setup and then once that reaches a certain value you reset it, much less time consuming and easier to make.
A better way to do the timer would be to have a binary counter that will detect if it is at 120 * amount of ticks in a second first, if not then go 1 up and that happens every tick unless a buzzer is active. It is also a lot more accurate, but could use a lot of memory bits.
It is April 14, 2020, I'm in quarantine, and I literally sat down, with a paper and pen, and hand wrote notes for future builds in Scrap Mechanic, and I wrote the Title of this video so I could get some explanations in case I can't figure out how some of these things work. Thanks Kan!
tryin to make a 24 hour timer for my farm and i can't seem to get it quite right. either the repeat messes up and a gate that should be off stays on, or other things go wrong. Just can't get it.
you can make much more "stronger circuits using 1 tick pulse method. if you want to know more check out some of my builds in the workshop. I go by spineless (S.E.L.) in game. although some of my logic circuits are slightly more advance and are lift stable.
literally 23 minute timers one after another, and then just make a motor spin very slowly and put an or gate to activate it every time a timer is on, regulate the speed to make it go one full rotation.
hey Kan this might not makes sense but I'm trying to make it so that if a button is pressed then i click it again it will do a different "Circuit" Then the first one. Not random. Here is an example , I'm trying to make a maze game and i want to make my up button to go up a pixel next time I press it. What would would I do?? Also Nice tutorial!!
Ziegee Gaming [SyNC] Connect the Button to a controller that controls an arm. Then make that arm triggers a sensor every time that arm moves. Set to the sensor to button mode I think... it could be the switch mode, just switch the mode one time after placing it.
Ziegee Gaming [SyNC] You can make a button into a switch using a binary bit. You need 2 conditions: bit is set and button pressed = reset bit, bit is reset and button pressed = set bit
These videos are great Kan, I have to take my time to re watch out to understand (or try to understand) and I'm learning very cool things that may or may not help me with my creations or real life!
Just play creative mode right next to it like I do and google the thing you are trying to understand! I actually was overthinking the NOR function way too hard so it seemed xD
Raphael Kreutle I actually did this already! If you look at my office tower building. I'll do a tutorial on it sometime soon as I never showed building the circuit.
i not know exactly how, but i did a 5 seconds cycle with 1 second activated time. each 5 seconds only 1 seconds actiave... if works very good in my crusher... i make enought time to enemyes of low level waves comes into it and crush then all with only one second time of crush, enought to pistons hit groundn and back until timer resets after 4 seconds... this is advanced someway? i not find tutorial of this kind of stuff, i make it in minecraft easily but here i need some time to find out how to make it properly and probably i did it with more stuff than i need i use 2 timer and 6 logic gates, plus i can put it to be in extended pistons or retracted pistons in off cicly, i prefer retracted, beucase lag is worst when crusher hit the ground and keep contact for long time
I keep seeing him change the and gate to an or gate, it annoys me because there is only one input so it just wastes time. Also at 3:48 when he added the additional and gate, if he had used an and gate in the memory itself he could have just used that
Hey making something that needs the speed of 360 degree controller rotation but only rotates 90 degrees and I thought I could use a timed alternator but I don't know how you make one do you.
When I did this a glitch happened with the logic gates, the NAND gate said Active if any of the linked triggers are inactive and that's what it is, the so the new update broke logic gates, or that's just me, has anyone else ran into this problem?
Is it possible to make a sensor that spins around in a circle on a bearing that tries to track your location in that circle radius while as constantly keeping pointed at you?
Probably not with only 1 sensor, as it only gives an is-in-front-of-me-or-not kind of signal, and not some sort of orientation. I guess it could be made by moving a sensor from side to side rapidly to be able to find the target, but moving something on a bearing from side to side rapidly is not really an option in SM.
Just wanted to ask if you were aware of the delay logic gates and timers have and just ignored it not to "overwhelm" beginners with such details, or you just didn't know about it. The build that you demonstrated for your 2min timer that you used in your other video (from minute 3:00 to 5:00) has a, in my opinion significant variance from the "real" time you want to measure. My calculation: Each "1-second-bit"-tile has a delay of 3 ticks of the status-bit, 2 ticks of the timer and 1 tick of the final and-gate, so 6 ticks delay in addition to your 1-second timer. 1 tick is 1/40 second. ( 120 1-second-tiles * 6 ticks ) / 40 = 18s in addition to your 120s (2minute) timer, which is quite significant for such a small duration. The solution: instead of turning the timers in each! 1-second-bit-tile to 1second or 40ticks, turn them to 34ticks or 0.850s.
I know this is late, but this also annoyed me with his cool down circuit. The ticks it shows in a timer don’t include the extra tick just from the timer. So when it says 1 tick and says 0.25 seconds, it’s actually 2 ticks or 0.5 seconds. If you set it to 0 ticks, then it’s actually 1 tick, but he could’ve just used an OR gate, which is smaller anyway.
hey there kan, is there a way to record the time a sensor is active and right after the sensor has be deactivated to use a device with the time i recorded?
I know that this video was uploaded a long time ago but i just wondered how to make a cooldown circut but the cooldown time would ve longer than the output time?
ok so in minecraft if you hook up a button t a T-flip flop, then connect that Tflip flop to a redstone torch clock. I'm using this for a train for when its driving to make sounds constantly even though I'm only gving it one constant input. basicly I need to know how to do this in scrap mechanic
Mech WARRIOR57 Oh like an alternating circuit that switches between off and on when you activate a switch. all you need is AND gate > Timer > XOR > AND gate. Connect your on / off switch to both the AND gate and the XOR gate. this will alternate at the timer frequency when the switch is on.
Im trying to make a network that uses pulse width modulation to send many signals over a single connection, and its pretty much a pile of timers at this point xD Any chance you can devote a video to what would be the optimal way of controlling and detecting pulse lengths? Im bscly looking for a way to chain 3 timers several times in dynamic order (depending on a set of input switches) so i can just have 1 timer for high, low, and pause-duration, instead of each 3 of those per bit
Hello, thanks for making these vids for noobs like me! I do have a question as i am unable to figure it out. I have a door with one sensor outside and one inside a room. What i want is if I pass by a sensor I would like door to open for 8-10 seconds then close. Can you please demo how i would be able to do that please? Thanks
im making a semi auto gun every i press the button it shoot for 1 thick and it will time delay or reload will 3 second. well reload when i press the button it will not shoot. how to do idk
Say you have a 4 by 11 light connected to or gate And you hooked all this up to 10 other or gates and connected it so each of the 10 or gates will when turned on will make a 0-9 on the board So like a digital clock And so I want a button so when I press the button the number will go up And when I press another button he number will go down I can send you link to the build so you can see what I'm talking about I'm just stuck at this part Thanks kan
kAN Gaming so basically I'm using this which I made and saved it and one module is ganna be button up and button down on each so I can do that from front next module is clock so I press button and it starts clock That's the plan On the back I used switches that was just temporary so I can test make sure the stuff works
I know a lot about logic. I learned it myself an now I'm doing electronics. In Minecraft I made a word processor and now in Scrap Mechanic I'm trying to make a console. But it would be great if you could make a screen whith a i/o bus compatible with an 8 bit very simple computer! That would be very helpful. I already tried it but kind of failed unfortunately
i seem to watch these vids and feel comfortable to go out and make something similar, and feel like i understand what each logic gate is actually doing . but then i go and try to make a creation thats different then what you show in these vids, i realize i really still dont understand what logic gates are actually doing to be able to create my own circuit.
kAN Gaming Haha yes and it is definetly inspiring! It's just pretty hard in the beginning of learning this. Are you self tought or do you have some kind of work or education related to this?
Simon Fröjmark Little bit of both. I took mechanical engineering in university so we had a few basic programming courses but I got into robot programming and thus taught myself everything I didn't learn in school
Thought it was something like that. Anyways, theese videos are really good! Think I'm going to try building some kind of self-driving car or hovercraft soon, it's most likely going to take me a looooong time.
Nice tutorial man. It gave me a thought of making a Gatlin gun with a cool down timer connected to a hidden brazier (for Trailmakers in this case) to show a flaming barrel and smoke while it "cools down"
Hey dude, I always loved scrap mechanic but recently I've gotten bored with it. I can't build, I can't make decent creations, therefore I would get bored very quickly. But I've watched this video, and then led off with other and more advanced ones and now I am fairly decent with logic gate principals. Thank you for the help and I hope you continue your tutorials to teach other people like me.
7:30 I spent a few hours trying to figure that out yesterday and I gave up and did something else. You make it look easy.
12:45 I tried it and when I send a 1 tick pulse into the binary thing it starts flashing.
I've been playing a bit with the NOR -> NOR -> OR and back and it seems it sometimes needs a double input on the NOR connected to the button.
I fixed that by having a timer connected to the button with a 200ms delay so it gets one from the button and another one from the timer after 200ms.
After more testing you can take it down to 100ms. Lower then that and It'll fail to correct the pulsing.
@@justinmean7370 Kan has another video about the memory bits explaining exactly how to fix that issue ;) I think the video is logic 101 or smth like that
The sensor memory bit has a flaw: if it is not through the 1 sec period, it'll pulse the thruster. My solution to that would be to hook the output of the NOR gate (the one, which goes into the other NOR gate in the memory bit) into the interrupt timer's NOR gate, resetting the timer (it could still pulse, if the sensor detects you after less, than .1 sec, and the second solution is to cut the last timer into 2 separate interrupt timer segments, making the one in front .075 sec, the one in the back .025 sec)
just a note, i've had to rewind this over 90 times cause of how fast you connect and switch things
nice.. could be fun if you showed how we made the circuits back in the days before logicblocks too.. i still use alot of the old systems ;)
maybe logicblocks looks confusing but damn.. some of those big gizmos we made then ... all mechanical :) and with no weld tool an error was fatal
lol wow I am going to have to watch this 100 times to absorb all this gold you are sharing lol
for the pictionary you could have made a 1 second loop that stops when you buzz in that will increase a binary setup and then once that reaches a certain value you reset it, much less time consuming and easier to make.
Great stuff! Love seeing the logic block side.
A better way to do the timer would be to have a binary counter that will detect if it is at 120 * amount of ticks in a second first, if not then go 1 up and that happens every tick unless a buzzer is active. It is also a lot more accurate, but could use a lot of memory bits.
Thanks for the tutorial kAN!
I understand logic gates a lot better now!
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!
It is April 14, 2020, I'm in quarantine, and I literally sat down, with a paper and pen, and hand wrote notes for future builds in Scrap Mechanic, and I wrote the Title of this video so I could get some explanations in case I can't figure out how some of these things work. Thanks Kan!
The sensor + thruster thing is like a FULL BRIDGE RECTIFIER (ElectroBOOM) with a capacitor
tryin to make a 24 hour timer for my farm and i can't seem to get it quite right. either the repeat messes up and a gate that should be off stays on, or other things go wrong. Just can't get it.
Use the interrupt timer with a w s converter and make a car with driving lag
is it possabile to select a grid then be able to shoot at that grid, kinda like the way the game battle ships work
I wish axolot just added a way to make a timer cancel instantly for the scanner logic
Or maybe have sensors have adjustable cones?
you can make much more "stronger circuits using 1 tick pulse method. if you want to know more check out some of my builds in the workshop. I go by spineless (S.E.L.) in game. although some of my logic circuits are slightly more advance and are lift stable.
😅 Could I just hook up the button to the thrasher to make it turn on and of when button isnt pressing
Like the scanner part I would use it for radar
hey @Kan, how would you make a clock out of pipe gears to make a full day cycle to make your farm autoplant again (on the Survival mode)?
literally 23 minute timers one after another, and then just make a motor spin very slowly and put an or gate to activate it every time a timer is on, regulate the speed to make it go one full rotation.
@@Marco-yk8kp hour hand moves one tick every 12 minutes
Why can't you teach logic at my college? You're a lot better than my teacher lol
Mad Joe Mak LOL teachers alot of the time don't have to use the theory so they suck at explaining how to use the theory :P
hey Kan this might not makes sense but I'm trying to make it so that if a button is pressed then i click it again it will do a different "Circuit" Then the first one. Not random. Here is an example , I'm trying to make a maze game and i want to make my up button to go up a pixel next time I press it. What would would I do?? Also Nice tutorial!!
Brixntx Gaming binary adder, Kan made a video on it I'm pretty sure
It's called like "selector array" or something like that
How to make a button = switch? Kan please help!
Ziegee Gaming [SyNC] Connect the Button to a controller that controls an arm. Then make that arm triggers a sensor every time that arm moves. Set to the sensor to button mode I think... it could be the switch mode, just switch the mode one time after placing it.
Ziegee Gaming [SyNC] You can make a button into a switch using a binary bit. You need 2 conditions: bit is set and button pressed = reset bit, bit is reset and button pressed = set bit
Ill show this in my next tutorial video.
create a t-flipflop, circuits can be found on google :p
Thanks guys i really appriciated
Used this to make a doorbell!
These videos are great Kan, I have to take my time to re watch out to understand (or try to understand) and I'm learning very cool things that may or may not help me with my creations or real life!
Just play creative mode right next to it like I do and google the thing you are trying to understand! I actually was overthinking the NOR function way too hard so it seemed xD
kAN i want to know how to make a bit circuit where it has a cool down and a limited fire timer
You explain things well
Thanks for this tutorial!! You helped me!
This is so cool
Great tutorial! How do you link this system up with a counter that has memory, would be cool to have on a topfuel track!
Can you make an elevator that goes up in a consistent speed?
Raphael Kreutle I actually did this already! If you look at my office tower building. I'll do a tutorial on it sometime soon as I never showed building the circuit.
Raphael Kreutle that's a great idea elevator in scrap machanic
@@kANGaming cool
anyone else's brain both explode from the amount of thought he put in and melting from the complicated nature of logic gates?
Cool stuff
16:46
i not know exactly how, but i did a 5 seconds cycle with 1 second activated time. each 5 seconds only 1 seconds actiave... if works very good in my crusher... i make enought time to enemyes of low level waves comes into it and crush then all with only one second time of crush, enought to pistons hit groundn and back until timer resets after 4 seconds... this is advanced someway? i not find tutorial of this kind of stuff, i make it in minecraft easily but here i need some time to find out how to make it properly and probably i did it with more stuff than i need i use 2 timer and 6 logic gates, plus i can put it to be in extended pistons or retracted pistons in off cicly, i prefer retracted, beucase lag is worst when crusher hit the ground and keep contact for long time
A binary counter would probably be much better for this
Thank
This was amazing
I keep seeing him change the and gate to an or gate, it annoys me because there is only one input so it just wastes time. Also at 3:48 when he added the additional and gate, if he had used an and gate in the memory itself he could have just used that
Thx
YAY just want I wanted before I pull any more hair out of my head lol
Hey making something that needs the speed of 360 degree controller rotation but only rotates 90 degrees and I thought I could use a timed alternator but I don't know how you make one do you.
M L N Major League Noobz Cool idea! Let me play around and see if I can figure out how to do it.
Wow good job
When I did this a glitch happened with the logic gates, the NAND gate said Active if any of the linked triggers are inactive and that's what it is, the so the new update broke logic gates, or that's just me, has anyone else ran into this problem?
UndercoverPotato same bro ;( broken now
Is it possible to make a sensor that spins around in a circle on a bearing that tries to track your location in that circle radius while as constantly keeping pointed at you?
Probably not with only 1 sensor, as it only gives an is-in-front-of-me-or-not kind of signal, and not some sort of orientation. I guess it could be made by moving a sensor from side to side rapidly to be able to find the target, but moving something on a bearing from side to side rapidly is not really an option in SM.
It's at this very moment... What about, wait......... three bearings.. Bam'
duuuuuuuuudeeeeeeee
no words
haha!
I mean, I kind of did this with an auto turret which has like... 24 sensors if I remember correctly
Make a spud turret with cool down period
Just wanted to ask if you were aware of the delay logic gates and timers have and just ignored it not to "overwhelm" beginners with such details, or you just didn't know about it. The build that you demonstrated for your 2min timer that you used in your other video (from minute 3:00 to 5:00) has a, in my opinion significant variance from the "real" time you want to measure.
My calculation:
Each "1-second-bit"-tile has a delay of 3 ticks of the status-bit, 2 ticks of the timer and 1 tick of the final and-gate, so 6 ticks delay in addition to your 1-second timer.
1 tick is 1/40 second.
( 120 1-second-tiles * 6 ticks ) / 40 = 18s in addition to your 120s (2minute) timer, which is quite significant for such a small duration.
The solution: instead of turning the timers in each! 1-second-bit-tile to 1second or 40ticks, turn them to 34ticks or 0.850s.
I know this is late, but this also annoyed me with his cool down circuit. The ticks it shows in a timer don’t include the extra tick just from the timer. So when it says 1 tick and says 0.25 seconds, it’s actually 2 ticks or 0.5 seconds. If you set it to 0 ticks, then it’s actually 1 tick, but he could’ve just used an OR gate, which is smaller anyway.
how do i loop it ?????
hey there kan, is there a way to record the time a sensor is active and right after the sensor has be deactivated to use a device with the time i recorded?
Latest updates destroyed this logic. I tried to make an AI car but the NAND gates do not behave the way they did. Sad :( please, update this!
I know that this video was uploaded a long time ago but i just wondered how to make a cooldown circut but the cooldown time would ve longer than the output time?
can you give a tutorial for making a clock? one where you press a button/switch and it will give out multiple outputs, I really could use this
Mech WARRIOR57 What do you mean? I'm a little confused about what you are trying to do.
ok so in minecraft if you hook up a button t a T-flip flop, then connect that Tflip flop to a redstone torch clock. I'm using this for a train for when its driving to make sounds constantly even though I'm only gving it one constant input. basicly I need to know how to do this in scrap mechanic
Mech WARRIOR57 Oh like an alternating circuit that switches between off and on when you activate a switch. all you need is AND gate > Timer > XOR > AND gate. Connect your on / off switch to both the AND gate and the XOR gate. this will alternate at the timer frequency when the switch is on.
Hopefully thats what you are trying to do :P
Don't trust edited comments
Im trying to make a network that uses pulse width modulation to send many signals over a single connection, and its pretty much a pile of timers at this point xD
Any chance you can devote a video to what would be the optimal way of controlling and detecting pulse lengths?
Im bscly looking for a way to chain 3 timers several times in dynamic order (depending on a set of input switches) so i can just have 1 timer for high, low, and pause-duration, instead of each 3 of those per bit
5:25 omg the ice cream truck outside played music when the buzzer went on and it was really creepy sound from the ice cream truck
Hello, thanks for making these vids for noobs like me!
I do have a question as i am unable to figure it out.
I have a door with one sensor outside and one inside a room.
What i want is if I pass by a sensor I would like door to open for 8-10 seconds then close.
Can you please demo how i would be able to do that please?
Thanks
Can you make a auto pilot cargo plane ?
Can you make a radar
this is exactly like studying for my tests
I know, right? I sat down and wrote notes by hand like I was studying for an exam. lol
Can you show how the stiffing of suspension helps and what it can be used for
Stiffer suspension is better for off road
No
Cool. i made an elevator on survival thx to this.
im making a semi auto gun every i press the button it shoot for 1 thick and it will time delay or reload will 3 second. well reload when i press the button it will not shoot. how to do idk
How can I get them to activate for only a certain amount of time
It's like loom
my binary bits freak out when i put them on a lift how to solve that issue?
What if you want the socket to go this long and then turn on something
Say you have a 4 by 11 light connected to or gate
And you hooked all this up to 10 other or gates and connected it so each of the 10 or gates will when turned on will make a 0-9 on the board
So like a digital clock
And so I want a button so when I press the button the number will go up
And when I press another button he number will go down
I can send you link to the build so you can see what I'm talking about I'm just stuck at this part
Thanks kan
Send me the link if you can!
sorry hold on thats the wrong one
let me update it for you
HERE SORRY FOR THE TROUBLE;E HERES A NEW LINK
steamcommunity.com/sharedfiles/filedetails/?id=883847405
kAN Gaming so basically I'm using this which I made and saved it and one module is ganna be button up and button down on each so I can do that from front next module is clock so I press button and it starts clock
That's the plan
On the back I used switches that was just temporary so I can test make sure the stuff works
please make a lift that goes in a constant speed using logic gates?
CLASH WITH JADE Yup! I did this before in my office building but I'll make sure to show a proper tutorial on this soon!
kAN Gaming Logic timers and gates make no sence
Thanks KAN
I subbed
I know a lot about logic. I learned it myself an now I'm doing electronics. In Minecraft I made a word processor and now in Scrap Mechanic I'm trying to make a console. But it would be great if you could make a screen whith a i/o bus compatible with an 8 bit very simple computer! That would be very helpful. I already tried it but kind of failed unfortunately
It matters how you connect logic blocks and timers one to another (in general_)
How about a rapid fire timer kind of like a clock
i seem to watch these vids and feel comfortable to go out and make something similar, and feel like i understand what each logic gate is actually doing . but then i go and try to make a creation thats different then what you show in these vids, i realize i really still dont understand what logic gates are actually doing to be able to create my own circuit.
how do I make a t-flip flop?
this is a good video but it's not helping understand how they work
That's not the point of the video...
hello kan
Omar Mahin Hi!
Hi I'm Jevans4434 I just comment on videos and like and subsribe
kAN Gaming I made a UFO kAN it uses up thrust and tilting
For the first circuit I think it would be better to use a synchronous clock with flip flops jk master slave
Every time he says "really simple" I can feel myself getting more stupid
Simon Fröjmark I'm just trying to make logic seem a little less intimidating :P
kAN Gaming Haha yes and it is definetly inspiring! It's just pretty hard in the beginning of learning this. Are you self tought or do you have some kind of work or education related to this?
Simon Fröjmark Little bit of both. I took mechanical engineering in university so we had a few basic programming courses but I got into robot programming and thus taught myself everything I didn't learn in school
Thought it was something like that. Anyways, theese videos are really good! Think I'm going to try building some kind of self-driving car or hovercraft soon, it's most likely going to take me a looooong time.
Why do you call everything SO simple? It’s not simple at all!
67th lol
201 veiw! lol
8th
this was way over complicated. could of just explained the senser one with 1 or two timers..
nerd
get 'im!
you're just dump
relax, we are friends, it's called a joke.