Skip to main content

Questions tagged [buzzer]

An electrical device, similar to a bell, that makes a buzzing noise and is used for signaling.

0 votes
1 answer
130 views

Buzzer keeps buzzing even though the sensor doesn't detect anything

through the code that I've listed below, the idea was to have a sensor that detects objects in different ranges, if they're quite close, a light strip will turn on yellow with no buzzer. If they're ...
vanHellsing's user avatar
-1 votes
1 answer
115 views

Pls help with this prompt. I've been struggling last 2 days with this and its due tomorrow [closed]

"Use an Arduino, two potentiometers, and an alarm. Make one of the potentiometers act like a volume control, and make the other potentiometer control the tone that the alarm makes." I added ...
Mahmodol's user avatar
-1 votes
1 answer
141 views

passive buzzer is drawing 500mA

I am having a ridiculously hard time trying to make a passive buzzer work correctly on my Seeeduino XIAO. Here is the buzzer module : Here is how I believe it works, assuming the SOT23 smd is a PNP ...
Musa's user avatar
  • 167
-1 votes
1 answer
737 views

Do passive buzzers require a PWM pin? [duplicate]

This guide Shows how to wire a passive buzzer to be used with tone(). I notice they have it wired to D9, which is a PWM pin. But is it required to use a PWM capable digital output pin to play tones ...
BobaJFET's user avatar
  • 135
0 votes
1 answer
408 views

Question about using millis for alarm conditions - Arduino

I am new to programming in general and to Arduino as well. I am working on a small project to improve my ability to write complete and kind of useful programming sketches. I am facing a problem. I am ...
Maher's user avatar
  • 11
0 votes
1 answer
125 views

need help for exam please (deadline tomorrow) [closed]

what we're required to do on exam You don't have to completely give me the answers, I just started learning this yesterday so I'm pressured on learning it properly + the exam, thx
pindoggo's user avatar
4 votes
1 answer
227 views

Can't stop the 3 pin active buzzer

I was simply trying to program a buzzer with the ultrasonic HC SR04 and 128x64 OLED display. The buzzer is an active buzzer (3 pin) on a small board. The problem is that, once on, it never stops ...
Bukaida's user avatar
  • 141
1 vote
1 answer
1k views

playTone function of Buzzer

I am making "Simon says" game using Arduino on TinkerCad. I am facing issue in Buzzer sound function. I want something like this: Use the following steps to generate the tone for the red ...
Snoke's user avatar
  • 23
2 votes
3 answers
210 views

I develop an earthquake detector but when it detects a movement, the alarm doesn't stop from ringing

This is the code that I used. Actually, I use to code: for Arduino sofware and processing IDE software. Arduino Source Code/Program: #include<LiquidCrystal.h> // lcd Header LiquidCrystal lcd(7,6,...
Christian Marasigan's user avatar
1 vote
0 answers
249 views

DC motor and buzzer blink without delay code

So I am trying to put together a code for 4dc motors, buzzer, ultrasonic and lcd to work together,. they will together make up a small car. when the distance to the ultrasonic is smaller than 10cm, ...
mmmmhe's user avatar
  • 21
2 votes
3 answers
893 views

How do I make my piezo buzzer only hum once without repetition?

I have a problem with getting my buzzer to only do the tones I programmed in once. I know I have to add some sort of code but I'm relatively new to this so I don't really know. I want it to start ...
Éemia's user avatar
  • 33
2 votes
2 answers
3k views

Buzzer+Push button+arduino

I want to stop the sound of a buzzer after I push the push button. I tried a code, but when the button is not pushed, the buzzer continue to make sound. How can I fixed it? const int pin_contact= 6; ...
Biancaaa's user avatar
2 votes
1 answer
137 views

Arduino buzzer code sequence not triggering

I have a problem with my arduino buzzer: the code should be doing the following: I have a security system where in order to open the door you have to enter a 4 digit code from the remote. If the code ...
mihalca bogdan's user avatar
0 votes
1 answer
242 views

How to close humidity sensor at specific humidity

I am using dht humidity and temperature sensor on arduino and i would like to add relay and buzzer on the system. What I would like to do is to close it via buzzer and on 65% humidity run buzzer. The ...
krank s's user avatar
1 vote
2 answers
2k views

Can we generate 20kHz tone with normal buzzer in arduino?

Can normal buzzer be used for generating high frequency audio and if this is possible then can normal microphone module be able to detect the same frequency range(15 kHz - 20 kHz). Here is the ...
astrick's user avatar
  • 193

15 30 50 per page