Note: This revision of the 1065 comes with a built-in heatsink for the driver chip to prevent it from overheating.

The 1065 lets you control the direction, velocity and acceleration of one DC Motor. The motor is powered by an external power supply (9 to 28VDC).

Brushed DC Motors are very simple to understand, but very difficult to control precisely. By applying a voltage, or pulsing a voltage rapidly, at the terminals of the motor, current flows through the motor, and it will begin rotating. Depending on the direction of the current, the motor will rotate clockwise or counterclockwise. The 1065 changes the effective voltage by changing the percentage of time the full supply voltage is applied to the motor. By switching the voltage very quickly (a technique called PWM), the controller is made smaller, more efficient, and cheaper.

Rough control of actual motor speed can be achieved automatically in software by using the Back EMF property, or current sensing.

Precise control of DC motors can be achieved by using encoders. You can implement control loops through software by using the data provided by the on-board digital inputs, analog inputs and encoder input. There is an event that triggers every 16 ms that returns the back-EMF value for the attached motor, which can be very useful for PID control. For more information, see the API in the User Guide.

The 1065 also provides over-current, over-voltage, and over-temperature protection to insure that the board and motor is not damaged.

Comes Packaged with

Hardware

  • Hardware mounting kit:
  • 4x M3 Bolts (2cm Length)
  • 4x Plastic spacers (5mm Length)
  • 4x M3 Nuts






Product Specifications

Controller Properties
API Object Name MotorControl
Motor Type DC Motor
Number of Motor Ports 1
Velocity Resolution 0.39 % Duty Cycle
Acceleration Resolution 24.5 % Duty Cycle/s
Acceleration Min 24.5 % Duty Cycle/s
Acceleration Max 6250 % Duty Cycle/s
Acceleration Time Min 31.3 ms
Acceleration Time Max 8.2 s
Board Properties
Controlled By USB (Mini-USB)
API Object Name DCMotor
Encoder Interface
Number of Encoder Inputs 1
Count Rate Max 500000 cycles/s
Encoder Interface Resolution x1
Update Rate 125 samples/s
Time Resolution 0.33 ms
Encoder Input Low Voltage Max 800 mV DC
Encoder Input High Voltage Min 2.1 V DC
Encoder Pull-up Resistance 2.4 kΩ
Electrical Properties
Supply Voltage Min 9 V DC
Supply Voltage Max 28 V DC
Continuous Motor Current Max 5 A
Overcurrent Trigger 8 A
Current Consumption Min 20 mA
Current Consumption Max 100 mA
USB Speed Full Speed
Physical Properties
Recommended Wire Size (Power Terminal) 12 - 24 AWG
Operating Temperature Min 0 °C
Operating Temperature Max 70 °C
Voltage Inputs
Number of Voltage Inputs 2
Input Impedance 900 kΩ
5V Reference Error Max 0.5 %
Update Rate 125 samples/s
Digital Inputs
Number of Digital Inputs 2
Pull-up Resistance 15 kΩ
Low Voltage Max (True) 800 mV DC
High Voltage Min (False) 2.1 V DC
Low Voltage Trigger Length Min 4 s
High Voltage Trigger Length Min 16 s
Digital Input Voltage Max ± 15 V DC
Digital Input Update Rate 125 samples/s
Recommended Wire Size 16 - 26 AWG

Documents



Getting Started


Welcome to the 1065 user guide! In order to get started, make sure you have the following hardware on hand:




Next, you will need to connect the pieces:


1065 0 Connecting The Hardware.jpg


  1. Connect the positive wire (usually red) of the motor to the "+" terminal on the side of the Phidget opposite the USB port. Connect the negative wire (usually black) to the "-" terminal next to the red wire.
  2. Connect your device to your computer using the USB cable.
  3. Plug the DC power supply into the barrel jack, or if it doesn't have a jack, connect the loose leads to the "+" and "G" terminals between the barrel jack and USB port.
  4. Ensure that the DC power supply is plugged in.



Now that you have everything together, let's start using the 1065!


Using the 1065


Phidget Control Panel


In order to demonstrate the functionality of the 1065, the Phidget Control Panel running on a Windows machine will be used.



The Phidget Control Panel is available for use on both macOS and Windows machines.


Windows


To open the Phidget Control Panel on Windows, find the Ph.jpg icon in the taskbar. If it is not there, open up the start menu and search for Phidget Control Panel


Windows PhidgetTaskbar.PNG


macOS


To open the Phidget Control Panel on macOS, open Finder and navigate to the Phidget Control Panel in the Applications list. Double click on the Ph.jpg icon to bring up the Phidget Control Panel.



For more information, take a look at the getting started guide for your operating system:




Linux users can follow the getting started with Linux guide and continue reading here for more information about the 1065.


First Look


After plugging the 1065 into your computer and opening the Phidget Control Panel, you will see something like this:


1065 Panel.jpg



The Phidget Control Panel will list all connected Phidgets and associated objects, as well as the following information:


  • Serial number: allows you to differentiate between similar Phidgets.
  • Channel: allows you to differentiate between similar objects on a Phidget.
  • Version number: corresponds to the firmware version your Phidget is running. If your Phidget is listed in red, your firmware is out of date. Update the firmware by double-clicking the entry.



The Phidget Control Panel can also be used to test your device. Double-clicking on an object will open an example.


DC Motor


Double-click on the DC Motor object, labelled DC Motor Controller, in order to run the example:


1065 DCMotor Example.jpg



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 1065.
  • 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.




Encoder


Double-click on the Encoder object, labelled Encoder Input, in order to run the example:


1065 Encoder Example.jpg



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


  • Position Change: the number of ticks (or quadrature cycles) that have occurred since the last change event.
  • Time Change: the amount of time in milliseconds that has elapsed since the last change event.
  • Position: the total position in ticks relative to where the encoder was when the window was opened.
  • Index Position: the position where the index channel was last encountered. Some encoders do not support index, check your encoder's datasheet for more information.
  • Velocity: the average velocity in rotations per second. A CPR must be specified to enable this functionality.
  • Specify a counts per revolution (CPR) value to enable velocity calculation.


Current Input


Double-click on the Current Input object , labelled DC Motor Current Sensor, in order to run the example:


1065 CurrentInput Example.jpg



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


  • Modify the change trigger and/or data interval value by dragging the sliders. For more information on these settings, see the data interval/change trigger page.


Digital Input


Double-click on a Digital Input object in order to run the example:


1065 DigitalInput Example.jpg


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


  • This is an active-low device, therefore, it will be true when connected to ground, and false when connected to a high voltage.


For more information about Digital Inputs, take a look at the Digital Input Primer


Voltage Input (Supply Voltage)


Double-click on the Voltage Input object, lablled Supply Voltage Sensor, in order to run the example:


1065 VoltageInputSupply Example.jpg



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


  • Modify the change trigger and/or data interval value by dragging the sliders. For more information on these settings, see the data interval/change trigger page.


Voltage Input


Double-click on a Voltage Input object in order to run the example:


1065 VoltageInputSensor Example.jpg



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


  • Modify the change trigger and/or data interval value by dragging the sliders. For more information on these settings, see the data interval/change trigger page.
  • If you have an analog sensor connected that you bought from us, you can select it from the Sensor Type drop-down menu. The example will then convert the voltage into a more meaningful value based on your sensor, with units included, and display it beside the Sensor Value label. Converting voltage to a Sensor Value is not specific to this example, it is handled by the Phidget libraries, with functions you have access to when you begin developing!




For more information about Voltage Inputs, check out the Voltage Input Primer.


Voltage Ratio Input


Double-click on a Voltage Ratio Input object in order to run the example:


1065 VoltageRatioSensor Example.jpg



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


  • The voltage ratio is reported in Volts per Volt. For example, if the Phidget is providing 5V and the sensor is sending back 2.5V, the ratio will be 0.5V/V.
  • Modify the change trigger and/or data interval value by dragging the sliders. For more information on these settings, see the data interval/change trigger page.
  • If you have an analog sensor connected that you bought from us, you can select it from the Sensor Type drop-down menu. The example will then convert the voltage into a more meaningful value based on your sensor, with units included, and display it beside the Sensor Value label. Converting voltage to a Sensor Value is not specific to this example, it is handled by the Phidget libraries, with functions you have access to when you begin developing!




For more information about Voltage Ratio Inputs, check out the Voltage Ratio Input Primer.


Finding The Addressing Information


Before you can access the device in your own code, and from our examples, you'll need to take note of the addressing parameters for your Phidget. These will indicate how the Phidget is physically connected to your application. For simplicity, these parameters can be found by clicking the button at the top of the Control Panel example for that Phidget.


The locate Phidget button is found in the device information box


In the Addressing Information window, the section above the line displays information you will need to connect to your Phidget from any application. In particular, note the Channel Class field as this will be the API you will need to use with your Phidget, and the type of example you should use to get started with it. The section below the line provides information about the network the Phidget is connected on if it is attached remotely. Keep track of these parameters moving forward, as you will need them once you start running our examples or your own code.


All the information you need to address your Phidget


Using Your Own Program


You are now ready to start writing your own code for the device. The best way to do that is to start from our examples:


This Phidget is compatible with the following examples:




Once you have your example, you will need to follow the instructions on the page for your programming language to get it running. To find these instructions, select your programming language from the Programming Languages page.


Technical Details


Connections


The ports and terminal blocks on this board are labelled on the underside to save space:


1065 0 Under.jpg


Further Reading


For more information on the analog inputs on the 1065, check the Analog Input Primer.


For more information about encoders, check the Encoder Primer.


For more information about DC motors and how to control them, check the DC Motor and Controller Primer.




1065_1B - PhidgetMotorControl 1-Motor

  • Brands Phidgets
  • Product Code: ES000037
  • Availability: In Stock
  • 95.00€