suicide commando Posted March 29, 2020 Share Posted March 29, 2020 I just came across a little snag that was introduced with Bahni's automation upgrade. Before that upgrade, if you would connect a wire to a NOT gate and one port of an AND gate, with the other end of the NOT gate hooked up to the 2nd port on the AND gate, you'd have an Edge detector. Every time the wire would switch from 0 to 1, the AND gate would briefly send a 1 signal on it's output wire before switching back to 0. With the new animated NOT and AND gates, this no longer works. While I can work around this as I strictly speaking don't NEED one, anyone have any ideas on how to make an edge detector with this upgrade? Link to comment https://forums.kleientertainment.com/forums/topic/116876-edge-detectors/ Share on other sites More sharing options...
Gurgel Posted March 29, 2020 Share Posted March 29, 2020 Use a buffer or filter gate in series with the NOT. I have been doing that all along anyways. That way you also get control over the length of the output pulse. However, I just tried it and at least for me the simple NOT+AND and the NOT+OR edge detectors seem to work. Link to comment https://forums.kleientertainment.com/forums/topic/116876-edge-detectors/#findComment-1320312 Share on other sites More sharing options...
Sasza22 Posted March 29, 2020 Share Posted March 29, 2020 I always used XOR gates for that. Split the input and put a buffer or filter on one side or one on each side for detecting both edges. Link to comment https://forums.kleientertainment.com/forums/topic/116876-edge-detectors/#findComment-1320371 Share on other sites More sharing options...
suicide commando Posted March 29, 2020 Author Share Posted March 29, 2020 3 hours ago, Gurgel said: Use a buffer or filter gate in series with the NOT. I have been doing that all along anyways. That way you also get control over the length of the output pulse. However, I just tried it and at least for me the simple NOT+AND and the NOT+OR edge detectors seem to work. Odd.. the NOT + AND setup doesn't produce any edge pulses for me. Maybe it's something to do with game speed or something. At any rate, I also figured out a new edge detector. if you take the new counting thingamabob, set it to 1, and route the output signal to it's reset. every time the input goes from 0 to 1, the output goes to 1, then resets itself back to 0 with the loop, thus generating a pulse. meanwhile the 1 signal at the input will not trigger anything new as it only triggers the 0->1 signal in the counter. Link to comment https://forums.kleientertainment.com/forums/topic/116876-edge-detectors/#findComment-1320392 Share on other sites More sharing options...
Racso5 Posted March 30, 2020 Share Posted March 30, 2020 What is an edge detector and what is its purpose? Link to comment https://forums.kleientertainment.com/forums/topic/116876-edge-detectors/#findComment-1320454 Share on other sites More sharing options...
Saturnus Posted March 30, 2020 Share Posted March 30, 2020 AND+NOT still works but counter set to 1 and reset connected to output is easier. See here 2 hours ago, Racso5 said: What is an edge detector and what is its purpose? It outputs a single pulse of green whenever an input goes green no matter the length of time the input is green. Link to comment https://forums.kleientertainment.com/forums/topic/116876-edge-detectors/#findComment-1320481 Share on other sites More sharing options...
Gurgel Posted March 30, 2020 Share Posted March 30, 2020 3 hours ago, Racso5 said: What is an edge detector and what is its purpose? In electronics (for example), you have level detectors (the output goes active when and as long as the input is in a certain signal range) and edge detectors, where the output goes active for a short time when the input changes in a specific direction. This is, for example, often used to drive a Flip-Flop. Link to comment https://forums.kleientertainment.com/forums/topic/116876-edge-detectors/#findComment-1320483 Share on other sites More sharing options...
Arnadath Posted March 31, 2020 Share Posted March 31, 2020 The AND-NOT configuration always detected rising edge. Or did i miss something? Link to comment https://forums.kleientertainment.com/forums/topic/116876-edge-detectors/#findComment-1320696 Share on other sites More sharing options...
Gurgel Posted March 31, 2020 Share Posted March 31, 2020 13 hours ago, Arnadath said: The AND-NOT configuration always detected rising edge. Or did i miss something? It is a raising-edge detector. For falling-edge use OR-NOT which gives a negative pulse response. Link to comment https://forums.kleientertainment.com/forums/topic/116876-edge-detectors/#findComment-1320798 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.