Template:UgDCMotor: Difference between revisions

From Phidgets Support
No edit summary
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:{{{1}}}_DCMotor_Example.jpg|400px|right|link=]]


When you double click on an DC Motor object, a window like the one pictured will open.
{{UGExampleDescription}}
 
*Toggle the ''BackEMF Sensing'' checkbox to enable/disable back-EMF sensing on the {{{1}}}.
* At the top of the window, information about your device and the properties of this particular channel will be listed.
*Drag the ''Target Velocity'' slider from -1 (full reverse) to 1 (full forward) to make the motor move.
* 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.
*Manipulate the ''Acceleration'' slider to increase/decrease the amount of time it takes the DC Motor to reach a target velocity.
* 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]].
<br clear="all">
<br clear="all">

Revision as of 16:23, 15 June 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.