Lab10-Prelab
docx
keyboard_arrow_up
School
Iowa State University *
*We aren’t endorsed by this school
Course
288
Subject
Mechanical Engineering
Date
Apr 3, 2024
Type
docx
Pages
3
Uploaded by MinisterGorillaMaster358
Embedded Systems International
Lab 10 Prelab
Name
: Lab Partner Name (if you worked together and are submitting the same document or mostly the same
answers):
Lab Section
: 3C
Submit your prelab document as a PDF file in Canvas under the corresponding prelab assignment. Every student submits their own prelab. Lab partners are allowed to work on the prelab together and submit the same document (if there is actual collaboration on the document). For full credit, the prelab must be submitted prior to the start of lab. Text responses should be typed or printed neatly.
1.
System sketch
Similar to system sketches in previous labs, sketch a
diagram that shows how the servo motor connects
to the microcontroller. Refer to the file Cybot-
Baseboard-LCD-Schematic.pdf, as needed. In the
photo of the CyBot baseboard, shown at right, the
jumper wires are connected to the sensors and
servo motor. Your diagram should show the port and the pin (or bit) number of the port that the servo is connected to. Give the port name and pin number used in the microcontroller (e.g, Port A pin 0, PA0).
CPRE 288, ELECTRICAL
AND
COMPUTER
ENGINEERING
DEPARTMENT
, IOWA
STATE
UNIVERSITY
1
GPTM TIMER 1B
CCP
GPIO
PBS
Servo Motor
2.
How do you know that the pin the servo is connected to (question 1) corresponds to Timer 1B in the microcontroller? Be specific in your explanation.
GPIO PB5 pin 57 PB5 57 AIN11 - SSI2FSS - M0PWM3 - - T1CCP1 CAN0TX
3.
Write two or three lines of code to configure the GPIOAFSEL and GPIOPCTL registers to select the Timer 1B (T1CCP1) peripheral signal as an alternate function for the GPIO pin it is connected to.
GPIO_PORTB_AFSEL_R | = 0x20;
GPIO_PORTB_PCTL_R = 0b000111;
4.
Refer to the GPTM Timer register list, such as in GPIO-GPTM-registers-tables.pdf. a.
Which GPTM register enables PWM mode?
GPTM Timer B Mode (GPTMTBMR);
b.
What is the memory address of this memory-mapped I/O register?
0x4003.1008
c.
Sketch the register as shown in the datasheet description. Circle the bit or bit fields that must be set up for this lab.
2
5.
Suppose you are outputting a PWM signal having a period of 20 milliseconds. Using a 16 MHz system
clock, how many clock periods (or timer steps) are needed for the period? State your result in both decimal and hex.
320,000 for the decimal value and 0x4E200 for the hex
3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Documents
Related Questions
Help can only be sought via private Ed Discussion posts or instructor office hours.
- In all coding, use only functions covered in class. It will be considered a violation of the Academic Integrity Policy if you use
any build-in functions or operators of Matlab that calculate the inverse of a matrix, interpolations, spline, diff, integration, ode,
fft, pdes, etc.;
- You may reuse functions you yourself developed throughout this semester in this class or from solutions posted on Canvas for
this class.
Problem Description (CCOs #1, 2, 3, 4, 5, 6, 7, 8, 11, 12)
A water tank of radius R = 1.8m with two outlet pipes of radius r₁ = 0.05m and r2 installed at heights h₁ = 0.13m
and h₂ = 1m, is mounted in an elevator moving up and down causing a time dependent acceleration g(t) that must be
modeled as
g(t) = go+a1 cos(2π f₁t) + b₁ sin(2π f₁t) + a2 cos(2π f₂t) + b₂ sin(2π f₂t),
(1)
Figure 1: Water tank inside an elevator
The height of water h(t) in the tank can be modeled by the following ODE,…
arrow_forward
Mech. Engg. Dept.
4th year 2022-2023
Solar Energy
Spring course MEC364
Dr. Mahmoud U. Jasim
Review/Recap Sheet
Q1- Answer with true or false and rewrite the false statements completely in
correct form, otherwise no mark will be put on the false statements.
1
2
To represent a location on earth surface you need to define its altitude and longitude
angles.
3
Solar zenith and solar incidence angles have the same value for horizontal surface.
At sunset time the value of solar altitude angle is maximum.
4
The angle which represents the inclination of a given surface is the zenith angle
5
6
7
8
When the absolute value of sun-wall azimuth angle exceeds 90' this means that the sun
rays are reaching the receiving plane.
The solar irradiance and the solar irradiation have the same physical meaning.
In the case of clear sky weather, the beam solar irradiation on a horizontal surface is less
than the diffused irradiation.
The total solar radiation received by a tilted surface is the same as that…
arrow_forward
This is an engineering problem and not a writing assignment. Please Do Not Reject. I had other engineering tutors on bartleby help me with problems similar to this one.
This problem must be presented in a logical order showing the necessary steps used to arrive at an answer. Each homework problem should have the following items unless otherwise stated in the problem:
a. Known: State briefly what is known about the problem.
b. Schematic: Draw a schematic of the physical system or control volume.
c. Assumptions: List all necessary assumptions used to complete the problem.
d. Properties: Identify the source of property values not given to you in the problem. Most sources will be from a table in the textbook (i.e. Table A-4).
e. Find: State what must be found.
f. Analysis: Start your analysis with any necessary equations. Develop your analysis as completely as possible before inserting values and performing the calculations. Draw a box around your answers and include units and follow an…
arrow_forward
Put together a short presentation (pitch) for a mechanical engineering student, emphasizing his period of the course (10th) and his most significant achievements such as his change from the naval to mechanical course, the learning of programming languages focused on data analysis (Python and SQL), since the engineering course does not explore these skills, and the improvement of Excel with the VBA language.
arrow_forward
Astronomy Question:
Read the questions slowly and answer with precise and long details about each of the questions. Answer correctly and follow my guidelines for a long and wonderful review after results. Your target/main observable galaxy is the whirlpool galaxy. Target: Whirlpool Galaxy Object Type: Galaxy Distance: 37 million light-years Constellation: Canes Venatici. DO NOT COPY AND PASTE OTHER WORK OR THINGS FROM THE INTERNET, use your own words.Provide refernces if used
In 500 words, please explain the relevance of this object to the physics course material in university andits importance to astronomy. (Some question you may seek to answer are: What beyond the objectitself is learned by studying this class of objects? What sorts of telescopes and observations would beneeded for more detailed, broader reaching studies of this source and objects of its nature?)
arrow_forward
Please make the charts for the questions. Please refer to Successful Project Management (7th Edition). Attached is the example
Thank you.
arrow_forward
You are assigned as the head of the engineering team to work on selecting the right-sized blower that will go on your new line of hybrid vehicles.The fan circulates the warm air on the inside of the windshield to stop condensation of water vapor and allow for maximum visibility during wintertime (see images). You have been provided with some info. and are asked to pick from the bottom table, the right model number(s) that will satisfy the requirement. Your car is equipped with a fan blower setting that allow you to choose between speeds 0, 1,2 and 3. Variation of the convection heat transfer coefficient is dependent upon multiple factors, including the size and the blower configuration.You can only use the following parameters:
arrow_forward
Help me solve this ENGINEERING GRAPHICS question
Use 0.25 cartesian paper or 0.25 Isometric paper please.
arrow_forward
Create a reading outline for the given text "STRESS and STRAIN".
arrow_forward
Help!!! Answer all parts correctly!! Please
arrow_forward
You are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture
fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates
implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial
weight bearing activities.
Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to
verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into
solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending
test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the
yield stress for the Ti-6Al-4V…
arrow_forward
I need parts 8, 9, and 10 answered. Number 1 is an example of how it should be answered.
NOTE: Read the instructions, no where does it say any drawing is required. It is really frustrating when I wait all this time for an answer to a question and some tutor does even read the instructions and just declines it...its ridicilous.
arrow_forward
I need parts 1, 2, and 3 answered pertaining to the print provided.
NOTE: If you refuse to answers all 3 parts and insist on wasting my question, then just leave it for someone else to answer. I've never had an issue until recently one single tutor just refuses to even read the instructions of the question and just denies it for a false reasons or drags on 1 part into multiple parts for no reason.
arrow_forward
Solve correctly
arrow_forward
Please answer the 4th question
arrow_forward
LESSON: AUTODESK AUTOCAD
Choose from the choices:
arrow_forward
Identify the lines
arrow_forward
Cathy Gwynn for a class project is analyzing a "Quick Shop" grocery store. The store emphasizes quick service, a limited assortment of grocery items, and higher prices. Cathy wants to see if the store hours (currently 0600 to 0100) can be changed to make the store more profitable.
Time Period
Daily Sales in the Time Period
0600-0700
$40
0700-0800
70
0800-0900
120
0900-1200
400
1200-1500
450
1500-1800
500
1800-2000
600
2000-2200
200
2200-2300
50
2300-2400
85
2400-0100
40
The cost ofthe groceries sold averages 65% of sales. The incremental cost to keep the store open, including the clerk's wage and other operating costs, is S23 per hour. To maximize profit, when should the store be opened, and when should it be closed?
arrow_forward
operations research - pert cpm
arrow_forward
all one question help asap please!
arrow_forward
I Blackboard @ Texas Tech Uni x
Bb MasteringEngineering - Spri x
E MasteringEngineering Maste X
C Suppose That H = 3.8 M . (Fi x
X Mathway | Calculus Problem x
y! how to take a full page scree
A session.masteringengineering.com/myct/itemView?assignmentProblemID=12360392&offset=next
ABP O
Tp E
G
KAssignment #3
Fundamental Problem 2.29
5 of 6
>
I Review
Part A
Find the magnitude of the projected component of the force along the pipe AO.
(Figure 1)
Express your answer to three significant figures and include the appropriate units.
µA
FAO =
Value
Units
Submit
Request Answer
Figure
4 m
F = 400 N
6 m
5 m
B
4 m
10:31 PM
O Type here to search
2/7/2021
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
Related Questions
- Help can only be sought via private Ed Discussion posts or instructor office hours. - In all coding, use only functions covered in class. It will be considered a violation of the Academic Integrity Policy if you use any build-in functions or operators of Matlab that calculate the inverse of a matrix, interpolations, spline, diff, integration, ode, fft, pdes, etc.; - You may reuse functions you yourself developed throughout this semester in this class or from solutions posted on Canvas for this class. Problem Description (CCOs #1, 2, 3, 4, 5, 6, 7, 8, 11, 12) A water tank of radius R = 1.8m with two outlet pipes of radius r₁ = 0.05m and r2 installed at heights h₁ = 0.13m and h₂ = 1m, is mounted in an elevator moving up and down causing a time dependent acceleration g(t) that must be modeled as g(t) = go+a1 cos(2π f₁t) + b₁ sin(2π f₁t) + a2 cos(2π f₂t) + b₂ sin(2π f₂t), (1) Figure 1: Water tank inside an elevator The height of water h(t) in the tank can be modeled by the following ODE,…arrow_forwardMech. Engg. Dept. 4th year 2022-2023 Solar Energy Spring course MEC364 Dr. Mahmoud U. Jasim Review/Recap Sheet Q1- Answer with true or false and rewrite the false statements completely in correct form, otherwise no mark will be put on the false statements. 1 2 To represent a location on earth surface you need to define its altitude and longitude angles. 3 Solar zenith and solar incidence angles have the same value for horizontal surface. At sunset time the value of solar altitude angle is maximum. 4 The angle which represents the inclination of a given surface is the zenith angle 5 6 7 8 When the absolute value of sun-wall azimuth angle exceeds 90' this means that the sun rays are reaching the receiving plane. The solar irradiance and the solar irradiation have the same physical meaning. In the case of clear sky weather, the beam solar irradiation on a horizontal surface is less than the diffused irradiation. The total solar radiation received by a tilted surface is the same as that…arrow_forwardThis is an engineering problem and not a writing assignment. Please Do Not Reject. I had other engineering tutors on bartleby help me with problems similar to this one. This problem must be presented in a logical order showing the necessary steps used to arrive at an answer. Each homework problem should have the following items unless otherwise stated in the problem: a. Known: State briefly what is known about the problem. b. Schematic: Draw a schematic of the physical system or control volume. c. Assumptions: List all necessary assumptions used to complete the problem. d. Properties: Identify the source of property values not given to you in the problem. Most sources will be from a table in the textbook (i.e. Table A-4). e. Find: State what must be found. f. Analysis: Start your analysis with any necessary equations. Develop your analysis as completely as possible before inserting values and performing the calculations. Draw a box around your answers and include units and follow an…arrow_forward
- Put together a short presentation (pitch) for a mechanical engineering student, emphasizing his period of the course (10th) and his most significant achievements such as his change from the naval to mechanical course, the learning of programming languages focused on data analysis (Python and SQL), since the engineering course does not explore these skills, and the improvement of Excel with the VBA language.arrow_forwardAstronomy Question: Read the questions slowly and answer with precise and long details about each of the questions. Answer correctly and follow my guidelines for a long and wonderful review after results. Your target/main observable galaxy is the whirlpool galaxy. Target: Whirlpool Galaxy Object Type: Galaxy Distance: 37 million light-years Constellation: Canes Venatici. DO NOT COPY AND PASTE OTHER WORK OR THINGS FROM THE INTERNET, use your own words.Provide refernces if used In 500 words, please explain the relevance of this object to the physics course material in university andits importance to astronomy. (Some question you may seek to answer are: What beyond the objectitself is learned by studying this class of objects? What sorts of telescopes and observations would beneeded for more detailed, broader reaching studies of this source and objects of its nature?)arrow_forwardPlease make the charts for the questions. Please refer to Successful Project Management (7th Edition). Attached is the example Thank you.arrow_forward
- You are assigned as the head of the engineering team to work on selecting the right-sized blower that will go on your new line of hybrid vehicles.The fan circulates the warm air on the inside of the windshield to stop condensation of water vapor and allow for maximum visibility during wintertime (see images). You have been provided with some info. and are asked to pick from the bottom table, the right model number(s) that will satisfy the requirement. Your car is equipped with a fan blower setting that allow you to choose between speeds 0, 1,2 and 3. Variation of the convection heat transfer coefficient is dependent upon multiple factors, including the size and the blower configuration.You can only use the following parameters:arrow_forwardHelp me solve this ENGINEERING GRAPHICS question Use 0.25 cartesian paper or 0.25 Isometric paper please.arrow_forwardCreate a reading outline for the given text "STRESS and STRAIN".arrow_forward
- Help!!! Answer all parts correctly!! Pleasearrow_forwardYou are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial weight bearing activities. Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the yield stress for the Ti-6Al-4V…arrow_forwardI need parts 8, 9, and 10 answered. Number 1 is an example of how it should be answered. NOTE: Read the instructions, no where does it say any drawing is required. It is really frustrating when I wait all this time for an answer to a question and some tutor does even read the instructions and just declines it...its ridicilous.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY

Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY