Introduction A Laser breakout consists of a laser diode which is similar to an ordinary LED, but it generates a beam of high intensity light. This breakout can be mounted anywhere using screws. Note: Avoid direct eye-contact with the laser.
Specification ●
Operating voltage: 5V
●
Size: 15mm x 20mm
Variants ●
None
Supported cables None
Elint Labz (www.elintlabz.in)
Page 2 of 6
Product Manual: Laser Breakout
Details
The acronym of Laser stands for Light amplification by stimulated emission of radiation. Laser works as a result of resonant effects where the output of a laser is a coherent of electromagnetic field. Laser breakout is a digital output device. It has a interfacing port with two pins named as G & D. Here G represents Ground and D represents Data pin through which laser is controlled.
Signal at D pin on the LASER Breakout
LASER breakout response
LOW
HIGH
How to interface?
We do not have any supported cables to connect the laser breakout. So we are using female to female jumper wires to connect the laser breakout to the pluguino board. G pin of the laser breakout is connected to the G pin of the pluguino board and D pin of the laser breakout can be connected to any of the GPIO pins on the controller board.
In the below given pictures one can see that we have connected the data pin of the laser breakout to the 12th GPIO pin on the controller board. By controlling the voltage at the 12th GPIO pin of the controller one can control the laser .
Elint Labz (www.elintlabz.in)
Page 3 of 6
Product Manual: Laser Breakout
Elint Labz (www.elintlabz.in)
Page 4 of 6
Product Manual: Laser Breakout
In order to demonstrate the working of the laser plug we are going to turns ON the laser for one second and turns OFF the laser for another second.
Example Interface Codes
Arduino Objective: Will turn ON the laser plug for 1 second & turn OFF for 1 second. #define laser_pin 12 // 12th pin is connected to laser void setup() { pinMode(laser_pin,OUTPUT); // define 12th GPIO pin as output pin } void loop() { digitalWrite(laser_pin,HIGH); // making 12th pin HIGH hence
Elint Labz (www.elintlabz.in)
Page 5 of 6
Product Manual: Laser Breakout
Laser turns ON delay(1000); digitalWrite(laserpin,LOW); Laser turns OFF delay(1000); }
// wait for 1 second delay // making 12th pin LOW hence // wait for 1 second delay
Contributors List of interns & other contributors who have worked for developing this manual
Manasa K V http://www.elintlabz.in/profile-1809
Elint Labz (www.elintlabz.in)
Page 6 of 6
Laser Breakout
wait for 1 second delay. } Output Video: âhttps://www.youtube.com/watch?v=GJvFgvdKa8k. Contributors. List of interns & other contributors who have worked for ...