PhillDubya
New Member
Hey guys,
I am currently working on a project where pulses need to be counted down from a predetermined (programmable) number. The counted pulses are generated from a 555 timer which is fed by a condenser mic. (which picks up beeps), connected to an lm741 op-amp for amplification, and then these activate the monostable one-shot. This part of the circuit I have completed, although I am still trying to figure out how to adjust the sensitivity, yet that is unrelated right now.
I am just wondering what your ideas would be as the easiest way to set-up a programmable counting device?
I started out with the idea that cascaded decade counters would be best, but it got seriously complicated, when I started looking at ways to output the count to a 4 digit C.A. display, and then activate a circuit when the predetermined count was reached. Which led to an MCU.
I am currently looking at a PIC or MSP430, however, I believe the PIC in this case would be plenty capable.
Would anyone have any ideas as to which pick would be the best?
An idea, conceptually of some suedo-code or conceptual code?
Thanks in advance for your time,
Phill
I am currently working on a project where pulses need to be counted down from a predetermined (programmable) number. The counted pulses are generated from a 555 timer which is fed by a condenser mic. (which picks up beeps), connected to an lm741 op-amp for amplification, and then these activate the monostable one-shot. This part of the circuit I have completed, although I am still trying to figure out how to adjust the sensitivity, yet that is unrelated right now.
I am just wondering what your ideas would be as the easiest way to set-up a programmable counting device?
I started out with the idea that cascaded decade counters would be best, but it got seriously complicated, when I started looking at ways to output the count to a 4 digit C.A. display, and then activate a circuit when the predetermined count was reached. Which led to an MCU.
I am currently looking at a PIC or MSP430, however, I believe the PIC in this case would be plenty capable.
Would anyone have any ideas as to which pick would be the best?
An idea, conceptually of some suedo-code or conceptual code?
Thanks in advance for your time,
Phill