My buzzer is causing disorder

I am making a thermometer with an arduino uno. When the temperature reaches a certain temperature, a buzzer activates. The problem is that when the buzzer is activated, my temperature value becomes unstable (It goes to higher values than the actual normal value of the temperature).
I tried to use a condensator but the temperature with the buzzer ON remains unstable.
Does anyone know how to fix this?

What type of buzzer is it ?
How is it powered ?
How is it connected to the Uno ?
How is the Uno powered ?

That type of buzzer:
I have one wire that goes from the digital pin 13 of my arduino to the buzzer and an other connected to GND.
and the Uno is powered by my computer with usb

Buzzer resistance = 16 Ohms
Voltage applied to Buzzer = 5 V

Output pin current = V / R = 5 / 16 = 0.3125 Amps.

That is 315mA, the output pins are rated at 40mA max.

You are overloading the Uno.

Tom... :smiley: :+1: :coffee: :australia:

thx :pray:

Also, my buzzer is making a weird noise for a second when i'm booting the Uno. it's a short "tik tik tik tik" sound. Can i remove it?


Use a pin other than D13.

Tom.... :smiley: :+1: :coffee: :australia:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.