Reply To: Firmware Marlin laser setting

New Home Forum Software Development Firmware Marlin laser setting Reply To: Firmware Marlin laser setting

#16662
Profile photo of ManuCNC
ManuCNC
Participant

I have this details

Description:
Heatsink Material	aircraft aluminum
Output Power	5500mW(5.5W)
Wavelength	445nm(blue laser)
Voltage	DC 12V
Current	3A
Beam Shape	dot(focusable)
Life Time	>10,000 hours
Working Temperature	-40-75℃
Feature:
445nm 5.5W focusable blue laser module
DC 5.5*2.1 power port

I wrote this line of code to control the laser with TTL alimetandolo externally, bringing a negative sull’arduino (common wire) and wire the door TTL PWM 3 of the mega 2560.
and it works…

void setup() {
  // put your setup code here, to run once:
  
pinMode(3,OUTPUT);
  analogWrite(3,127);
}

void loop() {
  // put your main code here, to run repeatedly:

}

in this image you can see the point that I TTL modulated with Arduino (alone) to understand if they actually worked with a signal to 5v.

Attachments: