AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Arduino piezo siren12/29/2023 ![]() ![]() If anyone has any good links or advice or any more info about the code would help. eventually I want to hook up a camera and maybe a keypad to the system. You need a passive piezo sounder that uses AC voltage, not DC.
Piezo Sounder (or piezo disc)
I'd like to set to at least 10-15 seconds. As of now, if someone were to run past the beam it only sounds the siren for a split second. If there is a better way to code this please let me know. I just pasted that in from some other sketch, so I'm not entirely sure on its function. ,is what causes the disc in the piezo to oscillate. So as far as what the code does I am not sure but I think, and correct me if I'm wrong, that this part, digitalWrite(buzzPin, HIGH) My expertise lies in building desktop Pc's and keeping them running. I'm actually very new to electronics as far as circuits, and programming. If(val < 350) digitalWrite(ledPin, HIGH) 1 /
Could someone explain the code a bit for me please?ฤก02dB Piezo Siren Model #: 273-079 from radio shack I sorta copy pasted the part of the code for the buzzer so im not really sure what it means. I have the siren making sound, but I want to change the sound it makes to sound more like a siren. My latest project, laser and photocell tripwire with a piezo siren has pretty much been successful, but I am still a bit confused on how to properly operate the piezo siren.
I am still new to electronics, however I have been able to complete a number of projects with research from the net. I'm a 2 week old Arduino owner and i am just loving this thing. ![]()
0 Comments
Read More
Leave a Reply. |