Welcome to Laser Pointer Forums - discuss green laser pointers, blue laser pointers, and all types of lasers

LPF Donation via Stripe | LPF Donation - Other Methods

Links below open in new window

ArcticMyst Security by Avery

5W Blue Laser Pointer control with Raspi 3 B+

oathkeeper

New member
Joined
Mar 6, 2019
Messages
3
Points
1
I have a 5W blue laser pointer with 7,4V working voltage. I want to control it (only ON/OFF) using GPIO pin on pi 3 B+. Where do I start?
 





Joined
Sep 4, 2018
Messages
562
Points
63
What laser pointer do you have? It may not be possible to control this very fast depending on how it's set up. If you're trying to modulate it any faster than you can turn it on and off with the laser-pointer's own power switch you may have problems.

For modulating the laser with the Pi at high speeds (into the kHz range), you'll need a laser with it's driver set up to do this natively. Modulating it based on switching the battery power on and off is not going to work.

I hope you have some decent safety-goggles with that laser - as 5W is a hell of a lot of power to be playing around with. You only have one set of eyeballs - and damaged retinas don't heal.

Now I'm suggesting you go and spend some time reading the Sticky threads carefully and after you're done, add your location to your profile & post an Introduction thread in the "Welcome" section of the forum. This will go a long way to making other forum members want to help out. Include your rough location (e.g. Hello from Bristol, UK as mine was) in the title and say a bit about yourself & interests etc. The location is important as it helps us recommend local things and tailor advice to match the laws in your country.
 

oathkeeper

New member
Joined
Mar 6, 2019
Messages
3
Points
1
What laser pointer do you have? It may not be possible to control this very fast depending on how it's set up. If you're trying to modulate it any faster than you can turn it on and off with the laser-pointer's own power switch you may have problems.

For modulating the laser with the Pi at high speeds (into the kHz range), you'll need a laser with it's driver set up to do this natively. Modulating it based on switching the battery power on and off is not going to work.

I hope you have some decent safety-goggles with that laser - as 5W is a hell of a lot of power to be playing around with. You only have one set of eyeballs - and damaged retinas don't heal.

Now I'm suggesting you go and spend some time reading the Sticky threads carefully and after you're done, add your location to your profile & post an Introduction thread in the "Welcome" section of the forum. This will go a long way to making other forum members want to help out. Include your rough location (e.g. Hello from Bristol, UK as mine was) in the title and say a bit about yourself & interests etc. The location is important as it helps us recommend local things and tailor advice to match the laws in your country.

Im from Jakarta, Indonesia. I have a safety-goggles that included in the laser's package when I bought it. The laser is CXLaser-B008 (claser diode). It's a class III laser. Thank you for the response and explanation.
 
Joined
Sep 4, 2018
Messages
562
Points
63
"max output 50000mw"

I can pretty categorically say you do NOT have a 50W laser in your hands. It's a mass-produced commonly avaliable chinese-made laser, and will likely be somewhere in the range of <1W to 2-3 if you're lucky. 5W lasers aren't possible to make, let alone sell for a profit for that price
(my maths makes 950,000 indonesian rupiyah about £50/$67), my guess would be <2W, probably closer to 1W.

You might be able to turn it on and off at a slow rate, by putting some kind of MOSFET in series with the batteries or hijacking the switch somehow - but it's not going to be able to be turned on and off with any kind of speed as the laser diode driver won't cope.
 




Top