Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Subject: Microprocessor chip: PIC 18F 4510 Language: ASSEMBLY or C language 1. Servomotor controller (a) (10%) Set up a system that uses adjustable resistor to

Subject: Microprocessor

chip: PIC 18F 4510

Language: ASSEMBLY or C language

image text in transcribed

1. Servomotor controller (a) (10%) Set up a system that uses adjustable resistor to control the direction of servomotor. (b) (15%) Change the degree of servomotors direction from -90 to +90. Note: Do not set -90 and +90 only. You should deal with each degree, which means you should set the degree of servomotor according to the ratio of output of adjustable resistor to high potential. 2. Please implement a UART by using the keyboard to control Questionl's servomotor: (a) (5%) The CLI can show what you type. (b) (10%) Design a motor mode. Type "motor to enter this mode. In the motor mode, computer should show the value of servomotor's degree. Pressing e will allow you to exit this mode (C) (10%) Design a degree mode. Type degree to enter this mode. In the degree mode, we change the degree of servomoter through UART ranged from -90 to +90. For example, type 90 and press enter, the servomotor will turn to 90 degree. Pressing e will allow you to exit this mode

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions