ECE-370: Full H-Bridge

From Lofaro Lab Wiki
Jump to: navigation, search

Due: 2019-02-18

Using 4x of the FETs provided in the kit make a full H-Bridge for one of the motors. Change the PWM duty cycle and direction via the serial terminal. Note the image below shows the location of the Gait, Source, and Drain

FET.jpg

Todo:

  • Make a program that can command 0-100% PWM duty cycle as well as direction. Using the command prompt run the following PWM duty cycles: 25%, 50%, and 75% in both directions. (you may use pwm() or analogOutput())
  • Make a video of the motor running at each of the above duty cycles (provide youtube link).
  • Determine the PWM Frequency, ensure it is above 500hz.
  • Show image of oscilloscope showing the different PWM duty cycles and PWM frequency.
  • Provide a SHORT wright up of what you did
  • Show a picture of your test setup
  • Provide a schematic of your test setup
  • Include your Psudo Code example of what you did
  • Include a copy of your source code (in a separate file)