1
\$\begingroup\$

I have some circuits in which I have to give two signals (I mean signals as positive) through push buttons to do some work like latch, and it is the only work of these buttons.

I feel that this should have been simpler, pressing just one button to provide two positive currents, one by one to the circuit

current
Fig:1 Currently I need to press switch 1, then switch 2 sequentially, The violet and pink wire is connected to my circuit (which is top secret),the circuit is not closed as it's just to explain

enter image description here
Fig:2 What I really need, is pressing just one button, that produces a signal through the green wire, which goes through some chip/gates* which will produce two signals one by one, these two signals will go to my actual circuit. (top secret)

*this chip/gate refers to the solution/answer I need.
So how to do this with a non-programmable IC/circuits/gates (answer needs to be with simple IC's like shift register)

Note: This is just like shift register with 555 timer, but timer needs to turn on only when there is input from the user (button),and only one cycle/repeat, not forever loop

Timeline/Time graph

enter image description here Note: Gap is required because my circuit cant understand so fast,Even 1s and 3s are needed to be variable according to resistors and capacitors I use

\$\endgroup\$
11
  • \$\begingroup\$ Just wire the button to as many inputs as you need? You want to denounce it though. \$\endgroup\$
    – winny
    May 15 at 7:43
  • \$\begingroup\$ Are you saying that one press of the button produced a pulse on one wire, followed by a pulse on another wire? \$\endgroup\$
    – HandyHowie
    May 15 at 8:10
  • \$\begingroup\$ @HandyHowie I need exactly the same. \$\endgroup\$ May 15 at 11:10
  • \$\begingroup\$ @winny No I do not need that(in fact I have tried it before). what you say will turn on them at the same time(or even at times turn on the second then first button) what I need is to turn on the first then after a gap then the second \$\endgroup\$ May 15 at 11:11
  • 3
    \$\begingroup\$ Then your question is unclear. Draw a truth table or timing diagram of what you need. \$\endgroup\$
    – winny
    May 15 at 15:43

3 Answers 3

1
+50
\$\begingroup\$

enter image description hereenter image description hereI have a nice idea for you. Use two 555 timers, each set up as a one shot and then you can adjust the R and C to get the pulse width you want. The one shots will get triggered and then deactivate and will not respond till the next trigger. One of them should be connected to an input through a NOT gate at the TRIG so that the rising edge will trigger it. Usually, falling edges trigger one-shots made of 555 timers.

Another thing you should do is make an edge detector. This is basically 3 NOT gates connected together to one leg of an AND gate and the input is passed to the NOT gates and the AND gate to give a very short pulse due to the propagation delay of the NOT gates. This gives a rising edge detector. The falling edge detector can be made by replacing the AND gate with a NOR.

enter image description here

enter image description here enter image description here

\$\endgroup\$
18
  • \$\begingroup\$ I have only known that 555 timers trigger infinitely + then -...,how do you make them one shot, can you show the circuit? \$\endgroup\$ May 20 at 11:31
  • 1
    \$\begingroup\$ I will upload it soon. \$\endgroup\$ May 20 at 11:31
  • \$\begingroup\$ Inside the 555 timer lies an SR latch. At first, the R input is 1, so that the Q1 is on, making the capacitor discharge. Then S & R are both 0, so the latch maintains the same state When a falling edge is applied, R=0 and S=1, so the Q1 is off and the capacitor charges. When the falling edge finishes S=0 and R=0, so the 555 timer stays like that. When the capacitor voltage reaches two-thirds of Vcc, R=1 ans S=0, so it discharges . Then S=0 and R=0, so that the latch stays like that till the next trigger. The SR latch is responsible for the one-shot behaviour. \$\endgroup\$ May 20 at 11:37
  • 1
    \$\begingroup\$ The two 555 timers should be used , but they should not be connected together. One 555 timer is on one input, the other is on the other input at the TRIG terminal. \$\endgroup\$ May 20 at 11:41
  • 2
    \$\begingroup\$ You'll need a third 555 to get a 1s gap between both pulses, and perhaps another 4th to avoid having to press the button for 3+ seconds yourself. Unnecessarily large circuit in my opinion, but at least it uses identical blocks so that's something. \$\endgroup\$ May 21 at 9:08
4
\$\begingroup\$

You may adapt the following for your purpose.

Timing Diagram & Schematic credit: All About Circuits

https://forum.allaboutcircuits.com/threads/two-seperate-pulses-from-rising-and-falling-edge.91080/#post-662807

1. Timing Diagram

enter image description here

2. Schematic

enter image description here

\$\endgroup\$
5
  • \$\begingroup\$ To be clear, what are the red, blue, green highlighted parts in this image, I guess red:-ve, blue: 4input NAND gate, green: 2input NAND gate, Am I right? \$\endgroup\$ May 20 at 11:20
  • \$\begingroup\$ Is this a Schmitt trigger? \$\endgroup\$ May 20 at 11:47
  • \$\begingroup\$ @Neptotech-vishnu You'll find the answers in the CD4093 datasheet. \$\endgroup\$
    – Seir
    May 20 at 12:45
  • \$\begingroup\$ @Seir but i understand nothing(I am a Arduino guy,don't know lot on EE) \$\endgroup\$ May 21 at 4:16
  • 1
    \$\begingroup\$ Hi Neptotech -vishnu, CD 4093 is a Quad 2-Input NAND Schmitt Trigger IC i.e. four 2-input NAND Schmitt Triggers in one package. You have highlighted one of them in blue and the other three in green. The four of them are identical. Pin 14 and pin 7 are + 5 V and common (highlighted in red). \$\endgroup\$
    – vu2nan
    May 21 at 6:54
3
\$\begingroup\$

I just tried a solution using a Johnson decimal counter 4017 as sequencer and a couple of 4093 Schmitt-Trigger gates for clock, signal conditioning and locking. It works:

Hardware picture

And this is the schematic of that artwork: Schematic Pulse Sequence

The first gate inverts the input and C01/R02 extracts the falling edge and feeds this into the second gate. The voltage will soon rise again via R02, this makes the circuit independent of the input signal duration.

This second gate can forward the edge only if Q0 of the counter is high (AND gate). This is the case after reset of the counter and all the time this circuit is in standby. The egde (inverted again) enters the third gate and finally feeds the counter's clock input (/CP1).

The counter advances one count, Q0 will be low and lock the input trigger section during the coming sequence. The third gate forms a square wave generator using C02/R03 as long as Q0 stays low (=counting).

This Johnson counter works like a shift register, that moves a single "high" signal along it's outputs. On the way it creates a pulse at Q1, Q2(not used here), Q3 and so on. The pulse at Q2 is the gap between the two used outputs. Q6 finally activates Master Reset (MR) and the game can start again.

C03 has the job to force MR high at power on and R04 will drop down this signal because Q6 is low after counter reset.

Current consumption at 10V standby = 11.5uA, counting = 1.3mA

Have a nice day!

\$\endgroup\$
8
  • \$\begingroup\$ looks promising,will try it soon \$\endgroup\$ May 21 at 4:19
  • 1
    \$\begingroup\$ Make C2 bigger for slower timing, this 4u7 is faster than 1s per pulse \$\endgroup\$
    – Jens
    May 21 at 5:09
  • 1
    \$\begingroup\$ 4.7uF and 1.0uF \$\endgroup\$
    – Jens
    May 21 at 5:16
  • 1
    \$\begingroup\$ There are different families of these logic chips, names startig with CD operate up to 15V (as used in my test), the SN74HCxxx work with the same logic but only up to 5.5V supply. The circuit is the same. Don't use HCT versions here. \$\endgroup\$
    – Jens
    May 21 at 5:20
  • 1
    \$\begingroup\$ And there is C01 with 4n7 = 4.7nF \$\endgroup\$
    – Jens
    May 21 at 5:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.