activate relay depending on number of beeps from a buzzer

MisterBill2

Joined Jan 23, 2018
27,607
the end goal is to activate one button or another, either by sending 12 to the buttons switched wire or with a relay between the buttons wires. the activation must be momentary. The source I want to use is the buzzer on a different product. When it beeps twice in quick succession i want to activate button 1, when it only beeps once I want to activate button two. How might I do this without making things too complicated or spending too much money? I could probably just get an Arduino but they are $20 ish and Ide rather not spend that much. This is also in my car and i would rather something that won't drain my car battery if I'm not careful and can run on 12v. Any help is appreciated.
I recently posted the circuit description on another thread on this forum.
The circuit is called a "Tri-flop" and it has been used in a standard product of my company for most of 20 years. The first pulse activates the first output, the second pulse adds the activation of the second output, and after an RC time delay both outputs reset to off. If one pulse only is received, only the first output is activated and it resets after a different RC time delay. The components cost is low, the reliability is very good, the main limit is that the outputs are CMOS device outputs and so they need additional buffering for most applications.
 

danadak

Joined Mar 10, 2018
4,057
resistor calculation would be R= (12v-10v)/(1mA+20mA)=0.000021? does that sound right?
(12 - 10)/.021 = 476 ohms, approximately, use closest value.


wait Is 10v the Vz(max) or the Vz(min)?
When you choose zener its spec sheet will give you nominal and worst case.


I dont think this has a flyback diode, but what would i look for if i were to get a seperate one?
Just add an external diode. 1N4002/3/4 any would do.


Regards, Dana.






 

Thread Starter

MTFT

Joined Mar 6, 2020
11
I recently posted the circuit description on another thread on this forum.
The circuit is called a "Tri-flop"
Would you mind linking that post or summarizing how to build it here?
take a look at block
GUI programming languages
I regularly use c# and Java, is it anything like those or completely different?
also, I believe that is most if not all of the info needed, thanks so much!
ill double check when I get home and start ordering parts
 

danadak

Joined Mar 10, 2018
4,057
Stick with C then. But the block programming languages can be used
for real quick jobs of simple complexity. I use them along with C.

Note a couple of them allow, if Arduino tethered to PC, to speak strings.
So talking voltmeter, pulsemeter.......trivial to do.


Regards, Dana.
 

MisterBill2

Joined Jan 23, 2018
27,607
Would you mind linking that post or summarizing how to build it here?

I regularly use c# and Java, is it anything like those or completely different?
also, I believe that is most if not all of the info needed, thanks so much!
ill double check when I get home and start ordering parts
OK, in short, there is a cascade of two "D" flipflops, with the resets tied to a dely capacitor, and when each is toggled to a high output, a high value resistor slowly charges the reset line until the FFs reset. So really it is justa string of two "flop-shots", which I did not invent. But it works very well.
 

Thread Starter

MTFT

Joined Mar 6, 2020
11
OK, in short, there is a cascade of two "D" flipflops, with the resets tied to a dely capacitor, and when each is toggled to a high output, a high value resistor slowly charges the reset line until the FFs reset. So really it is justa string of two "flop-shots", which I did not invent. But it works very well.
Thanks, I'll look into it before ordering parts and let you guys know how it worked out.
 
Top