Advanced Timers and Scanner Logic Tutorial! (Scrap Mechanic

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 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

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

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

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

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

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

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

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

  • @techsbyglebbagrov7470
    @techsbyglebbagrov7470 4 года назад

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

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

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

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

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

  • @fatecate8196
    @fatecate8196 7 лет назад +8

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

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

  • @VKURDR
    @VKURDR 4 года назад

    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

  • @aussiewater
    @aussiewater 6 лет назад

    Like the scanner part I would use it for radar

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

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

  • @imeldareyesjay4107
    @imeldareyesjay4107 3 года назад

    16:46

  • @JACKHARRINGTON
    @JACKHARRINGTON 5 лет назад +2

    Used this to make a doorbell!

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

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

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

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

  • @jackmesser4678
    @jackmesser4678 7 лет назад +1

    This is so cool

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

  • @NaxFax
    @NaxFax 7 лет назад

    Great stuff! Love seeing the logic block side.

  • @Asspect42007
    @Asspect42007 7 лет назад

    You explain things well

  • @noahlowes1164
    @noahlowes1164 7 лет назад

    This was amazing

  • @redtrick-ds5ki
    @redtrick-ds5ki 5 лет назад

    Thank

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

  • @RealLife1971
    @RealLife1971 7 лет назад +4

    YAY just want I wanted before I pull any more hair out of my head 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

  • @Alexander-oh8ry
    @Alexander-oh8ry 5 месяцев назад +1

    A binary counter would probably be much better for this

  • @TheMartinMotion
    @TheMartinMotion 7 лет назад

    Thanks for this tutorial!! You helped me!

  • @sridhargs8919
    @sridhargs8919 6 лет назад

    Make a spud turret with cool down period

  • @Asspect42007
    @Asspect42007 7 лет назад

    Thx

  • @johnmacdonald4451
    @johnmacdonald4451 7 лет назад +1

    Cool stuff

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

  • @solidcoal8131
    @solidcoal8131 3 года назад

    how do i loop it ?????

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

  • @jacksonmiller5002
    @jacksonmiller5002 7 лет назад

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

  • @killstrikegaming1317
    @killstrikegaming1317 6 лет назад

    Can you make a radar

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

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

  • @ragdude7323
    @ragdude7323 7 лет назад

    Wow good job

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

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

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

  • @pretaxprism2418
    @pretaxprism2418 7 лет назад +2

    Can you make a auto pilot cargo plane ?

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

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

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

    • @bgxd7571
      @bgxd7571 7 лет назад

      kAN Gaming Logic timers and gates make no sence

    • @j-a-d-eyt241
      @j-a-d-eyt241 7 лет назад

      Thanks KAN

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

  • @memerbro9616
    @memerbro9616 6 лет назад

    It's like loom

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

  • @dubl33_27
    @dubl33_27 7 лет назад

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

  • @ortiz1131ify
    @ortiz1131ify 7 лет назад

    I subbed

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

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

  • @rockmeoable
    @rockmeoable 4 года назад

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

  • @dikaluluk1
    @dikaluluk1 7 лет назад

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

  • @alexandresimpson7808
    @alexandresimpson7808 6 лет назад

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

  • @MattK2015
    @MattK2015 7 лет назад

    How about a rapid fire timer kind of like a clock

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

  • @WallaWalla-bv3db
    @WallaWalla-bv3db 5 лет назад

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

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

  • @-NoNo.
    @-NoNo. 7 лет назад

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

  • @maythe15015
    @maythe15015 7 лет назад

    how do I make a t-flip flop?

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

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