Project tutorial
How to Make a Laser Turret for Your Cat

How to Make a Laser Turret for Your Cat

This project will show you how to make a laser turret.

  • 16,492 views
  • 5 comments
  • 39 respects

Components and supplies

Apps and online services

About this project

Servos of this turret are controled by the joystick :

  • Y axis of the joystick controls the horizontal sweep
  • X axis of the joystick controls the vertical sweep

Warning : Laser are concentrated light so they're very dangerous for your eyes.

Schematics

Make sure your cat will always be happy !

Code

Code Laser turret Arduino
#include <Servo.h>

Servo myservo ;
Servo my2ndservo;

void setup()
{
 Serial.begin(9600);
 myservo.attach(9);
 my2ndservo.attach(3);
 pinMode(13,OUTPUT);
}
 
void loop()
{
 digitalWrite(13,1);
 
 delay(20);                    
 
 int XVal = analogRead(A1) ;  
 myservo.write((XVal/7.7));
 Serial.println(XVal);
 
 int YVal = analogRead(A0) ;  
 my2ndservo.write((YVal/5.7));        
 Serial.println(YVal);
}

Schematics

laser_turret_14Q5LdcxQp.fzz
laser_turret_14Q5LdcxQp.fzz

Comments

Similar projects you might like

LazerDazer: Arduino Laser Cat Toy

Project tutorial by RobotGeek Projects Team

  • 12,158 views
  • 1 comment
  • 26 respects

Tutorial Arduino Mini Laser Turret Control

Project in progress by Josh From BreakoutBros.com

  • 20,640 views
  • 7 comments
  • 48 respects

How to Make a Cat Laser Pointer

Project tutorial by circuito.io team

  • 12,527 views
  • 3 comments
  • 13 respects

Self-Propelled LASER Turret

Project tutorial by SurtrTech

  • 6,748 views
  • 1 comment
  • 27 respects

Arduino Laser Tripwire

Project tutorial by Ian Cumming

  • 37,154 views
  • 15 comments
  • 70 respects

Fido's Automated Laser Pointer

Project tutorial by Happy Puppy Or Not

  • 7,465 views
  • 0 comments
  • 14 respects
Add projectSign up / Login