Hello, I need a circuit that when a push button is pressed then below square wave is generated four times. Do you have any idea to generate it without using microcontroller and as simple as possible?
Because I need to implement it as cheap as possible!! and also it should be low power because it must used with battery. How much is power consumption of PLDs and how can i program it?
I could generate that with 1% timing accuracy in two components for 0.5 Euro using a PIC 10F200 micro. Current consumption less than 0.5uA when idle and about (200uA+load current) while sending the waveform.
Pulse generator made from 2 invert-gates, capacitor and resistor.
You can send its output through a diode to control a second pulse generator (adjusted for a faster frequency), turning its operation on and off.
To create a one-time startup delay, experiment with various diode-resistor-capacitor networks. Feed its output to control the first (slowest) pulse generator. With careful adjustment of RC values, you can create a time delay that allows 4 beeps, then halts.
- - - Updated - - -
You get six invert-gates in a 4049 or 4069 cmos IC.
I'm with brian.
Take component count, components cost, assembling cost, stock cost, ordering cost, PCB cost ... into account.
With microcontrollers you are most flexible to generate any pulse timings with good precision...
To generate that pulse train four times for each button press would require two multivibrators and a 2-bit counter.
A mico would be a lot simpler and cheaper.
Sure it can be done without ICs but do you have the time and patience to assemble all this? It wont be cheaper for sure.
This is only half the requirements; still need the 2 transistors latch on button and a 'one shot' monostable circuit.