u/Human_Neighborhood71

Follow-up about optocoupler and PWM
▲ 16 r/ArduinoProjects+2 crossposts

Follow-up about optocoupler and PWM

So this is the scope on it. In Klipper, I have the PWM set to 50%. I played around and dropped from the 10k pull-up to a 2k pull-up and got it to this point. I’m thinking part of it is my poor hand done perfboard connections, but maybe not? Anyway, this is a 24v signal going to an 817 coupler to get a 5v signal to my laser. Still have a lot of work before I can truly test it and engrave stuff, but making progress

u/Human_Neighborhood71 — 4 days ago
▲ 4 r/ArduinoProjects+1 crossposts

Verify optocoupler

I’m converting an old 3d printer to a laser engraver. Im using a 4W diode laser. Having to use separate power as printer is 24v and laser is 12v. The PWM is 5v, so I am using a buck converter to step it down from 12v. I want to verify that the info is correct. I’ve used GPT to assist in figuring out what to do for that, as I will be using the 24v PWM fan pin to control the laser. It’s telling me to use a 817 package coupler, on the laser side, 5v>10k resistor>PWM pin AND Pin3 of the coupler, with Pin4 going GND, then invert the signal on the printer configs. Does this sound right? Or could I just do 5v>Pin3, Pin4>PWM pin?

reddit.com
u/Human_Neighborhood71 — 7 days ago