I have a project and I want to have a blinking light and a buzzer. It is suppose to be an alarm, when the light is blinking, the buzzer is off, and the alarm does not go off. But when the light is solid, then I want the buzzer to go off. I have everything up to the light done, and is confused how to program the buzzer to do what I want to. So is it even possible to do with an Arduino Uno.
Thank you!
You can do anything with an Arduino
What makes the light blink ?
In the Arduino IDE, use Ctrl T or CMD T to format your code then copy the complete sketch.
Use the </> icon from the ‘reply menu’ to attach the copied sketch.
Show us a good schematic of your proposed circuit.
Show us a good image of your ‘actual’ wiring.
Give links to components.
If it is a piezo buzzer just use tone
Not the most appropriate Arduino version, but sounds easily possible
The thing is, we would need to know how you have connected things and what code you have produced so far, if you want advice on how to do it. ![]()
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.