Hi all
Here's what I'm working on:
' I'm trying to build an alarm that can be suitable for an emergency alert by making a 'two tone' alarm that will toggle every half second between two different frequencies that are variable so as to have a more realistic sound.'
As you know, the hardware come first then the software!
Attached is the amplifier schematics I'm planning to use (I have one BC547B npn transistor and a BC577 pnp transistor, 2k2 resistor, 100uF capacitance) and use PIC16F690 and a (8 ohm, 0.3 W) speaker.
Here's how I'm planning to breadboard it: choose any I/O pin of the uc and connect it to Vin of amplifier, on the other side of amplifier (Vout) connect the speaker and ground the speaker as well via a resistor!
My internet is down at the moment so can't google it for some information...
My fisrt concer is if da way I'm planning to breadboard it is correct? Or I would need extra circuitry? And which resistor value would be suitable to ground the speaker with?
As for the software part, I'm planing to choose 2 different sounding frequencies BUT I'm not too sure which ones??
Now, I'm wondering if, in order to make the sound ramp up and down, I would need to have different magnitudes (5 for instance) for these 2 frequencies and toggle between those magnitudes and looping?
Enough talking for now...
Any comments/ guidance towards the right track would be really appreciated!
Kindly Regards, Eric
Here's what I'm working on:
' I'm trying to build an alarm that can be suitable for an emergency alert by making a 'two tone' alarm that will toggle every half second between two different frequencies that are variable so as to have a more realistic sound.'
As you know, the hardware come first then the software!
Attached is the amplifier schematics I'm planning to use (I have one BC547B npn transistor and a BC577 pnp transistor, 2k2 resistor, 100uF capacitance) and use PIC16F690 and a (8 ohm, 0.3 W) speaker.
Here's how I'm planning to breadboard it: choose any I/O pin of the uc and connect it to Vin of amplifier, on the other side of amplifier (Vout) connect the speaker and ground the speaker as well via a resistor!
My internet is down at the moment so can't google it for some information...
My fisrt concer is if da way I'm planning to breadboard it is correct? Or I would need extra circuitry? And which resistor value would be suitable to ground the speaker with?
As for the software part, I'm planing to choose 2 different sounding frequencies BUT I'm not too sure which ones??
Now, I'm wondering if, in order to make the sound ramp up and down, I would need to have different magnitudes (5 for instance) for these 2 frequencies and toggle between those magnitudes and looping?
Enough talking for now...
Any comments/ guidance towards the right track would be really appreciated!
Kindly Regards, Eric
Attachments
-
7.4 KB Views: 44