Button-triggered Laser Diode - Project Guidance - Arduino Forum
![Button-triggered Laser Diode - Project Guidance - Arduino Forum](https://europe1.discourse-cdn.com/arduino/optimized/4X/7/6/7/767a2fc17d74a173e96d4ecbe5010775f261131c_2_690x495.jpeg)
Hello, big-brained sexual dynamos of the Arduino forums! I bring to you a problem that I'm 99% sure is going to be a simple fix, but I CAN NOT, FOR THE LIFE OF ME, figure it out. I'm attempting to fire one of these laser diodes (650nm 5mw) with a button, using the below code. int pinButton = 4; //the pin where we connect the button int LASER = 12; //the pin we connect the LASER void setup() { pinMode(pinButton, INPUT); //set the button pin as INPUT pinMode(LASER, OUTPUT); //set the LASER
![](https://europe1.discourse-cdn.com/arduino/original/4X/c/1/f/c1f45e337b49b7817c12e2060a28a1658bcf219e.jpeg)
Pro Micro, big batteries, LEDs with WS2811, LASERS, Guitar - Project Guidance - Arduino Forum
![](https://europe1.discourse-cdn.com/arduino/optimized/4X/e/f/5/ef5577b91998754f380746d9e731a2d7ff42947c_2_1024x428.png)
Schematic with a Diode, What am I missing? - Programming Questions - Arduino Forum
![](https://cdn.hibit.dev/images/posts/2023/schemas/arduino_nano_laser.png)
Interfacing laser diode module with Arduino - HiBit
![](https://forum.lightburnsoftware.com/uploads/default/original/3X/f/0/f0ce6e186b688cfb5f7b697d5bfba8b0767d0633.jpeg)
GRBL Fire Button - GRBL - LightBurn Software Forum
![](https://europe1.discourse-cdn.com/arduino/optimized/4X/f/f/6/ff658750696465975dd232144c56a08c4b442bfe_2_690x310.jpeg)
Button-triggered Laser Diode - Project Guidance - Arduino Forum
![](https://forum.lightburnsoftware.com/uploads/default/original/3X/3/0/3008582c05219fad5b9e74921bb55b72d4cd7544.png)
GRBL Fire Button - GRBL - LightBurn Software Forum
![](https://europe1.discourse-cdn.com/arduino/original/4X/5/d/7/5d7d570c895c1449a547393e1fc2f2a51ac530bb.png)
Schematic with a Diode, What am I missing? - Programming Questions - Arduino Forum
![](https://europe1.discourse-cdn.com/arduino/optimized/4X/7/6/7/767a2fc17d74a173e96d4ecbe5010775f261131c_2_690x495.jpeg)
Button-triggered Laser Diode - Project Guidance - Arduino Forum
![](https://forum.lightburnsoftware.com/uploads/default/original/3X/7/d/7d98905a5dcfdd304ed6b637ce3614de024b07fc.jpeg)
Air assist diode - Community Laser Talk - LightBurn Software Forum
![](https://live.staticflickr.com/65535/48861902456_a434530887_z.jpg)
Project 450 - A 7W Blue Laser Driver