Introduction: Cat Laser Entertainer Robot

Picture of Cat Laser Entertainer Robot

Sometimes you are just too tired to play with your pets and give them the attention they need.

When this kind of situation happens, you are mostly busy and tired.

Good night sleep would do the trick BUT your pet decides that sleep is for weak and keep you awake the whole night just because they are too pumped up to rest because of no play in day time.

This project resolves all your problems.

Arduino board with simple shield. Two servos and a laser. Keeps your pet entertained the whole day if it has to.

The laser used is a typical red dot laser that you can find in pointers. It is low power >5mW so it wont blind you or your cat. But like always when playing with bright light or laser. Do not point it to your eye or your pets eye on purpose.

Mobile users can find the video from here!

Step 1: 3D Desing.

Picture of 3D Desing.

The parts were designed in SketchUp. It is free to use and simply brilliant in 3D design.

All the files are included in this instructable. Full Plate file has got all the printable parts in one file. Files can also be found from here.

Step 2: 3D Printing.

Picture of 3D Printing.

Parts are printed with PrintrBot makers kit. Settings for prints that i used was, 20mm/s movement speed and 0.2 mm layer height.

Print took about 1 hour and 12 minutes. Total print cost was 0.14 dollars.

Step 3: Assembly and Testing.

Picture of Assembly and Testing.

Servos used are normal Mini 9G servos. The parts snap to their place nicely. I used some hot glue to ensure that the servos keep their place. Tiny screws can also be used.

I had to change the upper servo (vertical) because the gears were broken. The black servo is the same kind of servo.

Upload a servo test program to the Arduino and test the movement.

Step 4: Shield.

Picture of Shield.

I made a simple shield from breadboard. Add some pins and solder them. I only needed pins for the power section of Arduino and 8-13 pins.

Step 5: Connectors

Picture of Connectors

I soldered two of 3 pin and one a two pin connectors to the center of the board.

The three pin connector is for servo and the 2 pin connector is for the laser.

Solder a common power (RED) and common GND ( BLUE) to the pins.

Laser does not need anything else.

For the servos you will need data cables. Solder (GREEN) vertical servo to pin 9 and horizontal servo to pin 10.

The other ends go to the last pins of the connector. Simple and effective.

Step 6: Base Board.

Picture of Base Board.

I had some acrylic board laying around from one school project so i decided to use it since it is pretty heavy and has got a rubber feet to keep it in place.

Mark the Arduino mount places to the base board and drill holes to it. To keep the Arduino in place use some bolts and nuts to bolt it down.

Step 7: Coding.

Picture of Coding.

Now that the build is almost done. Time to code the Arduino.

The code calls for a random variable. That way the servo movement is totally random. Also the time that the servo is moving or in place in this is totally random (Between 1 and 2000 milliseconds).

The servos random movement is however coded so that the servo does draw mostly to a wall and not a ceiling or floor. Cats are not interested in red dot on the ceiling where she can't reach.

#include

Servo one; //Vertical servo Servo two; // Horisontal servo

int pos = 0; //store servo possition.

int time = 0; //time variable, Store last time.

void setup() { one.attach(9); //attach servos two.attach(10); }

void loop() { time = random (1,2000); //time is random between 1 and 2000 ms int oneStart = random(120,160); //random degree for vertical servo delay(time); int twoStart = random(140,180); //random degree for horisontal servo delay(time); one.write(oneStart); two.write(twoStart); }

Step 8: Wrapping

Picture of Wrapping

Wrap the wires to give the build much more nicer look.

The Arduino runs on 9 volt battery or on USB.

Step 9: Works Like a Charm.

Picture of Works Like a Charm.

Cat ran across my apartment for about 20 minutes till she was too tired to jump around.

Mission success.

Cat is exhausted and i had some own relaxing time.

Thanks for reading!

Happy buildings!

Comments

scoobsays (author)2015-09-21

I made something similar a while back.

mkarvonen (author)scoobsays2015-09-21

That looks really nice!

frangiz made it! (author)2015-07-27

The cat went crazy for a few minutes. Nice little project.

fluxaxiom (author)2017-10-07

Awesome! I wish I had found your project before I made mine. Would have saved me some time - https://www.instructables.com/id/CheetahBeam-a-DIY-Automatic-Cat-Laser-Toy/

RickG76 (author)2016-12-14

i have done everything except the coding, the #include is ment to include something???

animeguard (author)2015-05-30

my cat will enjoy it , thanks

RafaelS4 (author)2015-05-21

very cool. it may works with my dog.. i'll try to build one. :)

Digital Flame (author)2015-05-09

This is really cool, although it is a common idea, I haven't actually seen anyone ever actually do it. This was a really well designed, elegant and compact creation! Well done! Can't say I'll actually make it though, mine doesn't even glance when a laser is pointed near!

mkarvonen (author)Digital Flame2015-05-09

Thanks!

Strange cat you have there :D

Meganandjack (author)2015-05-02

it's cruel that is making a robot!

mkarvonen (author)Meganandjack2015-05-02

good for you!

jessyratfink (author)2015-05-01

Fantastic! I typically just use my heat gun for laser time with the cats, but this looks lots easier on my arms :D

And your cat looks so excited!

mkarvonen (author)jessyratfink2015-05-01

Thanks! I think that the cat finally let's me sleep the whole night whit out sudden urge to jump on my face for no reason :D

This thing really exhausts him really well and also does good for those hunting instincts that cats have.

"Before this she couldn't even catch a fly. Now she eats flying squirrels for breakfast." :D

About This Instructable

8,833views

129favorites

License:

Bio: I am 26 years old engineering student from Oulu in Finland. Currently living in Joensuu. I make these projects as a hobby, and it would ... More »
More by mkarvonen:PipBoy 3000 (working)DIY Piranha PlantPhoto(s) to 3D model
Add instructable to: