Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: aruna1 on July 31, 2009, 08:29:11 PM
-
hey guys can you tell me how to make a very simple buzzer so there will be a beep each time my 12F675 increment count by one and high its A1 pin? i need very small(i don't have too much space so NE555 is not going to fit :() and very simple circuit.simple and single "beep" is enough.
i have following code part in it
output_high(PIN_A1);
delay_ms(100);
output_low(PIN_A1);
what i want is to hear a beep when this code part run.
and i have this motherboard speaker. can i use it for this?
thanks
-
well, if its just a small piezo... it will work fine.
have you got the datasheet for it?
-
well i couldnt find any datasheet for it.
but i found some info in here
http://www.central-stock.com/InventoryCatalog/part-HCM1206.htm (http://www.central-stock.com/InventoryCatalog/part-HCM1206.htm)
anyway can someone suggest a circuit?
-
if an NE555 timer chip wont fit i don't know what you are going to do. Most likley the next step down is a micro ic which is really really hard to work with but it is really small so it will fit.
Have a look on the texas instruments web site
-
i couldn't get any info from that link :-\ does it require a certain pulse to go off, or just current applied to its poles?
if it doesn't draw too much current you could hook it up to an I/O pin directly...
and if it requires a certain pulse, you could probably use a pwm pin...
-
well i just made one.i'll post schematic here in a moment
-
here it is.tested and working fine. :)
(http://i25.tinypic.com/ehfcw3.jpg)
-
if you want the easy way to get a timer you can get MCUs that have them in built, and it dose not use up any space
-
well i have used all the pins(12F675)
-
so how did you expect to control the buzzer?
would you have it connected to the A1 pin?
-
i can power up the circuit through a transistor (i can use my count output pin)