A
A ELLIS UK
- Jan 1, 1970
- 0
Hi Group
Can anyone give me some advice? I have just built a device that triggers a
microcontroller when you tap the box it is mounted in. The trigger circuit is
so simple, it worries me that I am missing something? The transducer is just a
piezo disc coupled to the base of an NPN transistor by a 100n cap, a resistor
(4M7) is also connected to the base and + 5V. The transistor has a pull-up
resistor from its collector and that's basically it.
It works, but as the piezo disc could make some high voltages, do I need to add
any protection to the trigger circuit? I would think that the transistor would
buffer the micro input from any harmful over voltage? Should I add a current
limiting resistor to the transistor's base, even though it's AC coupled? Can
anyone see any potential problems with my scheme and if so advise how to solve
them?
Thanks in advance for any help.
Regards
Chris H
Can anyone give me some advice? I have just built a device that triggers a
microcontroller when you tap the box it is mounted in. The trigger circuit is
so simple, it worries me that I am missing something? The transducer is just a
piezo disc coupled to the base of an NPN transistor by a 100n cap, a resistor
(4M7) is also connected to the base and + 5V. The transistor has a pull-up
resistor from its collector and that's basically it.
It works, but as the piezo disc could make some high voltages, do I need to add
any protection to the trigger circuit? I would think that the transistor would
buffer the micro input from any harmful over voltage? Should I add a current
limiting resistor to the transistor's base, even though it's AC coupled? Can
anyone see any potential problems with my scheme and if so advise how to solve
them?
Thanks in advance for any help.
Regards
Chris H