Difference between revisions of "VelTek shield motor step"
Jump to navigation
Jump to search
(→Setup) |
(→Setup) |
||
Line 27: | Line 27: | ||
= Setup = | = Setup = | ||
− | # | + | # Mount VelTek shield on top of Arduino. Take care that all pins mate correctly to their sockets before pressing together. |
# Connect motor cable to DC motor. The little white plug can only go in one way. When inserted correctly, the orange wire is towards the edge of the circuitboard. (See picture) | # Connect motor cable to DC motor. The little white plug can only go in one way. When inserted correctly, the orange wire is towards the edge of the circuitboard. (See picture) | ||
# Use screwdriver to connect red and black wire from motor cable to the green terminal on VelTek shield. The red and black wire is for motor voltage that drives the DC motor. | # Use screwdriver to connect red and black wire from motor cable to the green terminal on VelTek shield. The red and black wire is for motor voltage that drives the DC motor. |
Revision as of 17:26, 9 May 2019
Contents
Required hardware components
To complete this exercise you need for following:
Required software
- A serial terminal program with logging capabilities. Putty is available on Windows/Linux/Mac and is recommended
- Math program capable of importing numbers from a text file. Matlab or Octave is recommended, but Excel can also be used.
Setup
- Mount VelTek shield on top of Arduino. Take care that all pins mate correctly to their sockets before pressing together.
- Connect motor cable to DC motor. The little white plug can only go in one way. When inserted correctly, the orange wire is towards the edge of the circuitboard. (See picture)
- Use screwdriver to connect red and black wire from motor cable to the green terminal on VelTek shield. The red and black wire is for motor voltage that drives the DC motor.
- Connect blue wire to Arduino GND, and yellow wire to Arduino 5V. These wires power the encoder circuit on the back of the motor.
- Connect violet wire to Arduino pin 3 and orange wire to pin 2. These wires carry the output signals from the encoder on the motor.
- Plug the AC/DC adaptor into a 230V wall socket and then insert 12V plug from adaptor into the Arduino.
- Optional but strongly reccomended: Connect Arduino board to USB hub.
- Connect Arduino or USB hub with Arduino to your computer.