Hello,
I am creating a laser interaction project. where based on reading from other component distance sensor laser should be switched on. Laser has its own power from battery and has a small switch which I would like to replace with Arduino so I can programmatically switch it on. Of course, I could use a relay for it but it just looks like overkill.
Is there a possibility to connect somehow digital pin in a way that will work as a switch to switch on/off my laser?
Maybe I was not lucky and if it was answered anywhere earlier please point me to this topic.
Thank you
Measure the polarity of the voltage on the laser switch, and then attach an optoisolator to it, the other side of the opto to an Arduino output (with the appropriate current limiting resistor).
Probably, your Arduino could also switch it directly with a mosfet, but you need to show us the internal circuit to advise further. Is the switch in the negative or positive side of the battery connection, for a start?
A link to the datasheet would tell a lot.
I do not have datasheet for it. I just bought one on net.
Here is link to product if it could help in any way:
https://www.aliexpress.com/item/1005004730902316.html
My understanding there are two expected switches one switch and one for key. I am assuming key can be always on in my project.
Thanks
Green laser is banned in some countries.
Why do you need the switch? It probably just interrupts the supply power. Just bypass the switch and control the power to the module with a transistor driver.
You must have had more information, or advice from someone, to buy that device, because there actually isn't enough connection info in that sales page to constitute a working device.
- the "key" spot has two pads, I presume that's what you think is your key connection. Where's the button go, though?
Yes, please explain your statement in reply #6.
Are you aware that this module is over the safety threshold for permanent vision damage?
Yes, I am aware is strong but is legal to use in my country. One of the reasons why I like to have a switch is to actually minimalize the time the laser is ON.
I said nothing about legality. Only safety. The time the laser is on is irrelevant. It only takes a few milliseconds of exposure to permanently damage your vision. It is 10x more powerful than a "laser pointer".
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.