Comment on Keep the Cat Out of the Cradle with ArduinoComments−PonyGumbo15yThis is great - I've been thinking about building something like this to keep the cat from waking us up in the middle of the night, or off of certain pieces of furniture. It would be better if the tone was in a range above human hearing, though.−pierrefar15yOh I would pay so much for something that keeps the cat quiet around 6am.−dawsdesignOP15yHa. Mine's the same. MAybe that'll be my next project.−icegreentea15yThat's the great part. You have the source code, just change the value of 'freq'!. The piezo should be able to hit high enough frequencies.−dawsdesignOP15yI was wondering about that. I think I'll try it. You just have to change the second number in the playTone(1000, 500); call.−PonyGumbo15yThat's what I was wondering - I think I'm going to try this out.
Comments
This is great - I've been thinking about building something like this to keep the cat from waking us up in the middle of the night, or off of certain pieces of furniture. It would be better if the tone was in a range above human hearing, though.
Oh I would pay so much for something that keeps the cat quiet around 6am.
Ha. Mine's the same. MAybe that'll be my next project.
That's the great part. You have the source code, just change the value of 'freq'!. The piezo should be able to hit high enough frequencies.
I was wondering about that. I think I'll try it. You just have to change the second number in the playTone(1000, 500); call.
That's what I was wondering - I think I'm going to try this out.