1. If you're looking for help-related things (for example, the key rebinding tutorial), please check the FAQ and Q&A forum! A lot of the stickies from this forum have been moved there to clean up space.

[Guide] Advanced Wiring Guide

Discussion in 'General Discussion' started by SeaJay, Dec 24, 2013.

Thread Status:
This thread has not been replied to for more than 90 days.

[Guide] Advanced Wiring Guide

Discussion in 'General Discussion' started by SeaJay, Dec 24, 2013.

  1. Nate McCloud

    Nate McCloud Big Damn Hero

    I've been thinking about making a combination lock that uses serial input to enter the password (in this case, the binary form of the server's IP address), with an SWS indicating whether a 0 or 1 bit will be inserted, and a SWB shifting all bits to the right by one and inserting the bit indicated by the SWS at the leftmost bit. Would that be possible? I know that if it is, then most likely, the SWS would be linked to the input node of the input latch, and the button would be linked to the clock...but that's where I'm stumped.

    I'm guessing each bit would be represented by a latch, the SWB would be linked to the clock node of each latch (including the input latch), and the output of each latch except the final would be linked to the input of the next latch, as well as to a light to indicate whether it's 0 or 1. However, with no kind of delay between each clock, I'm not sure whether or not that would simply cause every bit to be 0 or 1, or would actually shift the bits over.

    EDIT: I got the data register working!
    [​IMG]
    Here, we have an SWS linked to the input of the first bit latch, and the output of each bit latch linking to the input of the next digit's bit latch. The switch is used to determine the input. The floor button is used to shift the bits to the left, and insert the data from the SWS into the rightmost bit, is first put through a pulse shortener, and the pulse is sent through a series of 3-tick delays, each linking to the clock of a bit latch, starting with the leftmost one (so that we don't just end up filling up the entire register with all 1s or all 0s).

    To put this circuit to use, you flip the SWS up for a 1 bit, or down for a 0 bit, and then press the button. All bits will shift to the left, with the leftmost bit dropping off, and the new bit will be inserted on the right side.

    EDIT: Further experimentation proved that the delay circuit is completely unnecessary--just connect the output of the pulse shortener circuit directly to the clock inputs of each latch! They will all update at the same time, and won't propogate all 1s or all 0s to every bit! This is also much more compact and less memory-intensive thanks to fewer wires!
      Last edited: Feb 7, 2014
    • Dethon

      Dethon Void-Bound Voyager

      SWS don't work for me. I can toggle them manually, but they don't react to incoming pulses.
      • I hate to sound like a hypocrite but after all that talk about becoming a SB wiring guru I've yet to wire ANYTHING in game :(. I've been too busy progressing with my toons to do anything else. This guide is pretty awesome though, thanks for writing it up I'll be sure to use it when I get around to it :rofl:.
        • Nate McCloud

          Nate McCloud Big Damn Hero

          The reason it doesn't show up anymore is that, for some reason,
          Code:
          { "item" : "smallwallswitch" },
          is no longer in player.config. Adding that back in and re-using the upgrade chip that unlocks that tier of recipes will allow you to craft them once again.
          • sunnydan

            sunnydan Intergalactic Tourist

            SWS's input is not functioning for me.
            • Nate McCloud

              Nate McCloud Big Damn Hero

              This makes the wonder if that's the reason it was removed from the list of craftables--so it could be fixed before it was added back.
              • Kick_04

                Kick_04 Tentacle Wrangler

                Thanks for the guide on SWS... I just started building my high security USCM moon base. But I was able to get the entrance I wanted. I have it wired so that when I hit the button outside the base (or the pressure sensor inside), the glitch trapdoors will close for about 4 seconds (just barely enough time to run across)

                [​IMG]
                • hainsay

                  hainsay Tentacle Wrangler

                  Is there a way to make a pulse extend longer than "-> (NOT and AND in feedback) -> NOT ->" does without using an SWS (since SWS's probably aren't working and certainly aren't craftable at the moment). Looking to extend out to about 3 seconds instead of about 1.5
                  • hainsay

                    hainsay Tentacle Wrangler

                    Ooh I had a flash of inspiration and found one. I'll edit this to post it in a few minutes

                    [​IMG]
                    [​IMG]

                    Luckily it's exactly 4 seconds :p. Don't ask me how it works.
                      Last edited: Mar 25, 2014
                    • Captn

                      Captn Orbital Explorer

                      Hey, thanks for the guide. I've only just completed my first character(getting to tier 10), and I've started to get into the building aspect of the game. Now I know how to wire traps and locks in to my bases. This is going to be fuuuun >:]
                      Thread Status:
                      This thread has not been replied to for more than 90 days.

                      Share This Page