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.
Warning: This is a low power laser device, however as with all laser devices care should be taken when in use. You should never look directly in to its beam or point the laser at another person. Doing so may cause permanent eye damage. This item is not suitable for children.
Input voltage: 5V DC
Input current: 30mA
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Materials Preparation
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
Step 2: Hardware Installation
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
Step 3: Source Code
- 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.
Step 4: Results
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.