VisioLaser - Projecting and Capturing Laser Patterns.

by tarunvenkatesh in Circuits > Lasers

42 Views, 1 Favorites, 0 Comments

VisioLaser - Projecting and Capturing Laser Patterns.

pic.jpg

Authors : Makkawi , David , Tarun

IMT Atlantique , Rennes


This module involves using two servo motors to direct a laser diode for drawing simple patterns. Internet integration enables remote operation and visual feedback, with a camera capturing frames at each movement, allowing real-time monitoring. External sensors trigger drawing events, illustrating the principles of embedded and distributed systems.

Supplies

Hardwares required :


• 2x FT90B Servo Motors

• Laser Diode (Low Power)

• ESP32 Microcontroller [ESP 32 - EYE for camera module]

• Arduino Espressif ESP32 WROOM 32E

• Jumper Wires (Male-Male, Male-Female)

• Breadboard

• USB ports to connect the microcontrollers

• Metal holders to hold servo motors and Laser


Software Source code :

https://github.com/MoMakkawi/VisioLaser

Wiring to Connect the Components

pic3.jpg

From Servo motors to Arduino ESP 32

Servo 1 (Signal)

GPIO13 or any input pin

Servo 1 (VCC)

5V (or external 5V)

Servo 1 (GND)

GND


Servo 2 (Signal)

GPIO12 or any input pin

Servo 2 (VCC)

5V (or external 5V)

Same as Servo 1

Servo 2 (GND)

GND


Laser Diode (Signal)

GPIO14 or any input pin

Laser Diode (VCC)

5V

Check laser voltage (3.3V or 5V)

Laser Diode (GND)

GND



Setting the Laser With the Servo Motors

pic2.jpg

Here, we attach the motors with the metal holders and protrude the laser diode with them.

We attached the motors to a piece of plank to make it stable.

Environments Used and Its Setup

Screenshot 2025-06-23 192342.png
Screenshot 2025-06-23 192639.png

We have used Arduino IDE to code for the functioning of the module.

1.Make sure you select the modules and give them respective ports to function.

2. Install the necessary libraries that are mentioned in the picture above.

3. The source is available in the link below


https://github.com/MoMakkawi/VisioLaser



Working

pic4.jpg
pic5.jpg
Screenshot 2025-06-23 194754.png
  1. First, we have to run our Camera module to set the environment to record the pattern
  2. When we do the compilation, the servo motors move the laser in the specified points to form a pattern [ triangle in our case]
  3. This pattern can be seen via the ESP 32 EYE camera module for visualization.
  4. We can modify the points to form different shapes and patterns