Template:UgDCMotor: Difference between revisions

From Phidgets Support
(Created page with "===DC Motor=== 400px|right|link= When you double click on an DC Motor object, a window like the one pictured will open. * At the top of the w...")
 
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
===DC Motor===
===DC Motor===
Double-click on the DC Motor object, labelled ''{{{2}}}'', in order to run the example:
[[Image:{{{1}}}_DCMotor_Example.jpg|center|link=]]


[[Image:DCMotor_Example.jpg|400px|right|link=]]


When you double click on an DC Motor object, a window like the one pictured will open.
{{UGExampleDescription}}


* At the top of the window, information about your device and the properties of this particular channel will be listed.
*Toggle the ''BackEMF Sensing'' checkbox to enable/disable back-EMF sensing on the {{{1}}}.
* In the middle, the present duty cycle (from 0.0 to 1.0, where 0.0 is "no power" and 1.0 is "full power") and the back EMF in volts is displayed.
*Drag the ''Target Velocity'' slider from -1 (full reverse) to 1 (full forward) to make the motor move.
* At the bottom, the duty cycle can be set from -100% (full reverse) to 100% (full forward), and the acceleration limit can be adjusted for a faster ramp-up to the desired duty cycle. A checkbox here switches on back EMF sensing, which will cause the number above to update in real time. For more information about back EMF, see the [[#Technical_Details|technical section]].
*Manipulate the ''Acceleration'' slider to increase/decrease the amount of time it takes the DC Motor to reach a target velocity.
<br clear="all">
<br clear="all">

Latest revision as of 20:19, 15 August 2017

DC Motor

Double-click on the DC Motor object, labelled {{{2}}}, in order to run the example: [[Image:{{{1}}}_DCMotor_Example.jpg|center|link=]]


General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:

  • Toggle the BackEMF Sensing checkbox to enable/disable back-EMF sensing on the {{{1}}}.
  • Drag the Target Velocity slider from -1 (full reverse) to 1 (full forward) to make the motor move.
  • Manipulate the Acceleration slider to increase/decrease the amount of time it takes the DC Motor to reach a target velocity.