Easily fixed...Worrying about switch bounce.
Once again, when the switch is simply enabling the timer counter, the few milliseconds of contact bounce are not an issue because they just result in the loss of a few milliseconds of a count of 50 to 100 seconds. And a millisecond = 0.001 second. So the error introduced is far less that 0.1%, quite good enough for most scientific measurements. This is not a trigger to start, trigger to stop application.Easily fixed...
It is if following the OP's original plan. I looked for a small, neat, panel timer that starts and stops on a single switch contact. I couldn't find anything suitable, that wasn't a DIN rail mount, or only a 5 digit counter, and was under $60. The best I came up with was this one which is massive overkill and physically much larger AND needs a 24v supply so adding to the cost. Maybe you have better sources.This is not a trigger to start, trigger to stop application.
It will start if the button is help down, and then after a few seconds if you release the button and press and hold it again, it will stop.With that red stopwatch shown, does it function correctly if the start button is pressed and held? and does it stop properly and hold the display if the stop button is pressed and held?
Yes, the one I have here is the same, seems identical to the one you linked to in post #1, same generic chip. I have something breadboarded that seems to work, bit more testing later when I'm finished teaching for the day.It will start if the button is help down, and then after a few seconds if you release the button and press and hold it again, it will stop.
OK, then the solution is at hand. Use the other side of the mains power switch to trigger a long start puls when it switches on and a long stop pulse when it switches off. The pulses being many times longer that the contact bounce time. One IC, not a 555, but a dual oneshot, one triggering on rise and the other triggering on fall. Then an OR function and a driver to interface with the buttons on the timer circuit.Yes, the one I have here is the same, seems identical to the one you linked to in post #1, same generic chip. I have something breadboarded that seems to work, bit more testing later when I'm finished teaching for the day.
Yes, but it needs to run on 1.5v as these timers use an AAA cell.OK, then the solution is at hand. Use the other side of the mains power switch to trigger a long start puls when it switches on and a long stop pulse when it switches off. The pulses being many times longer that the contact bounce time. One IC, not a 555, but a dual oneshot, one triggering on rise and the other triggering on fall. Then an OR function and a driver to interface with the buttons on the timer circuit.


is a switch on the timer. Whichever is the start stop button is the only place you need to connect to the timer. As for the electronics circuitry needed to activate this switch, a simple transistor across the switch should serve to turn it on and off. I believe the circuitry has already been described. The two thin wires shown at the top and bottom of the illustration needs to be connected polarity correct when using a transistor or FET.No, given that the input voltage and current requirements of the timer are as has been posted, the 4538 will not need any output conditioning, only some voltage dropping, most easily done with two diodes forward biased towards common when the input is high. And since each side ot the 4538 has a true and complement output no logic inversion is required.Agreed, it can be done simpler, but I liked the intellectual challenge of meeting the original requirement, using discrete parts as per the original circuit (which couldn't be repurposed) and that ran off the existing battery. I could have equally implemented it with an LMC555 (which will run on 1.5v) instead of Q1/Q2 but you still need Q3 to invert the trigger pulse.
But as the MC14538 it won't run on 1.5v, it will need at least one other AAA battery and an on-off switch, and some signal conditioning on the outputs to 'OR' the two oneshot outputs together and limit it to 1.5v so add 2 diodes, 2 resistors.
![]()
You clearly didn't look at the circuit the OP was asking about in post #1 then. Its not hugely more complex than that, and my understanding - from actually discussing the requirement with the OP rather than thrusting the brilliance of my umpteen years of heavy industrial engineering solutions at the thread without reading/understanding the back story - is that the OP is more than capable of doing this... whether he thinks it worth doing is entirely up to him.And finally, while the circuit in post #75 would work, it is rather complex to be suggesting that a relative newby construct and package. Regardless of any cesign brilliance it still has a whole lot og components and connections.
How long must the button be held down to start the brewing?I am trying to build a circuit that can trigger the starting and stopping of a typical digital timer using a light source as the trigger. I came across an old web page that does almost what I need, but as I know almost nothing about circuits I would like some advise if it will do what I need. This project is for an espresso machine to time how long the espresso water pump is on when making the espresso. The timing range is from 0-60 seconds. I figure I can either use a current sensor to trigger when the pump is activated, or use a light sensor (photodiode/photoresitor) to "see" when a light is activated (by using a LED wired to the pump circuit to illuminate when the pump is on).
The circuit I came across is here
I'm unsure about the value of C1 as it states "value of C1 depends on the exposure time to be measured and on the photo diode used". So would this circuit work for my use on a typical timer like this? Also it says that a photoresistor could be used instead of the photodiode, how would I modify the circuit to work with a photoresistor (my local store sells photresistors, but not photodiodes)?