Simple Delay/Presicion Question about a switch(pic included)

Thread Starter

Selportion

Joined Mar 21, 2011
8
The circuit is as below:
http://img98.imageshack.us/i/circuitc.jpg
(Using ~6VDc, simple wiring, 2 proper NAND gates and big resistors)


  • I want (D) to become (0) if the switch between (A)-(B) closes by itself (C is 0, its negative 1, B becomes 1, so D turns 0)
  • I want (D) to become (1) if the switch closed while touching (C) also. (C becomes 1, its negative 0, B becomes also 1, so D remaings 1)
The problem is that on the 2nd occasion there are some microseconds that the switch is closed before (C) is fully triggered or (C) gets untriggered before the switch fully opens, so for some fragments of time (D) becomes (0), unwanted, and triggers 555s and other circuits after that.

I cannot fix that mechanically/physically. Do you think there is any simple electronic solution like with capacitors and resistors or something? I want to avoid more 555s.

Any help is welcome and appreciated!:)
 

debjit625

Joined Apr 17, 2010
790
Didnt understood make it a bit clear,like as per your circuit you have two input "B" and "C" and one output "D" now just write a truth table for that (its easy) after that we may help you with your circuit.

Good luck
 

Thread Starter

Selportion

Joined Mar 21, 2011
8
Ok here's more clear. B,C inputs / D output. I want:
B C D
0 0 1 <<natural state>>
0 1 1
1 0 0 <<Switch A-B closed>>
1 1 1 <<Switch A-B closed with C touching>>

But on the occasion of (B=1/C=1) for some milliseconds it turns D=0 because
-> C delays becoming 1 on touch or
-> C becomes 0 too fast before B becomes 0 on release.
so it jumps for an instance to the 3rd state.
 
Last edited:

debjit625

Joined Apr 17, 2010
790
What is the application of this circuit because what you are asking for its not much problem in general circuits but in some case it is so, it will helpfull for us if you provide some info about the system where you are using this stuff.
 

Thread Starter

Selportion

Joined Mar 21, 2011
8
It's a game in which a button sometimes hits targets or sometimes environment stuff. But i cannot intervene with the touching mechanism, i need something to delay B turning 1 and delay C going back to 0... Is there any way with capacitors, resistances or something?
 

CDRIVE

Joined Jul 1, 2008
2,219
Top