Skip to content

The BeamProfiler pd1© allows to measure laser beams with diameters up to 4 mm. It is controlled by a Raspberry Pi, a small single-board computer with an adapted 7” touch display.

License

Notifications You must be signed in to change notification settings

jaypem/BeamProfiler-pd1

Repository files navigation

BeamProfiler pd©

The BeamProfiler pd1© allows to measure laser beams with diameters up to 4 mm. It is controlled by a Raspberry Pi, a small single-board computer with an adapted 7” touch display.

Camera parameter Laser beam BeamProfiler results
Sensor Size: 5,7 x 4,28 mm Beam diameter: up to 4 mm Beam diameter $ \frac{1}{e^2} $
Pixel: 2592 x 1944 Wavelength: 350 – 950 nm Width and height
Pixel Size: 2,2 x 2,2 µm Image with scale

For more information see also: BeamProfiler-pd1_manual.pdf

©Dirk Müller, JanPhilipp Praetorius

BeamSplitter_RaspberryPi

BeamProfiler_display

Assembly of the Raspberri Pi

Install heat sinks one the Pi

raspberrytips

Setting up your Raspberry Pi

https://projects.raspberrypi.org/en/projects/raspberry-pi-setting-up

  1. insert SD-card
  2. connect the mouse to a USB-port
  3. connect a keyboard to a USB-port
  4. connect a screen via HDMI
  5. connect power supply to micro-USB(the Pi starts to boot)

Finish Setup

  1. select corresponding settings

Installation

Install miniconda

run as bash command:

wget http://repo.continuum.io/miniconda/Miniconda-3.16.0-Linux-armv7l.sh

Install python3 with

corresponding libraries on the Pi

  1. OpenCV

fhttps://www.alatortsev.com/2018/09/05/installing-opencv-3-4-3-on-raspberry-pi-3-b/

OR

sudo apt install python3-opencv

Access via ssh: https://www.raspberrypi.org/documentation/remote-access/ssh/

  1. install matplotlib
sudo pip3 install matplotlib
  1. if numpy must be updated
sudo pip3 install –upgrade numpy
  1. install PIL.ImageTk
sudo apt-get install python3-pil.imagetk
  1. follow installation instruction for camera-library: https://github.com/basler/pypylon

11.1 download pylon-software for OperatingSystem: ARM-32-bit:

https://github.com/Basler/pypylon/releases:

install corresponding lib :

for python 3.5 install pypylon-1.3.1-cp35-cp35m-linux_armv7l.whl

pip3 install pypylon-1.3.1-cp35-cp35m-linux_armv7l.whl

11.2 To commit permission for executing the shell script by double click go to desktop and type:

chmod u+x BeamProfiler.sh

Connect Pi with Touchscreen

  1. Remove screws of controller board at the backside of the display, put Pi on the appropriate screw socket and mount the Pi with the screws
  2. Connect the cables from the controller board with the Pi as shown in the following link:

https://maker-tutorials.com/raspberry-pi-touchscreen-installieren-und-anschliessen-tipps-tricks/

  1. Start the Pi and if necessary rotate the display with the following command:
sudo nano / boot /config.txt

and add the following line on the top of the file:

„lcd_rotate=2“

  1. Save the file and test the shell script „BeamProfiler.sh“ on the Desktop

About

The BeamProfiler pd1© allows to measure laser beams with diameters up to 4 mm. It is controlled by a Raspberry Pi, a small single-board computer with an adapted 7” touch display.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published