Driving a SSR with PWM

Comments & issues
Fresh meat
Posts: 3
Joined: Wed May 27, 2020 7:54 am

Driving a SSR with PWM

Postby MarioE » Wed May 27, 2020 8:01 am

I am new to Phidget, but not new to programming.
Is it possible to write a Function (Phyton) which drives an SSR
with a PWM Frequency of 1Hz, and to pass the Percantage of the Power as Parameter. e.g. i want to turn on for 300msec and turn off for 700msec, this gives (with 50Hz) 30% of the Power. Wher can i start for this function ?
I have a REL1100 and a OUT1100.
THX a lot ...

User avatar
Site Admin
Posts: 772
Joined: Fri Oct 28, 2011 12:17 pm

Re: Driving a SSR with PWM

Postby mparadis » Wed May 27, 2020 8:25 am

You can achieve this with either the REL1100 or the OUT1100. I would use the OUT1100 if your SSR can be controlled with 5V.

Changing the PWM duty cycle to 30% is as easy as using setDutyCycle(0.3). See the API tab on the product page for more information.

Changing the PWM frequency is possible if you upgrade to the latest OUT1100 firmware (v.120). To upgrade the firmware, double click on the OUT1100 in the Phidget Control Panel. If your Phidget libraries are up to date, it should give you the option to upgrade. The minimum PWM frequency for these devices is 100Hz, so you won't be able to get down to 50 or 1Hz using this feature. If you really want to switch the output at 1Hz, you can probably just use a timer in software and toggle the output every second using setState.

Return to “General”

Who is online

Users browsing this forum: Google [Bot] and 1 guest