VelTek shield motor step

From Training Technology Lab Wiki
Revision as of 14:01, 9 May 2019 by Andb (talk | contribs) (→‎Setup)
Jump to navigation Jump to search

Required hardware components

To complete this exercise you need for following:

Arduino
VelTek shield
DC motor w. encoder
12V AC/DC adaptor
USB A to B cable
Motor cable
Small flat-head screw driver
Optional: cheap USB hub

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

  1. Connect VelTek shield to Arduino
  2. 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)
  3. 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.
  4. Connect blue wire to Arduino GND, and yellow wire to Arduino 5V
  5. Connect violet wire to Arduino pin

Hardware description

Software description