Go Down

Topic: Turn off buzzer using ultrasonic sensor? (Read 23 times) previous topic - next topic

ArduinoNoob96

Hi. I'm working on a project in school and the idea i have is to create an alarm clock which you turn off using motion (walking past a sensor on your door frame). I have set up the code for the ultrasonic sensor to turn on an led when movement is detected (attached) but i would like it to turn off a buzzer when movement is detected instead. Any help on the code would be much appreciated.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy