AME 3623: Project 2-3

At the end of this project, you should be able to:

Component 1: Microcontroller Circuit

The current amplifier board is composed of two full H-Bridge circuits. We will be using one full H-Bridge to control the lift fan (allowing us to control rotation speed and direction). We will split the other H-Bridge into two "Half Bridges": one for each of the left and right fans. This will allow us to control speed of these two fans, but not direction.

The detailed documentation for the motor control board can be found on the Pololu Web site.

The diagrams for the power wiring harness and the amplifier board are shown below.

Add wires to connect the motor control board to the fans and to the batteries:

Connect the current amplifier board to your Atmel chip (the 15 pin connector on the left side of the board in the picture below):

Power Wiring Harness

Power Amplifier Board

Component 2

Create the function interface that will generate the PWM signals for each of the three PWM inputs to the motor control board.

Define a new variable type in a new file called "project.h"

typedef enum {
   BRAKE,
   HOVER
} LiftMotorDirection;


LiftMotorDirection is the new variable type. BRAKE and HOVER are the two values that LiftMotorDirection variables can take on. Remember to include "project.h" in your C file.

Implement the following functions:

Note:

Component 3

Implement the following in your main() function:

Within your main while(1) loop:


What to Hand In

All components of the project are due by Thursday, February 19th at 8:00 am.

Grading

Personal programming credit: Group grade distribution:

Group Grading Rubric

Grades for individuals will be based on the group grade, but weighted by the assessed contributions of the group members to the non-personal programming items.


andrewhfagg -- gmail.com

Last modified: Thu Mar 26 00:54:36 2015