shaikh
Posts: 6
Joined: Tue Apr 25, 2017 12:06 pm

0-10v PWM

Wed Dec 06, 2017 4:49 pm

Hi all,

I need to control a fan via PWM from a raspberry pi.
The PWM on the fan states "PWM - 10V min". I assume this means it requires a 10v PWM signal. What is the best way to accomplish this using a pi as the GPIO pins will be 3.3v.


I have attached the information from the fan supplier in which it states a 10v PWM is required.

Thanks
Attachments
Capture.JPG
Capture.JPG (55.6 KiB) Viewed 965 times

scotty101
Posts: 3958
Joined: Fri Jun 08, 2012 6:03 pm

Re: 0-10v PWM

Wed Dec 06, 2017 5:00 pm

A transistor or optoisolator where the 'output side' is connected to 10v.
Or a logic level converter

Given the mains voltages involved, i'd go for the optoisolator option.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

shaikh
Posts: 6
Joined: Tue Apr 25, 2017 12:06 pm

Re: 0-10v PWM

Wed Dec 06, 2017 5:17 pm

Thanks for the reply.

I don't have any experience in optoisolators.
Am i correct in saying that the optoisolator will basically act as a switch, switching the 10V 5ma supply creating a 10v PWM .

Thanks

scotty101
Posts: 3958
Joined: Fri Jun 08, 2012 6:03 pm

Re: 0-10v PWM

Wed Dec 06, 2017 5:26 pm

shaikh wrote:
Wed Dec 06, 2017 5:17 pm
Am i correct in saying that the optoisolator will basically act as a switch, switching the 10V 5ma supply creating a 10v PWM .
Essentially yes. The 3.3v output from a GPIO pin is passed in to the optoisolator powering an LED, this LED triggers a light sensitive transistor allowing current to flow through it. Treat it like a transistor.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

shaikh
Posts: 6
Joined: Tue Apr 25, 2017 12:06 pm

Re: 0-10v PWM

Wed Dec 06, 2017 5:28 pm

Will this be able to cope with the 1 - 10kHz PWM frequencies?

Would this also be the case with a transistor? Would they cope with the PWM frequencies.

Thanks

scotty101
Posts: 3958
Joined: Fri Jun 08, 2012 6:03 pm

Re: 0-10v PWM

Wed Dec 06, 2017 5:56 pm

Probably. You'd need to check with the specific datasheet to confirm. 10KHz isn't that fast.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

User avatar
rpdom
Posts: 17275
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: 0-10v PWM

Wed Dec 06, 2017 7:14 pm

Pretty much any optoisolator will cope with 10KHz. I've just checked a few datasheets on common types and they can all handle it.

Return to “General discussion”