Preliminary Research and Development 4

Deliverables:

As seen in Lab 4 AEV Energy Figure 1, the data shows, when and how much power each command coded into the arduino used. For instance, the beginning shows the AEV gradually increasing its power until at roughly 3 seconds the AEV decreased the amount of power it used and stayed at a constant speed for roughly 2 seconds. Lab 4 AEV Energy Figure 2 shows how much power was used at a distance it traveled. It is difficult to read what the code for the AEV was using this figure due to the AEV being too heavy to actually move during the trail. See photo gallery for the graphs.

 

Lab 4 AEV Energy Figure 1 shows where the arduino moves on to the next command code at a given time and how much power it uses when running the command.

Lab 4 AEV Energy Figure 1 shows how far the AEV went with its given power, however during the test, the AEV was too heavy to travel any distance.

Code Used n Lab:

//Accelerate all motors from start to 25% for 3 seconds.

celerate(4,0,25,3);

 

//Run all motors at 25% for 1 second.

motorSpeed(4,25);

goFor(1);

 

//Run all motors at 20% for 3 seconds.

motorSpeed(4,20);

goFor(3);

 

//Reverse all motors.

reverse(4);

 

//Run all motors at 25% for 2 seconds.

motorSpeed(4,25);

goFor(2);

 

//Brake all motors.

brake(4);