Help! PWM 0-10V.
Moderators: TomKerekes, dynomotion
Re: Help! PWM 0-10V.
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 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
Re: Help! PWM 0-10V.
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).
Re: Help! PWM 0-10V.
Pin 26 is connected to the converter that led you higher, it will be controlled by the speed 0-10V.
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: Help! PWM 0-10V.
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.
Please respond to our previous questions and provide the requested information.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Help! PWM 0-10V.
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
pcb assembly house
Last edited by CoraDias on Thu May 31, 2018 9:53 pm, edited 1 time in total.
Re: Help! PWM 0-10V.
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
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: Help! PWM 0-10V.
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.
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.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 2
- Joined: Tue Jun 19, 2018 9:31 am
- Location: Virgin Islands
- Contact:
Help PWM 0 10V
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
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
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: Help! PWM 0-10V.
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.
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.
Tom Kerekes
Dynomotion, Inc.