This toy is not just a wireless laser toy that you can control with your smartphone, not it’s more! You can mount other toys on this robot, making it the ultimate, customization cat toy. If you follow the instructions, you too will be able to make this beauty. It shouldn’t be too hard, this is my first Arduino project ever made, so if I can do it, you can do it too! Have fun making this, and make sure to give it your own twist.
You will need:
Bluetooth module HC05
1 x 360 servo
1 x 180 servo
Cat laser (make sure to buy it at a pet store because some are dangerous to your pet's eyes)
Hot glue gun
Step 1: STEP 1: THE INNER SHELL
- Cut out a wooden circle. I used a diameter of 20 cm but you can adjust that as long as you keep the proportions right.
- Cut a second circle, and cut the inside out of it so that a ring is left that fits exactly on top of the other ring. Nail the servo arm in the center.
-Cut out a shape like the one in the pictures using the colored lines as a proportion guide. Make sure the green line on the bottom is the same length as the diameter of the circle. Yellow should be 16 cm and orange should be 2 cm on each side. The brown line should be 20 cm high. Step 1.3
- Cut out the placement of the servo. Make sure that the twisting nib is in the actual center of the wooden shape. Otherwise if will twist like it’s drunk and we don’t want that.
-Screw the servo motor in place.
Step 2: STEP 2: THE TOP
- Create a pan and tilt construction for your 180 servo. I recommend you 3D-print this part but you can also use cardboard like I did.
- Create a mount construction for the laser and your other toys. I used a cable winder that fits perfectly on a straw. But once again I highly recommend you improve this prototype by 3D printing your mounting construction.
- Attach your mount construction on top of the pan and tilt construction.
- Put the servo on the wooden shape. You can use hot glue for this, tape or anything that will firmly stick. This servo will have a lot to endure since it’s the closest bit of hardware to your cat’s claws and will receive the most stress.
Step 3: STEP 3: ATTATCHMENT
- Stick the powerbank to the wooden shape with hot glue. If you don’t want it to be there permanently, use a protective layer of duct tape.
- Stick the Arduino to the wooden shape. You can use hot glue, nails or both!
- Stick the breadboard on the wood using either the sticker that’s usually on them, or hot glue.
Step 4: STEP 4: CABLES
- Attach the Bluetooth wires as on the picture.
- Mount the Bluetooth connector to the wooden shape. Make sure your cat does not eat it like mine did. He’s a special snowflake.
- Attach the wires as shown on the picture:
- All red cables go into the plus of the breadboard, and all the black, ground cables go into the plus of the breadboard.
- The white wire of the 360 servo goes into D6~
- The white wire of the 180 servo goes into D5~
- The purple Bluetooth wire goes into D9~
- The green Bluetooth wire goes into D10~
Step 5: STEP 5: THE OUTER SHELL
- Use cardboard to make a cylinder shape of about 16 cm high (about as high as the wooden shape is). - Put a balloon in the outer end. - Cover with paper mache and let dry.
- When the paper mache has dried, cut the balloon from the inside.
- Cover the shape in gesso and let dry.
- Decorate the shape with any non-toxic paint or other materials that are safe for your cat and enjoy the outside! I used structure paint to make it look like concrete.
Aight! You finished the hard part, now it’s time for some coding.
Step 6: STEP 6: CODING
- Download Blynk and create a new project. Save the code you get in your mail for later.
- Add Bluetooth, a terminal, three buttons and one slider and arrange them as the first image.
- Name the buttons as shown above
- For all buttons we will assign a pin and corresponding values:
- Random mode: V2, 0-1
- Right: V5, 88-92
- Left: V4, 88-84
- Laser slider: V3, 0 - 170
- Terminal: V1
- Upload the the code to your Arduino. Don’t forget to put the authentication token in the code. You should have received it in in your mail when you started this Blynk project.
- Connect Arduino with phone over Bluetooth, put the whole construction together and... have fun!