
Zambozoo
952
2
1
For Nintendo LABO.
Detects if an input has been ON or a certain amount of time.
Top Left Counter: Constant Analog Counter
Top Right Counter: Analog Output Counter
Bottom Counter: Digital Output Counter
How it works:
-The NOT gate holds the Output Counters at 0 until the input is ON.
-When the input is ON, the counters begin to count at a rate determined by the Constant Analog Counter.
-When the Digital Output Counter hits 100 it send out a signal.
-When the input turns OFF, the Output Counters are reset by the NOT gate.
The Constant Analog Counter determines the time you need to sustain the input for. The equation is:
RATIO = 100 / TOTAL COUNTER UNITS
From my experiments, a counter unit is basically 0.01 second (It might be 0.02 seconds, don't quote me). The equation is then:
RATIO = 1 / SECONDS
For example, in the video I wanted the sustained input to be 1.5 seconds. The ratio is then 2/3, so I made the Constant Analog Counter at 2 on a scale of 0 to 3, or 2/3. Sorry if you don't understand how to make that work out.
For less than a second, see the page where I first discussed these here :
https://imgur.com/a/UvpqYZm
gleely
what is this?
Zambozoo
Sorry, the post was incomplete. It's a circuit in the Toycon garage of Nintendo LABO that detects when an input has been on x seconds.
gleely
Cool! what does that mean
Zambozoo
Have the player hold down a button for a second before doing something, and provide feedback that increases per time.
gleely
Nice!