Motor Configuration

 

Figure 1-Comparative Graph of Different Motor Configurations

In this lab multiple motor configuration were tested to find the most efficient distance achieved with a constant Arduino power input of 50% for two seconds.

Trends Found In the Graph

  •  The farthest distance by far was achieved when both motors were reversed.
  • The shortest distance that was achieved was when one of the motors was going forward and one was reversed.
  • The least efficient configuration was when both of the motors where in the forward configuration because the power to distance ratio was the worst.
  • The two trails with the configuration of one motor going forward and the other going reverse seem to be directly scale-able.

Codes For the Four Configurations

2 Motors Forward:

  • celerate(4,0,50,2);
  • motorSpeed(4,50);
  • goFor(2);

2 Motors Reverse:

  • reverse(4);
  • celerate(4,0,50,2);
  • motorSpeed(4,50);
  • goFor(2);

Front Motor Reversed, Back motor Forward:

  • reverse(1)
  • celerate(4,0,50,2);
  • motorSpeed(4,50);
  • goFor(2);

Front Motor Forward, Back Motor Reversed:

  • reverse(2)
  • celerate(4,0,50,2);
  • motorSpeed(4,50);
  • goFor(2);