To whom it may concern:
I use Kflop and KStep and I am trying to get the speed to run correctly with the DC motor driver I purchased.
Please refer to the link below.
http://dynomotion.com/Help/SchematicsKS ... htm#analog
I am using the following DC driver:
https://www.robotics.org.za/motors-dc/LIY-10A32S which uses 0-5V as the speed control.
If I use the C code as described at the bottom of the analog section of the top link, how would I adjust it for the 0-5V input as required by the DC motor controller.
Any assistance will be greatly appreciated.
Thanks.
PWM
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: PWM
Hi GS76,
I don't think you will need to change anything. Both the software and hardware work to apply a fraction of the supplied voltage. So if 10V is applied then the range will be 0-10V. If 5V is applied then the range will be 0-5V. I didn't find a complete specification for that driver but I assume it has a 5V output applied to the potentiometer. The KStep PWM-to-Analog converter may be somewhat less linear over the smaller voltage range.
I don't think you will need to change anything. Both the software and hardware work to apply a fraction of the supplied voltage. So if 10V is applied then the range will be 0-10V. If 5V is applied then the range will be 0-5V. I didn't find a complete specification for that driver but I assume it has a 5V output applied to the potentiometer. The KStep PWM-to-Analog converter may be somewhat less linear over the smaller voltage range.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.