Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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 period

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions

Question

Shift of HR policy-making from local to central level.

Answered: 1 week ago

Question

What is electric dipole explain with example

Answered: 1 week ago

Question

What is polarization? Describe it with examples.

Answered: 1 week ago