Advanced Timers and Scanner Logic Tutorial! (Scrap Mechanic

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 138

  • @short0811
    @short0811 2 роки тому +1

    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"

  • @Krebzonide
    @Krebzonide 7 років тому +14

    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.

    • @justinmean7370
      @justinmean7370 4 роки тому

      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.

    • @MogR91
      @MogR91 4 роки тому +1

      @@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

  • @huntingwithhizo6508
    @huntingwithhizo6508 3 роки тому +1

    just a note, i've had to rewind this over 90 times cause of how fast you connect and switch things

  • @Alexrules237
    @Alexrules237 6 років тому +3

    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.

  • @Unknown-Number
    @Unknown-Number 2 роки тому +1

    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)

  • @MrLarsgren
    @MrLarsgren 7 років тому +12

    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

  • @RealLife1971
    @RealLife1971 7 років тому +11

    lol wow I am going to have to watch this 100 times to absorb all this gold you are sharing lol

  • @redpug5042
    @redpug5042 4 роки тому

    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.

  • @cadetkohr5508
    @cadetkohr5508 4 роки тому

    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!

  • @versenova5531
    @versenova5531 2 роки тому

    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.

  • @Omlet221
    @Omlet221 2 роки тому

    I wish axolot just added a way to make a timer cancel instantly for the scanner logic
    Or maybe have sensors have adjustable cones?

  • @LilScrewmatic
    @LilScrewmatic 4 роки тому +1

    Use the interrupt timer with a w s converter and make a car with driving lag

  • @FrogletOW
    @FrogletOW 2 роки тому

    is it possabile to select a grid then be able to shoot at that grid, kinda like the way the game battle ships work

  • @techsbyglebbagrov7470
    @techsbyglebbagrov7470 4 роки тому

    The sensor + thruster thing is like a FULL BRIDGE RECTIFIER (ElectroBOOM) with a capacitor

  • @madjoemak
    @madjoemak 7 років тому +4

    Why can't you teach logic at my college? You're a lot better than my teacher lol

    • @kANGaming
      @kANGaming  7 років тому +4

      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

  • @fatecate8196
    @fatecate8196 7 років тому +8

    Thanks for the tutorial kAN!
    I understand logic gates a lot better now!
    Thanks!!!!!!!!!!!!!!!!!!!!!!!!!

  • @huntingwithhizo6508
    @huntingwithhizo6508 3 роки тому

    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.

  • @lazymaker4518
    @lazymaker4518 7 років тому

    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.

  • @Ryan-zh5iw
    @Ryan-zh5iw 7 років тому

    anyone else's brain both explode from the amount of thought he put in and melting from the complicated nature of logic gates?

  • @NaxFax
    @NaxFax 7 років тому

    Great stuff! Love seeing the logic block side.

  • @VKURDR
    @VKURDR 5 років тому

    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!

    • @justinmean7370
      @justinmean7370 4 роки тому +1

      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

  • @ErickXavier
    @ErickXavier 4 роки тому

    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)?

    • @Marco-yk8kp
      @Marco-yk8kp 4 роки тому

      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.

    • @bonkser
      @bonkser 3 роки тому

      @@Marco-yk8kp hour hand moves one tick every 12 minutes

  • @ArseniiSheremet-tc1zt
    @ArseniiSheremet-tc1zt Рік тому

    😅 Could I just hook up the button to the thrasher to make it turn on and of when button isnt pressing

  • @silentryu9566
    @silentryu9566 7 років тому

    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!!

  • @aussiewater
    @aussiewater 6 років тому

    Like the scanner part I would use it for radar

  • @n3xusman882
    @n3xusman882 7 років тому +4

    Can you make an elevator that goes up in a consistent speed?

    • @kANGaming
      @kANGaming  7 років тому +5

      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.

    • @ragdude7323
      @ragdude7323 7 років тому

      Raphael Kreutle that's a great idea elevator in scrap machanic

    • @superdonutgaming2818
      @superdonutgaming2818 4 роки тому

      @@kANGaming cool

  • @viniciusschadeck2204
    @viniciusschadeck2204 4 роки тому

    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

  • @notcrazyne5551
    @notcrazyne5551 6 років тому

    kAN i want to know how to make a bit circuit where it has a cool down and a limited fire timer

  • @RealLife1971
    @RealLife1971 7 років тому +4

    YAY just want I wanted before I pull any more hair out of my head lol

  • @ziegee
    @ziegee 7 років тому +8

    How to make a button = switch? Kan please help!

    • @birgerjarl4391
      @birgerjarl4391 7 років тому +1

      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.

    • @kANGaming
      @kANGaming  7 років тому +3

      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

    • @kANGaming
      @kANGaming  7 років тому +4

      Ill show this in my next tutorial video.

    • @BrentBatch
      @BrentBatch 7 років тому +3

      create a t-flipflop, circuits can be found on google :p

    • @ziegee
      @ziegee 7 років тому +2

      Thanks guys i really appriciated

  • @Alexander-oh8ry
    @Alexander-oh8ry 6 місяців тому +1

    A binary counter would probably be much better for this

  • @JACKHARRINGTON
    @JACKHARRINGTON 5 років тому +2

    Used this to make a doorbell!

  • @sridhargs8919
    @sridhargs8919 6 років тому

    Make a spud turret with cool down period

  • @thesame6072
    @thesame6072 6 років тому

    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?

  • @TheMartinMotion
    @TheMartinMotion 7 років тому

    Thanks for this tutorial!! You helped me!

  • @suicidalbanananana
    @suicidalbanananana 6 років тому

    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

  • @zyoock
    @zyoock 7 років тому

    Great tutorial! How do you link this system up with a counter that has memory, would be cool to have on a topfuel track!

  • @hyderzamanboi7830
    @hyderzamanboi7830 5 років тому

    this is exactly like studying for my tests

    • @cadetkohr5508
      @cadetkohr5508 4 роки тому

      I know, right? I sat down and wrote notes by hand like I was studying for an exam. lol

  • @dashelrubin-stencel4009
    @dashelrubin-stencel4009 6 років тому

    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

  • @zyth1602
    @zyth1602 7 років тому

    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?

    • @tomasmejia6370
      @tomasmejia6370 7 років тому +1

      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.

    • @zyth1602
      @zyth1602 7 років тому

      It's at this very moment... What about, wait......... three bearings.. Bam'

    • @tomasmejia6370
      @tomasmejia6370 7 років тому +1

      duuuuuuuuudeeeeeeee
      no words

    • @zyth1602
      @zyth1602 7 років тому

      haha!

    • @dashelrubin-stencel4009
      @dashelrubin-stencel4009 6 років тому

      I mean, I kind of did this with an auto turret which has like... 24 sensors if I remember correctly

  • @Rya3D
    @Rya3D 7 років тому

    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.

    • @kANGaming
      @kANGaming  7 років тому +1

      M L N Major League Noobz Cool idea! Let me play around and see if I can figure out how to do it.

  • @JagiUGG
    @JagiUGG 6 років тому

    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!

  • @ramo1484
    @ramo1484 6 років тому

    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

  • @mechwarrior5727
    @mechwarrior5727 7 років тому

    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

    • @kANGaming
      @kANGaming  7 років тому

      Mech WARRIOR57 What do you mean? I'm a little confused about what you are trying to do.

    • @mechwarrior5727
      @mechwarrior5727 7 років тому

      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

    • @kANGaming
      @kANGaming  7 років тому

      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.

    • @kANGaming
      @kANGaming  7 років тому

      Hopefully thats what you are trying to do :P

    • @Octo-1008
      @Octo-1008 7 років тому

      Don't trust edited comments

  • @qmerk2661
    @qmerk2661 4 роки тому

    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.

  • @solidcoal8131
    @solidcoal8131 4 роки тому

    how do i loop it ?????

  • @NotMyAccount
    @NotMyAccount 7 років тому

    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?

  • @sp33dy94
    @sp33dy94 7 років тому

    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.

    • @vibaj16
      @vibaj16 6 років тому

      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.

  • @Asspect42007
    @Asspect42007 7 років тому

    You explain things well

  • @GrenPara
    @GrenPara 6 років тому

    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

  • @ivandelaguardia1
    @ivandelaguardia1 7 років тому +1

    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?

    • @JagiUGG
      @JagiUGG 6 років тому

      UndercoverPotato same bro ;( broken now

  • @jacksonmiller5002
    @jacksonmiller5002 7 років тому

    Can you show how the stiffing of suspension helps and what it can be used for

  • @pretaxprism2418
    @pretaxprism2418 7 років тому +2

    Can you make a auto pilot cargo plane ?

  • @killstrikegaming1317
    @killstrikegaming1317 6 років тому

    Can you make a radar

  • @alexandresimpson7808
    @alexandresimpson7808 6 років тому

    What if you want the socket to go this long and then turn on something

  • @jackmesser4678
    @jackmesser4678 7 років тому +1

    This is so cool

  • @noahlowes1164
    @noahlowes1164 7 років тому

    This was amazing

  • @dikaluluk1
    @dikaluluk1 7 років тому

    my binary bits freak out when i put them on a lift how to solve that issue?

  • @imeldareyesjay4107
    @imeldareyesjay4107 3 роки тому

    16:46

  • @boonxinkok3070
    @boonxinkok3070 7 років тому

    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

  • @redtrick-ds5ki
    @redtrick-ds5ki 5 років тому

    Thank

  • @dubl33_27
    @dubl33_27 7 років тому

    It matters how you connect logic blocks and timers one to another (in general_)

  • @j-a-d-eyt241
    @j-a-d-eyt241 7 років тому

    please make a lift that goes in a constant speed using logic gates?

    • @kANGaming
      @kANGaming  7 років тому

      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!

    • @Pugwc
      @Pugwc 7 років тому

      kAN Gaming Logic timers and gates make no sence

    • @j-a-d-eyt241
      @j-a-d-eyt241 7 років тому

      Thanks KAN

  • @johnmacdonald4451
    @johnmacdonald4451 7 років тому +1

    Cool stuff

  • @WallaWalla-bv3db
    @WallaWalla-bv3db 5 років тому

    How can I get them to activate for only a certain amount of time

  • @Asspect42007
    @Asspect42007 7 років тому

    Thx

  • @rockmeoable
    @rockmeoable 4 роки тому

    Cool. i made an elevator on survival thx to this.

  • @madjoemak
    @madjoemak 7 років тому

    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

  • @noahleiss7899
    @noahleiss7899 7 років тому

    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

    • @kANGaming
      @kANGaming  7 років тому

      Send me the link if you can!

    • @noahleiss7899
      @noahleiss7899 7 років тому

      sorry hold on thats the wrong one
      let me update it for you

    • @noahleiss7899
      @noahleiss7899 7 років тому

      HERE SORRY FOR THE TROUBLE;E HERES A NEW LINK
      steamcommunity.com/sharedfiles/filedetails/?id=883847405

    • @noahleiss7899
      @noahleiss7899 7 років тому

      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

  • @MattK2015
    @MattK2015 7 років тому

    How about a rapid fire timer kind of like a clock

  • @memerbro9616
    @memerbro9616 6 років тому

    It's like loom

  • @ragdude7323
    @ragdude7323 7 років тому

    Wow good job

  • @maythe15015
    @maythe15015 7 років тому

    how do I make a t-flip flop?

  • @-NoNo.
    @-NoNo. 7 років тому

    this is a good video but it's not helping understand how they work

    • @ultravince_xxi
      @ultravince_xxi 5 років тому

      That's not the point of the video...

  • @omarmahin1337
    @omarmahin1337 7 років тому

    hello kan

    • @kANGaming
      @kANGaming  7 років тому

      Omar Mahin Hi!

    • @Octo-1008
      @Octo-1008 7 років тому

      Hi I'm Jevans4434 I just comment on videos and like and subsribe

    • @Octo-1008
      @Octo-1008 7 років тому

      kAN Gaming I made a UFO kAN it uses up thrust and tilting

  • @ortiz1131ify
    @ortiz1131ify 7 років тому

    I subbed

  • @zaldi5914
    @zaldi5914 7 років тому

    For the first circuit I think it would be better to use a synchronous clock with flip flops jk master slave

  • @simonf943
    @simonf943 7 років тому

    Every time he says "really simple" I can feel myself getting more stupid

    • @kANGaming
      @kANGaming  7 років тому +1

      Simon Fröjmark I'm just trying to make logic seem a little less intimidating :P

    • @simonf943
      @simonf943 7 років тому

      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?

    • @kANGaming
      @kANGaming  7 років тому

      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

    • @simonf943
      @simonf943 7 років тому

      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.

  • @jarvishalo
    @jarvishalo 6 років тому +1

    Why do you call everything SO simple? It’s not simple at all!

  • @qmerk2661
    @qmerk2661 4 роки тому

    this was way over complicated. could of just explained the senser one with 1 or two timers..

  • @GlenJHenderson
    @GlenJHenderson 7 років тому

    67th lol

  • @Sammy-ws9re
    @Sammy-ws9re 7 років тому

    201 veiw! lol

  • @netanel_dureb6020
    @netanel_dureb6020 7 років тому

    8th

  • @kosmoto
    @kosmoto 7 років тому

    nerd

    • @kosmoto
      @kosmoto 7 років тому

      get 'im!

    • @rimmertf
      @rimmertf 7 років тому

      you're just dump

    • @kosmoto
      @kosmoto 7 років тому

      relax, we are friends, it's called a joke.