New_Deterent by ptamike

This sketch is missing a short description
A powerful but simple ultrosonic cat deterrent. This device emits a siren-like tone that sweeps between 23kHz and 25kHz for 30 seconds every 4 minutes. In between alerts the Arduino goes into sleep mode and also puts the connected class D PA into sleep mode. The squarewave output is available at pin 7 and pin 6 provides the drive for a flashing LED Strobe and pin 5 provides a shut-down signal (pin LOW) for an attached class-D amplifier.

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:126345" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>