Run buzzer for one time only

Hello,

I need help with my project, I working on a project related with level indication and with the buzzer.
I need the buzzer to turn on for one time only for one sec
even the level sensor still reading ( HIGH ) for that particular position than if sensor LOW and again become HIGH, I needed to turn on again for 1 sec only
I have 4 sensor.

thank you

You forgot to post any details of your code or circuit.

Don't forget the code tags.

Sounds like you're looking at a detection of the change of state; have a look at the state change detection example that comes with the IDE.

Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the Installation & Troubleshooting category.

The state change detection tutorial.

State change for active low signals.

It appears that forum seriously needs to be meaningfully re-named. People are clearly not inclined to read the About the Installation & Troubleshooting category description any more than how to use this forum.

I suggest "Installing/ Troubleshooting the Arduino IDE", because according to the "about", that is what is is intended to be, but it needs to be up front. :face_with_raised_eyebrow:

But even though this same situation comes up again and again and again with posts having to be moved, possibly even the majority of posts to that actual forum, it is a waste of time suggesting it be corrected, isn't it? :upside_down_face:

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