Help! PWM 0-10V.

Moderators: TomKerekes, dynomotion

Lafayette
Posts: 11
Joined: Thu Feb 08, 2018 3:42 pm

Re: Help! PWM 0-10V.

Post by Lafayette » Tue Feb 13, 2018 7:54 pm

Post by Lafayette » Mon Feb 12, 2018 9:21 am

I want to use to adjust the spindle speed
JP6 IO26 Gen Purpose PWM0 out
I want to use to turn the spindle on and off.
JP6 IO27 Gen Purpose LVTTL I/O 3.3V

Lafayette
Posts: 11
Joined: Thu Feb 08, 2018 3:42 pm

Re: Help! PWM 0-10V.

Post by Lafayette » Tue Feb 13, 2018 7:56 pm

Lafayette wrote:
Tue Feb 13, 2018 7:54 pm
Post by Lafayette » Mon Feb 12, 2018 9:21 am

I want to use to adjust the spindle speed
JP6 IO26 Gen Purpose PWM0 out
I want to use to turn the spindle on and off.
JP6 IO27 Gen Purpose LVTTL I/O 3.3V
I'm sorry, I was a little mistaken.

Lafayette
Posts: 11
Joined: Thu Feb 08, 2018 3:42 pm

Re: Help! PWM 0-10V.

Post by Lafayette » Tue Feb 13, 2018 7:59 pm

I will connect the optopar to the flap, and from it I will connect to the servo amplifier at the input of the work permit(S-ON).

Lafayette
Posts: 11
Joined: Thu Feb 08, 2018 3:42 pm

Re: Help! PWM 0-10V.

Post by Lafayette » Tue Feb 13, 2018 8:00 pm

Pin 26 is connected to the converter that led you higher, it will be controlled by the speed 0-10V.

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: Help! PWM 0-10V.

Post by TomKerekes » Wed Feb 14, 2018 6:59 pm

Sorry I don't understand. Do you have a friend who can communicate better in English?

Please respond to our previous questions and provide the requested information.
Regards,

Tom Kerekes
Dynomotion, Inc.

CoraDias
Posts: 1
Joined: Mon Apr 23, 2018 5:35 pm

Re: Help! PWM 0-10V.

Post by CoraDias » Mon Apr 23, 2018 5:39 pm

Hi...If you have a 12V power supply, you don't need rail to rail. An LM 358 or similar works fine if your filter has a fairly low cutoff. Using 16 bit PWM you can easily get the needed resolution. Here's what I've used. PWM freq is 1KHz. 5V input . The pot is to dial in 10V as the top end.

pcb assembly house
Last edited by CoraDias on Thu May 31, 2018 9:53 pm, edited 1 time in total.

Grod45
Posts: 1
Joined: Wed May 09, 2018 11:44 am

Re: Help! PWM 0-10V.

Post by Grod45 » Thu May 10, 2018 9:53 am

Hey Is it possible to control spindle motor speed with 0-10v DAC by sending analog signal to KFLOP board convereted by DAC while interfacing with Raspberry Pi, your suggestions will be helpful

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: Help! PWM 0-10V.

Post by TomKerekes » Thu May 10, 2018 3:01 pm

Hi Grod45,

Sorry I don’t understand your question. KFLOP itself doesn’t have any Analog inputs. Normally you will need a PC running Windows.
Regards,

Tom Kerekes
Dynomotion, Inc.

MichaelMet
Posts: 2
Joined: Tue Jun 19, 2018 9:31 am
Location: Virgin Islands
Contact:

Help PWM 0 10V

Post by MichaelMet » Mon Jun 25, 2018 5:38 am

Will do, I'll see if I can take some pictures as-well.

All I really need is a simple PWM driver, but I can't seem to get the code correct.

Just the pot that sets the duty cycle of a 16khz signal and that output to the fan, no feedback required....

Much simpler than the example here..is there a HEX file for that around?

-Nhilar

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: Help! PWM 0-10V.

Post by TomKerekes » Tue Jun 26, 2018 6:05 pm

Hi Nhilar,

Sorry I don't understand the issue.

You might look at the PWM1KHz.c example for a simple example to set a PWM value.
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply