Author Archives: Dave

DIY Cat Waterer…Or How to Waste a Weekend Spoiling Your Cat

OK…so I have a cat. His name is Thomas. Thomas is a douche bag. When he was young and growing up, he lived in a shitty little apartment with crappy bathroom fixtures. He learned to get fresh water from the leaky sink and never drank from a dish. I’ve tried to force him to drink from a dish whenever we moved…and it even kind of works for like a week. That is usually how long it takes for Thomas to find the bathroom and start expecting the humans to turn on the water for him. If the humans don’t turn on the water for him, he will bitch and moan until they do. Normally, this wasn’t a problem because I always had a roommate that was home most of the time. Well, for the first time it is just me and Thomas, so he doesn’t have anyone to turn on the water for him. Enter the cat waterer.

So, I got some cheap Arduino Pro Mini’s on eBay that were direct ship from China. I would have gotten them from SparkFun, but they ran out when I was purchasing.

Basically it’s a really simple design that uses a matched pair of an IR emitter and a detector. I got these from RadioShack ages ago. They are just an IR LED and IR phototransistor. I wired them up to a board with the appropriate resistors and voila, I had a way to tell if a cat jumped on the sink.

For the plumbing side I bought a couple of necessary tools from Harbor Freight, including a tiny pipe bender and pipe cutter. I got some 1/4″ flexible copper tubing to run the water through and a big fat solenoid to control the flow. The solenoid I got was way over kill. It is good for air, gasoline, natural gas, water, and pretty much everything else I can think of. If I did this again I would go for the quieter plastic version that I see around. I got a few bits of brass compression fittings and bolted it all together. If I knew what I was doing it would probably be cleaner and straighter…but I don’t.

copper piping underneath sink

This is what the setup looks like down under.

Pipe splitter

This is how the piping comes from the wall.

Cabinet piping

This is the pipe coming out of the cabinet to the sink.

2014-08-31 21.36.05

Plumbing up top.

Plumbing up top.

For the coding, I take no responsibility or liability for it. It was done by Thomas.

 

Kitty coding

This is Thomas working on the code. Not much…but it is his contribution to the project.

I think there is much cleaner out there and he added a bunch of stuff that I don’t think it needs…but he’s learning. Well, that and he bit me when I started editing the code. The point of the code is to make sure that the software never cycles the solenoid too often. To do that he added some sleep time and tried to smooth out the signal from the IR. Pretty much all of the code was stolen from some other project then duct taped together into the form you can see below.

For the electronics you can see the Fritzing (both a blessing and curse of a software) exports below. Not much going on here. I had done the maths on a scrap piece of paper…that I have subsequently lost. Again, like the code, rough ideas from other projects (including the secret knock unlock project) and then sized the bits and pieces for my setup. I wired it together and it worked…mostly.  Actually, there was that one time where I put 12VDC to the VCC…Nothing was happy about that. I blew up the board and the LED. Whoops. That’s not exactly the cheapest way to learn…but I learned.

breadboard-TW1.5 schematic-tw1.5

IRL Board Pics:

Mk.1

This was when I was just working with what I had on hand.

DONE!

This is a shot right before Mk. 2 got installed

So with all that said, behold, Thomas drinking out of his waterer…

New Job

I work at ProPoint Graphics now.
You can check out my latest work at the page:
http://propointgraphics.com/infographics/

No this is not a part of a media campaign this is actually so that I can test something.

Peter Pan is Dead

Peter Pan Hat

Exercise, it is so easy to hate it.  For me, it’s because it shows me exactly where I am in life.  In my case, I am beginning to feel old.  All the ligaments don’t snap back like they once used to, the muscles stay sore for longer than they did just a few years ago, and the joints seem to protest a little longer every morning.  I am not saying that that is a bad thing…Far from it.  This has provided me a perspective that I may have told myself over and over again…but have never internalized.  Life is too short not to do the things that are important.  With that said I have been really doing some soul searching for the things in life that I should be spending my time on.  This has forced me to make a list…I meant to say…A List.

I want:

  1. to do something technically challenging.
  2. something that I can put my copious amounts of energy into.
  3. something that can grow with my abilities.
  4. to be in the sun every day.  (Is that really too much to ask for?…Yeah, probably.)
  5. to continue to learn new things for as long as my mind can handle it.

I do not want:

  1. something that will be obsolete in the next 10 years (I’m hoping for 30 years but I figured that is too much to ask for).
  2. something that will leave me a pauper…I definitely am not looking to be filthy rich…just trying not to be filthy.
  3. to do the same thing every single day at work.
  4. to sit for 8 hours a day.  I could totally stand for that long though.
  5. to waste my life on a bus or in a car.  (Unless it’s for the best time…I could probably live with a life of racing…Unfortunately, see “I do not want” item 2.)

With all that said…Time to get started.