??? 04/04/07 16:31 Read: times |
#136617 - I don't know why,... Responding to: ???'s previous message |
your buzzer turns-on for only 1 second, but I can tell you why you should use a PNP:
Please have a look into the datasheet of your micro and look what happens if the micro is reseted. You will find, that (when using a standard 80C51) all port lines are set high (P1,2 and 3), respectively set off (P0). That means, that your buzzer turns-on when you reset the micro, for instance, during power-on. So, whenever you power-on the micro, the buzzer will be activated for a brief period of time. And if you use a reset chip, then also during/after power dips and power-downs your buzzer will turn-on for the duration of power failure occurence (enough supply voltage assumed, of course) and reset active time. Do you want this? Another reason to avoid the NPN circuit you have chosen is, that the base emitter turn-on voltage will make tear down the potential at port dangerously close to the trip point, where the internal port circuitry of 80C52 turns-off the weak internal active pull-up, to save current. So, what works with your current set-up might fail with your next. This issue was already discussed: http://www.8052.com/forum/read.phtml?id=120493 Kai |
Topic | Author | Date |
how to use a simple buzzer? | 01/01/70 00:00 | |
Try it ? | 01/01/70 00:00 | |
that worked, but... | 01/01/70 00:00 | |
current | 01/01/70 00:00 | |
When you've found the current requirement... | 01/01/70 00:00 | |
Buzzer connections | 01/01/70 00:00 | |
Drivers | 01/01/70 00:00 | |
will try it and get back... | 01/01/70 00:00 | |
If the buzzer draws lots of current... | 01/01/70 00:00 | |
Quote | 01/01/70 00:00 | |
Correct | 01/01/70 00:00 | |
ok... | 01/01/70 00:00 | |
Numerous options ... | 01/01/70 00:00 | |
only have 5V supply | 01/01/70 00:00 | |
it might prove interesting ... | 01/01/70 00:00 | |
Because you took a NPN instead of PNP... | 01/01/70 00:00 | |
will try this | 01/01/70 00:00 | |
kai | 01/01/70 00:00 | |
I would use a PNP | 01/01/70 00:00 | |
Do yourself a favor ... try it as he suggests! | 01/01/70 00:00 | |
we all did some such thing ONCE, I believe | 01/01/70 00:00 | |
hmmm.... | 01/01/70 00:00 | |
I don't know why,...![]() | 01/01/70 00:00 |