Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I use Code Composer for this. I am confused on how to start coding for it. Part I - Controlling the DC motor using the
I use Code Composer for this. I am confused on how to start coding for it.
Part I - Controlling the DC motor using the SysTick timer In this part, you will use the SysTick timer to generate the PWM mode to create an analog signal for controlling the speed of the motor. This motor worked best at 30 to 50 Hz. These can be run at 3.3 volts. 1. Use a DC motor and a transistor from your lab kit. 2. Wire up the circuit you prepared in the pre-lab assignment 3. Write a code to control the speed of the motor by changing the duty cycle using SysTick timer 4. Declare the duty cycle as a variable. Using the CCS debugger, change the speed of the motor 5. Demonstrate the working program to the instructor. Questions: How does your program use the SysTick timer to create the desired PWM duty cycle and period? Part I - Controlling the DC motor using the SysTick timer In this part, you will use the SysTick timer to generate the PWM mode to create an analog signal for controlling the speed of the motor. This motor worked best at 30 to 50 Hz. These can be run at 3.3 volts. 1. Use a DC motor and a transistor from your lab kit. 2. Wire up the circuit you prepared in the pre-lab assignment 3. Write a code to control the speed of the motor by changing the duty cycle using SysTick timer 4. Declare the duty cycle as a variable. Using the CCS debugger, change the speed of the motor 5. Demonstrate the working program to the instructor. Questions: How does your program use the SysTick timer to create the desired PWM duty cycle and periodStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started