Project 5: Motor Control

From UCLA IEEE OPS
Jump to: navigation, search

Project 5: Motor Control

Hopefully you took the time to do the mini-project, as this is almost identical. We will be implementing a practical application of the ADC to PWM system as well as introducing the H-Bridge. The H-Bridge is a fundamental motor control circuit.

Purpose

To teach you the functions of ADC and PWM and controlling DC motors with an H-Bridge.

Parts for the Project

For this project, you will be using your PSoC, potentiometer, L293D IC, and 5V brushless fan. PSoC
One Analog pin
One Digital Output pin
One DeltaSigma ADC
One PWM Block
One Clock

External
One L293D Quadruple H Half Driver (datasheet)
One 5V Fan One 10K Potentiometer

Implementation

Refer to the mini project for the PSoC configuration.

For connecting the h-bridge, we encourage you to read the datasheet and identify which pins you need to use. However, if you are having trouble, refer to this diagram. The red text denotes what connections you should be making and blue strikes are unconnected pins.
L293D Connections