O'Reilly logo

Arduino Project Handbook by Mark Geddes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PROJECT 10: JOYSTICK-CONTROLLED LASER

IN THIS PROJECT WE CREATE A JOYSTICK-CONTROLLED LASER BY CONNECTING TWO SERVOS TO A JOYSTICK AND USING THIS SETUP AS A PAN-AND-TILT CONTROLLER FOR A LASER POINTER.

image
image

PARTS REQUIRED

• Arduino

• Breadboard

• Jumper wires

• 2 Tower Pro SG90 9g servomotors

• Analog five-pin, two-axis joystick module

• Pan-and-tilt housing module

LIBRARIES REQUIRED

• Servo

HOW IT WORKS

Servos are small motors that can precisely angle their arms to positions between 0 and 180 degrees. In this project we’ll place the servos into ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required