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
https://projects.raspberrypi.org/en/projects/raspberry-pi-setting-up
- insert SD-card
- connect the mouse to a USB-port
- connect a keyboard to a USB-port
- connect a screen via HDMI
- connect power supply to micro-USB(the Pi starts to boot)
- select corresponding settings
run as bash command:
wget http://repo.continuum.io/miniconda/Miniconda-3.16.0-Linux-armv7l.sh
corresponding libraries on the Pi
- 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/
- install matplotlib
sudo pip3 install matplotlib
- if numpy must be updated
sudo pip3 install –upgrade numpy
- install PIL.ImageTk
sudo apt-get install python3-pil.imagetk
- 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
- 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
- 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/
- 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“
- Save the file and test the shell script „BeamProfiler.sh“ on the Desktop