I'm looking to scare cats away before they can poop in my garden. Ideally, I'd want to emit ultrasonic sounds (that won't annoy humans).
Can I do this using the tone() function? If so, what speaker can i use? I think I need to emit frequencies of about 40 kHz.
I feel like the cost is more than the gain in that scenario (neuter/spay, vet visits, flea repellant, food, etc.) Also this has become more of a silly thread discussing the best ways to scare cats.
My comment is for the OP to test it! Why ask before testing? Ask how to trigger it or ask how to produce a longer sequence of pulses. or ask how to know if it is producing any sound.
the state of New Mexico has a law limiting the volume level of ultrasonic rodent repellers. I can't imagine the argument used to convince people to pass this law. I'm thinking none of the people who voted for it live in a hundred year old farm house
Agreed. Anything comes within range, it activates a couple of servos attached to shaker cans. Or, y'know...lasers. But not laser tripwires... these lasers https://youtu.be/xNmbvaUzC8Q?feature=shared
(note: Just a joke - I like cats a lot and do not condone, encourage or endorse mistreatment of animals in any way)