Post Top Ad

Saturday, February 18, 2023

on video HOW TO WORK A LASER SENSOR MODULE ELECTRONIC PROJECT



This 100mW laser module emits a small intense focused beam of visible red light. The module can be used with an Arduino and photo resistor module to perform basic remote signaling.

Input voltage: 5V DC


Input current: 30mA


Wavelength: 650nm

In this tutorial, we will show you how the Laser Diode Module works with Arduino together. The materials needed are listed as below:


Arduino Uno

Female to male jumper wire

USB Cable Type A to B

Diagram above shows the Laser Diode Module pinout, which contains Signal (labeled as S), GND (labeled as -) and the middle pin indicates +5V. The connection between Laser Diode Module and Arduino Uno is described in detailed way as below:

Signal -> Pin 8

GND -> GND

+5V -> 5V

Download the source code attached here and open it via Arduino software or IDE.

Choose the correct board and port before uploading the code into the board.

Upload the source code into Arduino Uno.

From the source code, "delay (1000)" means that the duration goes for 1 second. Both "digitalWrite (LaserPin, HIGH)" and "digitalWrite (LaserPin, LOW)" indicates when the input voltage is high or low, which light up or fade out the Laser Diode respectively. The expected outcome should be:

The Laser Diode light up for 1 second.

The Laser Diode fade out for 1 second.

Repeat the 2 steps above until stop supplying the voltage into Laser Diode Module.


 



This 100mW laser module emits a small intense focused beam of visible red light. The module can be used with an Arduino and photo resistor module to perform basic remote signaling.

Input voltage: 5V DC


Input current: 30mA


Wavelength: 650nm

In this tutorial, we will show you how the Laser Diode Module works with Arduino together. The materials needed are listed as below:


Arduino Uno

Female to male jumper wire

USB Cable Type A to B

Diagram above shows the Laser Diode Module pinout, which contains Signal (labeled as S), GND (labeled as -) and the middle pin indicates +5V. The connection between Laser Diode Module and Arduino Uno is described in detailed way as below:

Signal -> Pin 8

GND -> GND

+5V -> 5V

Download the source code attached here and open it via Arduino software or IDE.

Choose the correct board and port before uploading the code into the board.

Upload the source code into Arduino Uno.

From the source code, "delay (1000)" means that the duration goes for 1 second. Both "digitalWrite (LaserPin, HIGH)" and "digitalWrite (LaserPin, LOW)" indicates when the input voltage is high or low, which light up or fade out the Laser Diode respectively. The expected outcome should be:

The Laser Diode light up for 1 second.

The Laser Diode fade out for 1 second.

Repeat the 2 steps above until stop supplying the voltage into Laser Diode Module.


 

No comments:

Post a Comment

Post Top Ad

Pages