Sign In

PCB Mount Buzzer Showing Random Nature

Mahesh mktilayacha@gmail.com India

Hardware: Atmega8 Running At 4MHz Internal RC Oscillator Software: C Project Using AVR Studio 4

The thing is I have made a simple circuit using Atmega8 at 4mhz internal clk, have interfaced a PCB mount piezo buzzer with 100ohm resistance with mcu pin. Its working okay one time then it stops working, then when I test the buzzer with external 5V dc it found okay, then again for some time its working fine then again stop working. Is it necessary to interface buzzer via a transistor to mcu pin ?

Images

Replies

R Avinash Gupta
2016-06-03 04:07:34
Yes you should use a transistor like BC548 to drive the buzzer as the MCU pins cannot source that much current.
R Mahesh
2016-06-04 04:32:59
Got that. Thanks Avinash for prompt reply. There is 1 more issue related internal calibrated RC oscillator clk for atmega8.

For the same code of delay, the delay timings varies significantly mcu to mcu. What could be the reason possibly ?
R Avinash Gupta
2016-06-04 05:10:09
Post this query in another request.

Post a reply to Mahesh

Think you can help Mahesh ? Then post your thoughts that might help Mahesh. You will earn a lot of reputation in the technical community.

If your program is in multiple files, then ZIP the entire folder and attach below

Images and Screenshots

These helps other better understand your suggestion.