An Arduino UNO controlled laser pointer.
The joystick controls the servos for vertical and horizontal movement. Clicking in the joystick toggles the laser output.
This project was programmed using the VSCode editor.
Setting files for the Arduino extension are included.
- 1x Arduino UNO
- 2x Tower Pro SG90 servos
- 1x Laser diode
- 1x Joystick module
3D Design files were created using Solvespace.
attach.slvs
: servo shaft mountlaserMount.slvs
: attachment for laser diode board with screw holesattachWithLaserMount
:laserMount
with servo shaft mount
servoMount.slvs
: attachment for servo with screw holesattachWithServoMount
:servoMount
with servo shaft mount
screwtest.slvs
: test piece for finding ideal screw hole size
Output:
3: X Servo
5: Y Servo
7: Laser diode
Input:
0: Joystick click
A0: X Joystick
A2: Y Joystick
Potential future expansions:
-
Smaller processor
- ATTiny85: current limitation in number of pins, 1 too few for joystick click input
- See here for how to use 1 pin for input and output.
- ATTiny85: current limitation in number of pins, 1 too few for joystick click input
-
RC
-
Wheeled platform