BG1, PRELOAD BG2, PRELOAD

Results 1 to 5 of 5
  1. #1
    un-imaginative
    Guest

    Default Release Switch [Tutorial]

    This is how to make a 'Release Switch', it detects when a switch is released sending a single signal pulse to the output. It can also be modified to have a delayed trigger after release. This may not be the most useful switch but I needed it in a level I'm working on so I'm sure other people can find a use for it.

    Plus it is really simple to make, all you need is a 'NOT' gate, 2 counters and a timer (the second counter isn't essential but prevented it from glitching).

    Components Set Up:
    Counter #1: Target Count = 1, Current Count = 0, Inverted = NO
    Counter #2: Target Count = 1, Current Count = 0, Inverted = Yes
    Timer: Instant - Target Time = 0.1s, Current Time = 0.0s, Input Action = Start Count Down, Inverted = NO
    _____..Delay - Target Time = Delay, Current Time = 0.0s, Input Action = Start Count Up, Inverted = NO

    Circuit Set Up (As in Image):
    - The Release Switch Input goes into the NOT Gate Input
    - The NOT gate Output goes into the 2 Counter Inputs
    - The Output of Counter #1 goes into the Timer Input
    - The Timer Output goes to the Reset of both Counters as well as the Release Switch Output



    Hope you find this useful, feel free to ask if you have any questions.
    Last edited by un-imaginative; 02-12-2011 at 08:24 AM. Reason: Improvement

  2. #2

    Default

    I made a similar sensor, called it the Signal Change Sensor which sends out pulses on positive/negative signal switches.
    I used 2 timers, each set to "Start Count Down" and had each connected to their own reset input to create the pulse, and connected a the input to the first timer, and it's complement to the second timer.
    The main use of this I think would be to create synchronous systems (implement a clock interface)

  3. #3
    ₪₪₪₪₪₪₪₪₪₪ waD_Delma's Avatar
    Points: 10,926, Level: 31
    Level completed: 54%, Points required for next Level: 324
    Overall activity: 1.0%
    7 days registered 1000 Experience Points 500 Experience Points 250 Experience Points 100 Experience Points
    PSN
    WA_delmaw
    Join Date
    Aug 2009
    Location
    Finland
    Posts
    285

    Default

    Why you use timer to give the pulse? I would only hook NOT gate to counter that resets itself.
    Quote Originally Posted by TheAffected View Post
    IT WAS THE BEST SALMON FLAVORED CHICKEN EVER!!!!
    Quote Originally Posted by chinook3 View Post
    OMG!!!!! ITS GOING TO EXPLODE!!!!!!!!! NOOOOOOOOOOOOOOOOOOOOOOO!!! *gush*pow*

  4. #4
    un-imaginative
    Guest

    Default

    I tried using the self resetting counter, and for some reason it didn't work, at least for the thing I needed it for this seemed to be the simplest solution. It may be because the Counter resets itself too quickly or something, but when I tried that nothing happened

  5. #5

    Default

    My release switch was a little different. Still works though ;]
    Well, RAHRRAHHH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •