1. Draw the scale from 0° to 180° in steps of 10° numbering every 30° of a semi circle (like a protractor), on a piece of cardboard. You can source for yourself a piece of white paper board or brown cardboard e.g. by cutting from packaging.. Some examples of can be found in Fig. 5. [6 Marks] 2. Build a potentiometer circuit on your breadboard following the schematic shown in Fig. 4 and connect the wiper pin to one of the Analog pins of Arduino. [10 Marks] 3. Use the analog values from the potentiometer, appropriately rescaled (using map() function) to define the PWM output values (rotation angles) to the servo motor. You can include and use the servo motor library . By turning the knob of the potentiometer, produce different PWM output values to achieve different shaft angles covering from 0° to 180°. [14 Marks] 4. Use the servo.read() function to obtain the current angle of the servo and show it in the Serial Monitor. Compare the measured angle with the angle readings from your meter dial. Complete Table 1. [10 Marks]

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

I know you need the components to work this out but can you help me in anyway question on the image 

1. Draw the scale from 0° to 180° in steps of 10° numbering every 30° of a semi-
circle (like a protractor), on a piece of cardboard. You can source for yourself a
piece of white paper board or brown cardboard e.g. by cutting from packaging.
Some examples of can be found in Fig. 5. [6 Marks]
2. Build a potentiometer circuit on your breadboard following the schematic shown
in Fig. 4 and connect the wiper pin to one of the Analog pins of Arduino. [10
Marks]
3. Use the analog values from the potentiometer, appropriately rescaled (using
map() function) to define the PWM output values (rotation angles) to the servo
motor. You can include and use the servo motor library <Servo.h>. By turning
the knob of the potentiometer, produce different PWM output values to achieve
different shaft angles covering from 0° to 180°. [14 Marks]
4. Use the servo.read() function to obtain the current angle of the servo and show
it in the Serial Monitor. Compare the measured angle with the angle readings
from your meter dial. Complete Table 1. [10 Marks]
ANALOG PIN
5V
A
10K POT
Fig. 4. Circuit diagram for exercise A.2.
Transcribed Image Text:1. Draw the scale from 0° to 180° in steps of 10° numbering every 30° of a semi- circle (like a protractor), on a piece of cardboard. You can source for yourself a piece of white paper board or brown cardboard e.g. by cutting from packaging. Some examples of can be found in Fig. 5. [6 Marks] 2. Build a potentiometer circuit on your breadboard following the schematic shown in Fig. 4 and connect the wiper pin to one of the Analog pins of Arduino. [10 Marks] 3. Use the analog values from the potentiometer, appropriately rescaled (using map() function) to define the PWM output values (rotation angles) to the servo motor. You can include and use the servo motor library <Servo.h>. By turning the knob of the potentiometer, produce different PWM output values to achieve different shaft angles covering from 0° to 180°. [14 Marks] 4. Use the servo.read() function to obtain the current angle of the servo and show it in the Serial Monitor. Compare the measured angle with the angle readings from your meter dial. Complete Table 1. [10 Marks] ANALOG PIN 5V A 10K POT Fig. 4. Circuit diagram for exercise A.2.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY