KEMBAR78
Arduino Laser Scanner | PDF | Electrical Components | Equipment
0% found this document useful (0 votes)
7 views7 pages

Arduino Laser Scanner

Uploaded by

altair88
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views7 pages

Arduino Laser Scanner

Uploaded by

altair88
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

technology workshop craft home food play outside costumes

Arduino Laser Scanner


by stanleyprojects on March 2, 2016

Table of Contents

Arduino Laser Scanner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Intro: Arduino Laser Scanner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 1: Obtaining components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Step 2: Mounting steppers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Step 3: Laser Blanking + Mirror Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Step 4: Final Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Step 5: Laser Control App . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

http://www.instructables.com/id/Arduino-Laser-Scanner/
Author:stanleyprojects StanleyProjects.com
I am a 21 years old student from Slovakia currently studying ICT Engineering (Embedded Systems) in Denmark. In my free time I like working with electronic
projects, Arduino, programming, playing guitar and listening to the good music :)

Intro: Arduino Laser Scanner


XY - 2 dimensional laser scanning
2x 35mm 0.9° stepper motors - 400 steps/rev
Automatic mirror calibration
Remote serial control (via bluetooth)
Auto mode
Remote control app with GUI
Open Source

Download:

github.com/stanleyondrus

stanleyprojects.com

Image Notes
1. photodiode used for calibration
2. HC-06 Bluetooth Serial Module
3. laser blanking transistor circuit

Image Notes
1. Instructables.com Logo Wannabe ;D

http://www.instructables.com/id/Arduino-Laser-Scanner/
Step 1: Obtaining components
In the list bellow you can find the components I used and the links where I bought them.

1x Arduino Uno
1x Adafruit Motor Shield V2
1x Laser Module
2x 35mm 0.9° stepper motors - 400 steps/rev - 5V - eBay
3x LED - AliExpress
1x HC-06 Bluetooth Serial Module - AliExpress
1x Photodiode - AliExpress
1x NPN transistor BC547B - AliExpress
2x 2K Trimmer - AliExpress
1x DC Socket Panel Mount - eBay
1x Toggle Switch - AliExpress

And then some material and tools you can find at home. Hopefully ;)

Mirror (the best is a metallic mirror like HDD Platter)


Aluminium sheet
Snips
Hot Glue (or Pattex Repair Express )
Wires
Pliers
Drill (or scissors in my case :D)
Box (e.g. Junction Box)

http://www.instructables.com/id/Arduino-Laser-Scanner/
Step 2: Mounting steppers
Aluminium sheet needed to be cut and bent into the proper shape. Then holes were drilled and steppers attached.

http://www.instructables.com/id/Arduino-Laser-Scanner/
Step 3: Laser Blanking + Mirror Calibration
Motor Shield has a small prototyping area that was used for two small circuits.

Laser Blanking

We want to control our laser with an Arduino. However we need to limit current flowing into the laser and also driving it directly from a digital output pin is not a good idea.
My laser module already had a current protection. Thus I've built just a simple circuit where transistor is switching the laser on and off. Base current can be regulated by
trimmer and controls the brightness of the laser.

Mirror Calibration

Photodiode was placed in the hole in the central axis right above the X-axis stepper. Pull-down resistor circuit was necessary to obtain exact measurements. When
calibrating, we are reading values from the photodiode and when the value exceeds a specific value (laser directly shines into it), steppers stop and return to the home
position.
<p>pseudo code for calibration<br>// 1step = 0.9° / 400steps = 360° = full rotation
laserOn();
for (int a=0; a<=400; a++) {
for (int b=0; b<=400; b++) {
photodiodeValue = readValue();
if (photodiodeValue >= photodiodeThreshold) {
laserOff();
returnHome();
}
stepY(1,1);
}
stepX(1,1);
}
laserOff();
unsuccessfull();</p>

http://www.instructables.com/id/Arduino-Laser-Scanner/
Step 4: Final Assembly
The whole circuit was put into the plastic junction box and tightened by screws. The whole projector is really portable, just plug the power supply, switch the toggle and
we have laser show.

Step 5: Laser Control App


The controlling app was made in C# and allows to switch between patterns, adjust the speed and see current actions. It is free to download together with the Arduino
code (see Intro).

http://www.instructables.com/id/Arduino-Laser-Scanner/
Image Notes
1. Instructables.com Logo Wannabe ;D

Related Instructables

LIGHT Project 1:
Bluetooth
Control Arduino Take control of Build Android Compatible Arduino How to make a
with Android your house in Bluetooth App Kaleidoscope remotely voice control,
Phone via 10 Minutes by for Arduino by Projector controlled by direction
Bluetooth by Komal Manoj Exploration by Bluetooth or
Abdullah_Al_Mamun_EEE_EWU_Bangladesh control, remote
CircuitMagic Thakur Luminous Bluetooth LE control, Android
Wonder using phone by and arduino
sitronTe robot, (3 in one)
by Magesh
Jayakumar

Advertisements

Comments

http://www.instructables.com/id/Arduino-Laser-Scanner/

You might also like