Close
0%
0%

Arduino Cat laser toy DIY

Helping my obese, I mean fluffy cats lose some weight.

Public Chat
Similar projects worth following
No soldering required and easy to make. I did 30min on building the laser.
The details on how to build it are in the Build step. You can also find a video there explaining the build process. A great project for beginners!

CatLaserToy_test_servo.ino

The Arduino code

ino - 3.60 kB - 09/30/2020 at 08:54

Download

View all 8 components

  • 1
    Step 1

    No soldering required and easy to make, a great first project!

    Creating a laser turret

    After you have all your components you can start building it. It is very easy and took me 30min to complete it and if my cat did not annoyed me I guess I could do it faster. First you glue the one servo to the breadboard.

    The next step is to take a servo arm and glue it to the other servo.

    After you let it dry for a few moment you can mount the servo on the servo you mounted on the breadboard.

    Then you also mount the servo arm (included with the servo's) and mount it on the second servo. Now you can mount the laser.

    After this the laser turret is completed.

    Mount the Arduino Nano on the breadboard

    Wiring

    You can find the wiring diagram in the description. You should have some male-male connectors and some male-female ones. This way you can connect everything without soldering...

    Uploading the code

    Download the Arduino sketch and load it to the Arduino Nano. The original code is made by Lucas Berbesson. I did one adaptation to power the laser diode with a PWM pin. This way you can dim the laser strength in the software (I did not have the right resistor laying around).

    but credit where credit is due => thank you Lucas Berbesson to share the solid code with the interwebs.

    In the first part of the code you can change some settings. You can play around with it and learn some thing or two from the code.

    Optional => voice activated (Alexa and Google Home) and timers

    I used a real simple solution by using a WIFI smart socket to control it with Alexa and Google Home. You can also set timers to turn on/off the wall socket. When the Arduino is powered on the laser starts to move.

    You can find the wall socket and all other parts in the "parts" section :p

    Have Fun if you decided to make it!

View all instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates