News for hackers. Stuff that matters.
Re:Keep the Cat Out of the Cradle with Arduino by PonyGumbo on Tuesday November 23, 2010 @12:11PM (#1934417)
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.
Re:Keep the Cat Out of the Cradle with Arduino by pierrefar on Tuesday November 23, 2010 @03:21PM (#1935190)
Oh I would pay so much for something that keeps the cat quiet around 6am.
Re:Keep the Cat Out of the Cradle with Arduino by dawsdesign on Tuesday November 23, 2010 @04:27PM (#1935433)
Ha. Mine's the same. MAybe that'll be my next project.
Re:Keep the Cat Out of the Cradle with Arduino by icegreentea on Tuesday November 23, 2010 @12:50PM (#1934612)
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.
Re:Keep the Cat Out of the Cradle with Arduino by dawsdesign on Tuesday November 23, 2010 @02:08PM (#1934955)
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.
Re:Keep the Cat Out of the Cradle with Arduino by PonyGumbo on Tuesday November 23, 2010 @03:52PM (#1935311)
That's what I was wondering - I think I'm going to try this out.