Creating PWM with battery

Hello,

I'm completely new to electronics and could use some guidance. I'm facing a challenge: I need to operate a 24VDC proportional solenoid using PWM, yet my Uno can only provide 5 volts.

My initial thought is to utilize an additional battery capable of supplying 24VDC and employ an SSR to power it on and off, thus creating the PWM signal. However, I'm uncertain if this approach is the way to go.

I would appreciate your suggestions and ideas on how to tackle this issue.
Thanks in advance for your help!

That should work. Just make sure to get a SSR designed for DC. (1)

Or you can use a MOSFET driver

(1) AC & DC SSRs are not generally interchangeable. DC sSSRs don't conduct both directions and AC SSRs are usually built-around a TRIAC. A TRIAC latches-on until current drops to zero, which is the next AC zero-crossing, but with DC it won't turn off until power is removed.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.